Neko  0.9.99
A portable framework for high-order spectral element flow simulations
field::field_t Type Reference
Collaboration diagram for field::field_t:

Public Member Functions

procedure, pass(this) free => field_free
 
procedure, pass(this) size => field_size
 Return the size of the field. More...
 
generic init => init_external_dof, init_internal_dof
 Initialise a field. More...
 
generic assignment => assign_field, assign_scalar
 Assignemnt to current field. More...
 
generic add => add_field, add_scalar
 Add to current field. More...
 

Public Attributes

real(kind=rp), dimension(:,:,:,:), allocatable x
 Field data. More...
 
type(space_t), pointer xh
 Function space \( X_h \). More...
 
type(mesh_t), pointer msh
 Mesh. More...
 
type(dofmap_t), pointer dof
 Dofmap. More...
 
logical internal_dofmap = .false.
 Does the field have an own dofmap. More...
 
character(len=80) name
 Name of the field. More...
 
type(c_ptr) x_d = C_NULL_PTR
 

Private Member Functions

procedure, pass(this), private init_common => field_init_common
 
procedure, pass(this), private init_external_dof => field_init_external_dof
 
procedure, pass(this), private init_internal_dof => field_init_internal_dof
 
procedure, pass(this), private assign_field => field_assign_field
 
procedure, pass(this), private assign_scalar => field_assign_scalar
 
procedure, pass(this), private add_field => field_add_field
 
procedure, pass(this), private add_scalar => field_add_scalar
 

Detailed Description

Definition at line 46 of file field.f90.

Member Function/Subroutine Documentation

◆ add()

generic field::field_t::add
Note
We don't overload operator(+), to avoid the extra assignemnt operator

Definition at line 76 of file field.f90.

◆ add_field()

procedure, pass(this), private field::field_t::add_field
private

Definition at line 64 of file field.f90.

◆ add_scalar()

procedure, pass(this), private field::field_t::add_scalar
private

Definition at line 65 of file field.f90.

◆ assign_field()

procedure, pass(this), private field::field_t::assign_field
private

Definition at line 62 of file field.f90.

◆ assign_scalar()

procedure, pass(this), private field::field_t::assign_scalar
private

Definition at line 63 of file field.f90.

◆ assignment()

generic field::field_t::assignment

Definition at line 72 of file field.f90.

◆ free()

procedure, pass(this) field::field_t::free

Definition at line 66 of file field.f90.

◆ init()

generic field::field_t::init

Definition at line 70 of file field.f90.

◆ init_common()

procedure, pass(this), private field::field_t::init_common
private

Definition at line 57 of file field.f90.

◆ init_external_dof()

procedure, pass(this), private field::field_t::init_external_dof
private

Definition at line 58 of file field.f90.

◆ init_internal_dof()

procedure, pass(this), private field::field_t::init_internal_dof
private

Definition at line 60 of file field.f90.

◆ size()

procedure, pass(this) field::field_t::size

Definition at line 68 of file field.f90.

Member Data Documentation

◆ dof

type(dofmap_t), pointer field::field_t::dof

Definition at line 51 of file field.f90.

◆ internal_dofmap

logical field::field_t::internal_dofmap = .false.

Definition at line 53 of file field.f90.

◆ msh

type(mesh_t), pointer field::field_t::msh

Definition at line 50 of file field.f90.

◆ name

character(len=80) field::field_t::name

Definition at line 54 of file field.f90.

◆ x

real(kind=rp), dimension(:,:,:,:), allocatable field::field_t::x

Definition at line 47 of file field.f90.

◆ x_d

type(c_ptr) field::field_t::x_d = C_NULL_PTR

Definition at line 55 of file field.f90.

◆ xh

type(space_t), pointer field::field_t::xh

Definition at line 49 of file field.f90.


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