Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
state_recover::state_recover_t Type Referenceabstract

Abstract base type for state recovery implementations. More...

Inheritance diagram for state_recover::state_recover_t:

Public Member Functions

procedure(state_recover_init), deferred, pass, public init (this, neko_case, params)
 
procedure(state_recover_free), deferred, pass, public free (this)
 
procedure(state_recover_reset), deferred, pass, public reset (this)
 
procedure(state_recover_restore), deferred, pass, public restore (this, tstep)
 
procedure, pass, public get_n_timesteps (this)
 Get the number of states recorded by this recovery strategy.
 
procedure, pass, public set_n_timesteps (this, n)
 Set the number of states recorded by this recovery strategy.
 

Public Attributes

class(case_t), pointer, public neko_case => null()
 Case associated with this recovery strategy at initialization.
 
integer n_timesteps = 0
 Number of states recorded by this recovery strategy.
 

Detailed Description

Definition at line 54 of file state_recover.f90.

Member Function/Subroutine Documentation

◆ free()

procedure(state_recover_free), deferred, pass, public state_recover::state_recover_t::free ( class(state_recover_t), intent(inout this)
pure virtual

Definition at line 62 of file state_recover.f90.

◆ get_n_timesteps()

procedure, pass, public state_recover::state_recover_t::get_n_timesteps ( class(state_recover_t), intent(in this)
Parameters
[in]thisState recovery instance.

Definition at line 66 of file state_recover.f90.

◆ init()

procedure(state_recover_init), deferred, pass, public state_recover::state_recover_t::init ( class(state_recover_t), intent(inout this,
class(case_t), intent(inout), target  neko_case,
type(json_file), intent(inout params 
)
pure virtual

Definition at line 61 of file state_recover.f90.

◆ reset()

procedure(state_recover_reset), deferred, pass, public state_recover::state_recover_t::reset ( class(state_recover_t), intent(inout this)
pure virtual

Definition at line 63 of file state_recover.f90.

◆ restore()

procedure(state_recover_restore), deferred, pass, public state_recover::state_recover_t::restore ( class(state_recover_t), intent(inout this,
integer, intent(in tstep 
)
pure virtual

Definition at line 65 of file state_recover.f90.

◆ set_n_timesteps()

procedure, pass, public state_recover::state_recover_t::set_n_timesteps ( class(state_recover_t), intent(inout this,
integer, intent(in n 
)
Parameters
[in,out]thisState recovery instance.
[in]nNumber of recorded states.

Definition at line 68 of file state_recover.f90.

Member Data Documentation

◆ n_timesteps

integer state_recover::state_recover_t::n_timesteps = 0

Definition at line 59 of file state_recover.f90.

◆ neko_case

class(case_t), pointer, public state_recover::state_recover_t::neko_case => null()

Definition at line 57 of file state_recover.f90.


The documentation for this type was generated from the following file: