|
Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|

Public Member Functions | |
| procedure, pass(this) | init (this, parameters) |
| Initialize the simulation. | |
| procedure, pass(this) | free (this) |
| Free the simulation. | |
| procedure, pass(this) | run_forward (this) |
| Run the simulation. | |
| procedure, pass(this) | run_backward (this) |
| Run the adjoint simulation. | |
| procedure, pass(this) | reset (this) |
| Reset the simulation. | |
| procedure, pass(this) | set_output_counter (this, idx) |
| Set simulation output counters. | |
| procedure, pass(this) | set_design_iteration (this, iteration) |
| Set the current design iteration. | |
| procedure, pass(this) | write (this, idx) |
| Write current state of the simulation to disk. | |
| procedure, pass(this) | write_forward (this, idx) |
| Write current state of the forward simulation to disk. | |
| procedure, pass(this) | write_adjoint (this, idx) |
| Write current state of the adjoint simulation to disk. | |
Public Attributes | |
| type(case_t), public | neko_case |
| and primal case | |
| type(adjoint_case_t), public | adjoint_case |
| and adjoint case | |
| class(fluid_scheme_incompressible_t), pointer, public | fluid => null() |
| The fluid. | |
| type(scalars_t), pointer, public | scalars => null() |
| The scalar. | |
| class(adjoint_fluid_scheme_t), pointer, public | adjoint_fluid => null() |
| The adjoint fluid. | |
| type(adjoint_scalars_t), pointer, public | adjoint_scalars => null() |
| The adjoint scalar. | |
| type(field_output_t), public | output_forward |
| An output sampler for the forward problem. This should probably be an output controller at some point instead. | |
| type(field_output_t), public | output_adjoint |
| An output sampler for the adjoint problem. This should probably be an output controller at some point instead. | |
| character(len=:), allocatable | forward_field_base_fname |
Base output filename for Neko's own forward field output (neko_casef_out), captured before any design-iteration tag is spliced into it, so that tag can be rebuilt fresh on every reset. | |
| character(len=:), allocatable | adjoint_field_base_fname |
Base output filename for Neko's own adjoint field output (adjoint_casef_out), captured before any design-iteration tag is spliced into it, so that tag can be rebuilt fresh on every reset. | |
| integer | current_design_iteration = 0 |
The current design iteration. Used so that reset can keep Neko's own field output (neko_casef_out / adjoint_casef_out) from overwriting the previous design iteration's output. | |
| logical | unsteady = .false. |
| Whether the simulation is steady or unsteady. | |
| logical | have_scalar = .false. |
| integer | n_timesteps = 0 |
| class(state_recover_t), allocatable | state_recover |
| The state recovery system data. | |
Definition at line 66 of file simulation.f90.
Definition at line 114 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::init | ( | class(simulation_t), intent(inout), target | this, |
| type(json_file), intent(inout) | parameters | ||
| ) |
Definition at line 112 of file simulation.f90.
Definition at line 120 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::run_backward | ( | class(simulation_t), intent(inout) | this | ) |
Definition at line 118 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::run_forward | ( | class(simulation_t), intent(inout) | this | ) |
Definition at line 116 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::set_design_iteration | ( | class(simulation_t), intent(inout) | this, |
| integer, intent(in) | iteration | ||
| ) |
| this | The simulation object. |
| iteration | The current design iteration. |
Definition at line 125 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::set_output_counter | ( | class(simulation_t), intent(inout) | this, |
| integer, intent(in) | idx | ||
| ) |
Definition at line 122 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::write | ( | class(simulation_t), intent(inout) | this, |
| integer, intent(in) | idx | ||
| ) |
Definition at line 128 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::write_adjoint | ( | class(simulation_t), intent(inout) | this, |
| integer, intent(in) | idx | ||
| ) |
Definition at line 132 of file simulation.f90.
| procedure, pass(this) simulation_m::simulation_t::write_forward | ( | class(simulation_t), intent(inout) | this, |
| integer, intent(in) | idx | ||
| ) |
Definition at line 130 of file simulation.f90.
| type(adjoint_case_t), public simulation_m::simulation_t::adjoint_case |
Definition at line 71 of file simulation.f90.
| character(len=:), allocatable simulation_m::simulation_t::adjoint_field_base_fname |
Definition at line 93 of file simulation.f90.
| class(adjoint_fluid_scheme_t), pointer, public simulation_m::simulation_t::adjoint_fluid => null() |
Definition at line 77 of file simulation.f90.
| type(adjoint_scalars_t), pointer, public simulation_m::simulation_t::adjoint_scalars => null() |
Definition at line 79 of file simulation.f90.
| integer simulation_m::simulation_t::current_design_iteration = 0 |
Definition at line 97 of file simulation.f90.
Definition at line 73 of file simulation.f90.
| character(len=:), allocatable simulation_m::simulation_t::forward_field_base_fname |
Definition at line 89 of file simulation.f90.
| logical simulation_m::simulation_t::have_scalar = .false. |
Definition at line 101 of file simulation.f90.
| integer simulation_m::simulation_t::n_timesteps = 0 |
Definition at line 102 of file simulation.f90.
Definition at line 69 of file simulation.f90.
Definition at line 85 of file simulation.f90.
Definition at line 82 of file simulation.f90.
Definition at line 75 of file simulation.f90.
| class(state_recover_t), allocatable simulation_m::simulation_t::state_recover |
Definition at line 108 of file simulation.f90.
| logical simulation_m::simulation_t::unsteady = .false. |
Definition at line 99 of file simulation.f90.