Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
scalar_scheme::scalar_scheme_wrapper_t Type Reference

A helper type that is needed to have an array of polymorphic objects. More...

Public Member Functions

procedure, pass(this) init (this, msh, coef, gs, params, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho)
 Constructor. Just allocates the object.
procedure, pass(this) free (this)
 Destructor. Just deallocates the object.
procedure, pass(this) move_from (this, other)
 Move operator for the wrapper, needed for storing schemes in lists and arrays.
procedure, pass(this) is_allocated (this)
 Return allocation status.

Public Attributes

class(scalar_scheme_t), allocatable scalar

Detailed Description

Definition at line 238 of file scalar_scheme.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) scalar_scheme::scalar_scheme_wrapper_t::free ( class(scalar_scheme_wrapper_t), intent(inout) this)

Definition at line 244 of file scalar_scheme.f90.

◆ init()

procedure, pass(this) scalar_scheme::scalar_scheme_wrapper_t::init ( class(scalar_scheme_wrapper_t), intent(inout) this,
type(mesh_t), intent(in), target msh,
type(coef_t), intent(in), target coef,
type(gs_t), intent(inout), target gs,
type(json_file), intent(inout), target params,
type(json_file), intent(inout), target numerics_params,
type(user_t), intent(in), target user,
type(chkp_t), intent(inout), target chkp,
type(field_series_t), intent(in), target ulag,
type(field_series_t), intent(in), target vlag,
type(field_series_t), intent(in), target wlag,
type(time_scheme_controller_t), intent(in), target time_scheme,
type(field_t), intent(in), target rho )

Definition at line 242 of file scalar_scheme.f90.

◆ is_allocated()

procedure, pass(this) scalar_scheme::scalar_scheme_wrapper_t::is_allocated ( class(scalar_scheme_wrapper_t), intent(in) this)
Parameters
thisThe wrapper to check.

Definition at line 250 of file scalar_scheme.f90.

◆ move_from()

procedure, pass(this) scalar_scheme::scalar_scheme_wrapper_t::move_from ( class(scalar_scheme_wrapper_t), intent(inout) this,
class(scalar_scheme_wrapper_t), intent(inout) other )
Parameters
thisThe wrapper to move to.
otherThe other wrapper to move from. Will be deallocated.

Definition at line 247 of file scalar_scheme.f90.

Member Data Documentation

◆ scalar

class(scalar_scheme_t), allocatable scalar_scheme::scalar_scheme_wrapper_t::scalar

Definition at line 239 of file scalar_scheme.f90.


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