main Program

Uses

  • program~~main~~UsesGraph program~main main module~solver solver program~main->module~solver module~convergence convergence program~main->module~convergence module~state state module~solver->module~state module~read read module~solver->module~read module~scheme scheme module~solver->module~scheme module~layout layout module~solver->module~layout module~wall_dist wall_dist module~solver->module~wall_dist mpi mpi module~solver->mpi module~resnorm resnorm module~solver->module~resnorm module~geometry geometry module~solver->module~geometry module~viscosity viscosity module~solver->module~viscosity module~update update module~solver->module~update module~wall wall module~solver->module~wall module~gradients gradients module~solver->module~gradients module~interface1 interface1 module~solver->module~interface1 module~cc CC module~solver->module~cc module~bc bc module~solver->module~bc module~vartypes vartypes module~solver->module~vartypes module~viscous viscous module~solver->module~viscous module~time time module~solver->module~time module~dump_solution dump_solution module~solver->module~dump_solution module~grid grid module~solver->module~grid module~convergence->module~resnorm module~convergence->module~vartypes module~state->module~vartypes module~check_output_control check_output_control module~state->module~check_output_control module~utils utils module~state->module~utils module~read_output read_output module~state->module~read_output module~read->module~vartypes module~scheme->module~vartypes module~ausmup ausmUP module~scheme->module~ausmup module~van_leer van_leer module~scheme->module~van_leer module~scheme->module~utils module~slau slau module~scheme->module~slau module~ausmp ausmP module~scheme->module~ausmp module~ausm ausm module~scheme->module~ausm module~face_interpolant face_interpolant module~scheme->module~face_interpolant module~ldfss0 ldfss0 module~scheme->module~ldfss0 module~layout->mpi module~layout->module~vartypes module~wall_dist->module~vartypes module~wall_dist->module~utils module~resnorm->mpi module~resnorm->module~vartypes module~resnorm->module~utils module~geometry->module~vartypes module~geometry->module~utils module~viscosity->module~wall_dist module~viscosity->module~gradients module~viscosity->module~vartypes module~global_kkl global_kkl module~viscosity->module~global_kkl module~viscosity->module~utils module~copy_bc copy_bc module~viscosity->module~copy_bc module~global_sa global_sa module~viscosity->module~global_sa module~global_sst global_sst module~viscosity->module~global_sst module~update->module~scheme module~update->module~wall_dist module~update->module~viscosity module~update->module~gradients module~update->module~interface1 module~update->module~vartypes module~update->module~viscous module~update->module~time module~update->module~global_kkl module~bc_primitive bc_primitive module~update->module~bc_primitive module~source source module~update->module~source module~update->module~utils module~update->module~global_sa module~plusgs plusgs module~update->module~plusgs module~update->module~global_sst module~boundary_state_reconstruction boundary_state_reconstruction module~update->module~boundary_state_reconstruction module~lusgs lusgs module~update->module~lusgs module~update->module~face_interpolant module~wall->mpi module~wall->module~vartypes module~wall->module~utils module~gradients->module~vartypes module~gradients->module~utils module~interface1->mpi module~interface1->module~vartypes module~mapping mapping module~interface1->module~mapping module~interface1->module~utils module~cc->module~wall_dist module~cc->module~vartypes module~cc->module~utils module~bc->module~vartypes module~bc->module~utils module~read_bc read_bc module~bc->module~read_bc iso_fortran_env iso_fortran_env module~vartypes->iso_fortran_env module~viscous->module~viscosity module~viscous->module~gradients module~viscous->module~vartypes module~viscous->module~global_kkl module~viscous->module~utils module~viscous->module~global_sa module~viscous->module~global_sst module~time->module~read module~time->mpi module~time->module~viscosity module~time->module~vartypes module~time->module~utils module~time->module~face_interpolant module~dump_solution->module~layout module~dump_solution->module~vartypes module~write_output write_output module~dump_solution->module~write_output module~dump_solution->module~utils module~grid->mpi module~grid->module~vartypes module~grid->module~mapping

Main program


Calls

program~~main~~CallsGraph program~main main proc~iterate_one_more_time_step iterate_one_more_time_step program~main->proc~iterate_one_more_time_step proc~finish_run finish_run program~main->proc~finish_run proc~converged converged program~main->proc~converged proc~start_run start_run program~main->proc~start_run mpi_bcast mpi_bcast proc~iterate_one_more_time_step->mpi_bcast proc~checkpoint checkpoint proc~iterate_one_more_time_step->proc~checkpoint debugcall debugcall proc~iterate_one_more_time_step->debugcall proc~find_resnorm find_resnorm proc~iterate_one_more_time_step->proc~find_resnorm proc~get_next_solution get_next_solution proc~iterate_one_more_time_step->proc~get_next_solution proc~destroy_solver destroy_solver proc~finish_run->proc~destroy_solver mpi_finalize mpi_finalize proc~finish_run->mpi_finalize mpi_init mpi_init proc~start_run->mpi_init proc~setup_solver setup_solver proc~start_run->proc~setup_solver proc~destroy_solver->debugcall proc~destroy_time destroy_time proc~destroy_solver->proc~destroy_time proc~setup_solver->proc~checkpoint proc~setup_solver->debugcall proc~initmisc initmisc proc~setup_solver->proc~initmisc mpi_barrier mpi_barrier proc~setup_solver->mpi_barrier proc~setup_geometry setup_geometry proc~setup_solver->proc~setup_geometry proc~setup_time setup_time proc~setup_solver->proc~setup_time proc~setup_gradients setup_gradients proc~setup_solver->proc~setup_gradients proc~setupcc setupCC proc~setup_solver->proc~setupcc proc~setup_state setup_state proc~setup_solver->proc~setup_state proc~setup_scheme setup_scheme proc~setup_solver->proc~setup_scheme proc~find_wall_dist find_wall_dist proc~setup_solver->proc~find_wall_dist proc~setup_wall_dist setup_wall_dist proc~setup_solver->proc~setup_wall_dist proc~write_surfnode write_surfnode proc~setup_solver->proc~write_surfnode proc~read_input_and_controls read_input_and_controls proc~setup_solver->proc~read_input_and_controls proc~setup_interface setup_interface proc~setup_solver->proc~setup_interface proc~setup_bc setup_bc proc~setup_solver->proc~setup_bc proc~setup_resnorm setup_resnorm proc~setup_solver->proc~setup_resnorm proc~setup_viscosity setup_viscosity proc~setup_solver->proc~setup_viscosity proc~get_process_data get_process_data proc~setup_solver->proc~get_process_data proc~setup_update setup_update proc~setup_solver->proc~setup_update proc~read_layout_file read_layout_file proc~setup_solver->proc~read_layout_file proc~setup_grid setup_grid proc~setup_solver->proc~setup_grid proc~checkpoint->debugcall proc~make_dump_dir make_dump_dir proc~checkpoint->proc~make_dump_dir proc~purge_dump_dir purge_dump_dir proc~checkpoint->proc~purge_dump_dir proc~dump_data dump_data proc~checkpoint->proc~dump_data proc~write_resnorm write_resnorm proc~find_resnorm->proc~write_resnorm proc~collect_resnorm_from_all_blocks collect_resnorm_from_all_blocks proc~find_resnorm->proc~collect_resnorm_from_all_blocks proc~assemble_resnom_at_each_process assemble_resnom_at_each_process proc~find_resnorm->proc~assemble_resnom_at_each_process proc~get_absolute_resnorm get_absolute_resnorm proc~find_resnorm->proc~get_absolute_resnorm proc~get_relative_resnorm get_relative_resnorm proc~find_resnorm->proc~get_relative_resnorm proc~update_with_lusgs update_with_lusgs proc~get_next_solution->proc~update_with_lusgs proc~compute_time_step compute_time_step proc~get_next_solution->proc~compute_time_step proc~update_with update_with proc~get_next_solution->proc~update_with proc~update_with_plusgs update_with_plusgs proc~get_next_solution->proc~update_with_plusgs proc~get_total_conservative_residue get_total_conservative_Residue proc~get_next_solution->proc~get_total_conservative_residue

Contents

Source Code


Source Code

program main
  !< Main program
  !-------------------------------------------------
  use solver     ,  only: iterate_one_more_time_step
  use solver     ,  only: control
  use convergence,  only: converged
  use solver, only:  start_run
  use solver, only: finish_run

!--------Start---------!
  call start_run()

  do while ((control%current_iter <= control%max_iters) .and. (.not. converged(control)) .and. (.not. control%Halt))
     call iterate_one_more_time_step()
  end do

  call finish_run()
!--------Stop---------!

end program main