Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(bc_poly), | private, | pointer | :: | bc(:) | => | null() | |
type(dimensions), | private | :: | dim | ||||
type(matptr), | private, | pointer | :: | mats(:) | => | null() | |
type(mesh), | private, | pointer | :: | msh | => | null() | |
character(len=:), | private, | allocatable | :: | name | |||
logical, | private | :: | on_faces |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in), | target | :: | fld |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | f1 | |||
type(field), | intent(in) | :: | f2 | |||
character(len=*), | intent(in) | :: | where |
----- Destructor -----
----- Destructor -----
Constructor Mandatory arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(out) | :: | fld | |||
type(mesh), | intent(in), | target | :: | msh | Optional arguments |
|
type(dimensions), | intent(in), | optional | :: | dim | ||
type(bc_poly), | intent(in), | optional | target | :: | bc(:) | |
type(matptr), | intent(in), | optional | target | :: | mats(:) | |
logical, | intent(in), | optional | :: | on_faces | ||
character(len=*), | intent(in), | optional | :: | name |
----- Destructor -----
----- Destructor -----
Constructor/destructor
----- Destructor -----
Destructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(inout) | :: | fld |
----- Destructor -----
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld | |||
type(mesh), | pointer | :: | msh |
Mark the object as user-defined
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(object), | intent(inout) | :: | this |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld | |||
integer, | intent(in), | optional | :: | i |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in), | target | :: | fld |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld |
Getters
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(inout) | :: | fld | |||
type(dimensions), | intent(in) | :: | dim |
Setters
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(inout) | :: | fld | |||
logical, | intent(in) | :: | on_faces |
Return a boolean result indicating whether this object has been initialized since its declaration
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(object), | intent(in) | :: | this |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | f1 | |||
type(field), | intent(in) | :: | f2 | |||
character(len=*), | intent(in) | :: | where |
Getters
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld | |||
integer, | intent(in), | optional | :: | i | ||
type(material), | pointer | :: | mat |
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld |
TYPE, EXTENDS(grid) :: field
PRIVATE
CHARACTER(len=:), ALLOCATABLE :: name
TYPE(dimensions) :: dim
TYPE(mesh), POINTER :: msh => NULL()
LOGICAL :: on_faces
TYPE(bc_poly), POINTER :: bc(:) => NULL()
TYPE(matptr), POINTER :: mats(:) => NULL()
CONTAINS
PROCEDURE :: create_field, free_field !! Constructor/destructor
PROCEDURE, PUBLIC :: on_faces_ !! Getters
PROCEDURE, PRIVATE :: get_field_size, get_field_mat_sub
PROCEDURE, PUBLIC :: mat_
PROCEDURE, PUBLIC :: bc_
GENERIC, PUBLIC :: fld_size => get_field_size
GENERIC, PUBLIC :: get_material => get_field_mat_sub
PROCEDURE, PRIVATE :: get_field_dim !! Getters
PROCEDURE, PUBLIC :: msh_
GENERIC, PUBLIC :: dim_ => get_field_dim
PROCEDURE, PUBLIC :: name_
PROCEDURE :: set_field_dim, set_field_on_faces !! Setters
PROCEDURE :: check_field_operands
PROCEDURE, PUBLIC :: nemo_sizeof
PROCEDURE, PUBLIC :: get_mesh
PROCEDURE, PRIVATE :: check_mesh_consistency_bf
GENERIC, PUBLIC :: check_mesh_consistency => check_mesh_consistency_bf
END TYPE field