PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
Operations related to MPI. More...
Functions/Subroutines | |
integer function, public | start_mpi () |
Start MPI and gather information. More... | |
integer function, public | stop_mpi (grid_eq, grid_eq_B, grid_X, grid_X_B, grid_sol, eq_1, eq_2, X_1, X_2, vac, sol) |
Stop MPI. More... | |
integer function, public | abort_mpi () |
Abort MPI suddenly. More... | |
integer function, public | broadcast_input_opts () |
Broadcasts options (e.g. user-prescribed) that are not passed through the HDF5 output file (i.e. ltest , no_plots , ...). More... | |
subroutine, public | sudden_stop (ierr) |
Suddenly stops the computations, aborting MPI, etc. More... | |
Operations related to MPI.
integer function, public mpi_ops::abort_mpi |
Abort MPI suddenly.
Definition at line 227 of file MPI_ops.f90.
integer function, public mpi_ops::broadcast_input_opts |
Broadcasts options (e.g. user-prescribed) that are not passed through the HDF5 output file (i.e. ltest
, no_plots
, ...).
eq_style
, ...) are not passed over MPI. Every process should call its own reconstruct_pb3d_in() in order to obtain them.Definition at line 247 of file MPI_ops.f90.
integer function, public mpi_ops::start_mpi |
Start MPI and gather information.
Definition at line 22 of file MPI_ops.f90.
integer function, public mpi_ops::stop_mpi | ( | type(grid_type), intent(inout), optional | grid_eq, |
type(grid_type), intent(inout), optional, pointer | grid_eq_B, | ||
type(grid_type), intent(inout), optional | grid_X, | ||
type(grid_type), intent(inout), optional, pointer | grid_X_B, | ||
type(grid_type), intent(inout), optional | grid_sol, | ||
type(eq_1_type), intent(inout), optional | eq_1, | ||
type(eq_2_type), intent(inout), optional | eq_2, | ||
type(x_1_type), intent(inout), optional | X_1, | ||
type(x_2_type), intent(inout), optional | X_2, | ||
type(vac_type), intent(inout), optional | vac, | ||
type(sol_type), intent(inout), optional | sol | ||
) |
Stop MPI.
Also deallocates:
grid_eq
grid_eq_B
grid_X
grid_X_B
grid_sol
eq_1
eq_2
X_1
X_2
sol
[in,out] | grid_eq | equilibrium grid |
[in,out] | grid_eq_b | field-aligned equilibrium grid |
[in,out] | grid_x | perturbation grid |
[in,out] | grid_x_b | field-aligned perturbation grid |
[in,out] | grid_sol | solution grid |
[in,out] | eq_1 | Flux equilibrium variables |
[in,out] | eq_2 | metric equilibrium variables |
[in,out] | x_1 | vectorial perturbation variables |
[in,out] | x_2 | integrated tensorial perturbation variables |
[in,out] | vac | vacuum variables |
[in,out] | sol | solution variables |
Definition at line 81 of file MPI_ops.f90.
subroutine, public mpi_ops::sudden_stop | ( | integer, intent(in) | ierr | ) |
Suddenly stops the computations, aborting MPI, etc.
As a special case, if ierr
= 66, no error message is printed.
Definition at line 483 of file MPI_ops.f90.