Neko 1.99.2
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
field::field_wrapper_t Type Reference

field_wrapper_t, used to wrap an allocated field for use in a field list More...

Collaboration diagram for field::field_wrapper_t:

Public Member Functions

generic init (this, f)
 Constructor. Allocates a field and assigns the pointer.
 
generic init (this, msh, space, fld_name)
 Constructor. Allocates a field and assigns the pointer.
 
generic init (this, dof, fld_name)
 Constructor. Allocates a field and assigns the pointer.
 
procedure, pass(thisinit_field (this, f)
 Initialize a field wrapper with an allocated field.
 
procedure, pass(thisinit_internal_dof (this, msh, space, fld_name)
 Initialize a field wrapper with an internal dofmap.
 
procedure, pass(thisinit_external_dof (this, dof, fld_name)
 Initialize a field wrapper with an external dofmap.
 
procedure, pass(thisfree (this)
 Destructor. Frees the field and nullifies the pointer.
 

Public Attributes

type(field_t), pointer field => null()
 

Detailed Description

Definition at line 92 of file field.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) field::field_wrapper_t::free ( class(field_wrapper_t), intent(inout this)

Definition at line 106 of file field.f90.

◆ init() [1/3]

generic field::field_wrapper_t::init ( class(field_wrapper_t), intent(inout this,
type(dofmap_t), intent(in), target  dof,
character(len=*), optional  fld_name 
)

Definition at line 96 of file field.f90.

◆ init() [2/3]

generic field::field_wrapper_t::init ( class(field_wrapper_t), intent(inout this,
type(field_t), intent(in f 
)

Definition at line 96 of file field.f90.

◆ init() [3/3]

generic field::field_wrapper_t::init ( class(field_wrapper_t), intent(inout this,
type(mesh_t), intent(in), target  msh,
type(space_t), intent(in), target  space,
character(len=*), optional  fld_name 
)

Definition at line 96 of file field.f90.

◆ init_external_dof()

procedure, pass(this) field::field_wrapper_t::init_external_dof ( class(field_wrapper_t), intent(inout this,
type(dofmap_t), intent(in), target  dof,
character(len=*), optional  fld_name 
)

Definition at line 103 of file field.f90.

◆ init_field()

procedure, pass(this) field::field_wrapper_t::init_field ( class(field_wrapper_t), intent(inout this,
type(field_t), intent(in f 
)

Definition at line 98 of file field.f90.

◆ init_internal_dof()

procedure, pass(this) field::field_wrapper_t::init_internal_dof ( class(field_wrapper_t), intent(inout this,
type(mesh_t), intent(in), target  msh,
type(space_t), intent(in), target  space,
character(len=*), optional  fld_name 
)

Definition at line 100 of file field.f90.

Member Data Documentation

◆ field

type(field_t), pointer field::field_wrapper_t::field => null()

Definition at line 93 of file field.f90.


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