|
| procedure, pass(this) | copy_from (this, memdir, sync) |
| | Easy way to copy between host and device.
|
| |
| procedure, pass(this) | free (this) |
| | Deallocate a field f.
|
| |
| procedure, pass(this) | size (this) |
| | Return the size of the field.
|
| |
| generic | init (this, dof, fld_name) |
| | Initialise a field.
|
| |
| generic | init (this, msh, space, fld_name) |
| | Initialise a field.
|
| |
| generic | assignment (this, g) |
| | Assignemnt to current field.
|
| |
| generic | assignment (this, a) |
| | Assignemnt to current field.
|
| |
| generic | add (this, g) |
| | Add to current field.
|
| |
| generic | add (this, a) |
| | Add to current field.
|
| |
|
| procedure, pass(this), private | init_common (this, fld_name) |
| | Initialize a field this.
|
| |
| procedure, pass(this), private | init_external_dof (this, dof, fld_name) |
| | Initialize a field this on the mesh msh using an internal dofmap.
|
| |
| procedure, pass(this), private | init_internal_dof (this, msh, space, fld_name) |
| | Initialize a field this on the mesh msh using an internal dofmap.
|
| |
| procedure, pass(this), private | assign_field (this, g) |
| | Assignment \( this = G \).
|
| |
| procedure, pass(this), private | assign_scalar (this, a) |
| | Assignment \( this = a \).
|
| |
| procedure, pass(this), private | add_field (this, g) |
| | Add \( this(u_1, u_2, ... , u_n) =
this(u_1, u_2, ... , u_n) + G(u_1, u_2, ... , u_n) \).
|
| |
| procedure, pass(this), private | add_scalar (this, a) |
| | Add \( this(u_1, u_2, ... , u_n) =
this(u_1, u_2, ... , u_n) + a \).
|
| |
Definition at line 48 of file field.f90.
◆ add() [1/2]
- Note
- We don't overload operator(+), to avoid the extra assignemnt operator
Definition at line 79 of file field.f90.
◆ add() [2/2]
- Note
- We don't overload operator(+), to avoid the extra assignemnt operator
Definition at line 79 of file field.f90.
◆ add_field()
- Note
- Component wise
Definition at line 66 of file field.f90.
◆ add_scalar()
◆ assign_field()
- Note
- this will be initialized if it has a different size than G or it's not allocated
Definition at line 64 of file field.f90.
◆ assign_scalar()
◆ assignment() [1/2]
◆ assignment() [2/2]
- Note
- this will be initialized if it has a different size than G or it's not allocated
Definition at line 75 of file field.f90.
◆ copy_from()
- Parameters
-
| this | field to copy to/from device/host @memdir direction to copy (HOST_TO_DEVICE or DEVICE_TO_HOST) @sync whether the memcopy to be blocking or not |
Definition at line 68 of file field.f90.
◆ free()
◆ init() [1/2]
- Parameters
-
| [in,out] | this | Field to be initialized |
| [in] | dof | External dofmap for the field |
| fld_name | Name of the field |
Definition at line 73 of file field.f90.
◆ init() [2/2]
- Parameters
-
| [in,out] | this | Field to be initialized |
| [in] | msh | underlying mesh of the field |
| [in] | space | Function space for the field |
| fld_name | Name of the field |
Definition at line 73 of file field.f90.
◆ init_common()
- Parameters
-
| [in,out] | this | Field to be initialized |
| fld_name | Name of the field |
Definition at line 59 of file field.f90.
◆ init_external_dof()
- Parameters
-
| [in,out] | this | Field to be initialized |
| [in] | dof | External dofmap for the field |
| fld_name | Name of the field |
Definition at line 60 of file field.f90.
◆ init_internal_dof()
| procedure, pass(this), private field::field_t::init_internal_dof |
( |
class(field_t), intent(inout) |
this, |
|
|
type(mesh_t), intent(in), target |
msh, |
|
|
type(space_t), intent(in), target |
space, |
|
|
character(len=*), optional |
fld_name |
|
) |
| |
|
private |
- Parameters
-
| [in,out] | this | Field to be initialized |
| [in] | msh | underlying mesh of the field |
| [in] | space | Function space for the field |
| fld_name | Name of the field |
Definition at line 62 of file field.f90.
◆ size()
◆ dof
◆ internal_dofmap
| logical field::field_t::internal_dofmap = .false. |
◆ msh
◆ name
| character(len=neko_varname_len) field::field_t::name = "" |
◆ x_d
◆ xh
The documentation for this type was generated from the following file:
- /home/runner/work/neko/neko/src/field/field.f90