Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Public Member Functions | |
generic, public | init init_from_json |
Initialization. | |
generic, public | init init_from_components |
Initialization. | |
procedure, pass(this), public | init_from_json (this, neko_case, params) |
Initialization from a JSON file. | |
procedure, pass(this), public | init_from_components (this, neko_case, algorithm, n_saves_memory, filename) |
Initialization from components. | |
procedure, pass(this), public | free (this) |
Free. | |
procedure, pass(this), public | reset (this, neko_case) |
Reset the checkpoint data. | |
procedure, pass(this), public | restore (this, neko_case, tstep) |
Save the current state of the simulation to disk. | |
Public Attributes | |
character(len=256) | filename = "checkpoint" |
The name of the checkpoint file. | |
integer | n_saves_memory = 10 |
Number of checkpoints to keep in memory. | |
integer | n_saves_disc = 0 |
integer | n_timesteps = 0 |
integer | first_valid_timestep = 2 |
integer | loaded_checkpoint = -1 |
type(chkp_output_t) | chkp_output |
type(field_t), dimension(:), allocatable | p_list |
type(field_t), dimension(:), allocatable | u_list |
type(field_t), dimension(:), allocatable | v_list |
type(field_t), dimension(:), allocatable | w_list |
integer | n_scalars = 0 |
type(field_t), dimension(:), allocatable | s_list |
Definition at line 48 of file checkpoint.f90.
procedure, pass(this), public simulation_checkpoint::simulation_checkpoint_t::free | ( | class(simulation_checkpoint_t), intent(inout) | this | ) |
Definition at line 87 of file checkpoint.f90.
generic, public simulation_checkpoint::simulation_checkpoint_t::init |
Definition at line 79 of file checkpoint.f90.
generic, public simulation_checkpoint::simulation_checkpoint_t::init |
Definition at line 79 of file checkpoint.f90.
procedure, pass(this), public simulation_checkpoint::simulation_checkpoint_t::init_from_components | ( | class(simulation_checkpoint_t), intent(inout), target | this, |
class(case_t), intent(inout), target | neko_case, | ||
character(len=*), intent(in), optional | algorithm, | ||
integer, intent(in), optional | n_saves_memory, | ||
character(len=*), intent(in), optional | filename | ||
) |
Definition at line 84 of file checkpoint.f90.
procedure, pass(this), public simulation_checkpoint::simulation_checkpoint_t::init_from_json | ( | class(simulation_checkpoint_t), intent(inout) | this, |
class(case_t), intent(inout), target | neko_case, | ||
type(json_file), intent(inout), target | params | ||
) |
Restore the forward simulation state in a linear fashion Initialization
Definition at line 81 of file checkpoint.f90.
procedure, pass(this), public simulation_checkpoint::simulation_checkpoint_t::reset | ( | class(simulation_checkpoint_t), intent(inout) | this, |
class(case_t), intent(inout) | neko_case | ||
) |
Definition at line 89 of file checkpoint.f90.
procedure, pass(this), public simulation_checkpoint::simulation_checkpoint_t::restore | ( | class(simulation_checkpoint_t), intent(inout) | this, |
class(case_t), intent(inout), target | neko_case, | ||
integer, intent(in) | tstep | ||
) |
Restore the forward simulation state
Definition at line 93 of file checkpoint.f90.
type(chkp_output_t) simulation_checkpoint::simulation_checkpoint_t::chkp_output |
Definition at line 68 of file checkpoint.f90.
character(len=256) simulation_checkpoint::simulation_checkpoint_t::filename = "checkpoint" |
Definition at line 57 of file checkpoint.f90.
integer simulation_checkpoint::simulation_checkpoint_t::first_valid_timestep = 2 |
Definition at line 64 of file checkpoint.f90.
integer simulation_checkpoint::simulation_checkpoint_t::loaded_checkpoint = -1 |
Definition at line 65 of file checkpoint.f90.
integer simulation_checkpoint::simulation_checkpoint_t::n_saves_disc = 0 |
Definition at line 62 of file checkpoint.f90.
integer simulation_checkpoint::simulation_checkpoint_t::n_saves_memory = 10 |
Definition at line 59 of file checkpoint.f90.
integer simulation_checkpoint::simulation_checkpoint_t::n_scalars = 0 |
Definition at line 74 of file checkpoint.f90.
integer simulation_checkpoint::simulation_checkpoint_t::n_timesteps = 0 |
Definition at line 63 of file checkpoint.f90.
type(field_t), dimension(:), allocatable simulation_checkpoint::simulation_checkpoint_t::p_list |
Definition at line 69 of file checkpoint.f90.
type(field_t), dimension(:), allocatable simulation_checkpoint::simulation_checkpoint_t::s_list |
Definition at line 75 of file checkpoint.f90.
type(field_t), dimension(:), allocatable simulation_checkpoint::simulation_checkpoint_t::u_list |
Definition at line 70 of file checkpoint.f90.
type(field_t), dimension(:), allocatable simulation_checkpoint::simulation_checkpoint_t::v_list |
Definition at line 71 of file checkpoint.f90.
type(field_t), dimension(:), allocatable simulation_checkpoint::simulation_checkpoint_t::w_list |
Definition at line 72 of file checkpoint.f90.