Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(vector), | private, | allocatable | :: | bx(:) | |||
integer, | private, | allocatable | :: | mat(:) | |||
type(vector), | private, | allocatable | :: | x(:) | |||
type(vector), | private, | allocatable | :: | xp(:) |
Default public constructor, necessary with ifort
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(field), | intent(in) | :: | base | |||
type(vector), | intent(in) | :: | x(:) | |||
type(vector), | intent(in) | :: | bx(:) |
User-defined assignments
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- 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 -----
----- Getters for Additional Members -----
----- 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 |
----- Getters for Additional Members -----
Constructor Mandatory arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_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 | ||
type(vector), | intent(in), | optional | :: | x0 | ||
character(len=*), | intent(in), | optional | :: | name |
----- Destructor -----
----- Destructor -----
----- Getters for Additional Members -----
Destructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | fld |
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Destructor -----
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld | |||
type(mesh), | pointer | :: | msh |
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Getters for Additional Members -----
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 |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld |
Getters
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(in) | :: | fld |
Algebra operations
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Getters for Additional Members -----
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(inout) | :: | fld | |||
type(dimensions), | intent(in) | :: | dim |
----- Getters for Additional Members -----
----- Getters for Additional Members -----
Setters
----- Destructor -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field), | intent(inout) | :: | fld | |||
logical, | intent(in) | :: | on_faces |
----- Getters for Additional Members -----
----- Getters for Additional Members -----
Return a boolean result indicating whether this object has been initialized since its declaration
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(object), | intent(in) | :: | this |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | f | |||
type(vector), | intent(in) | :: | x |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | f | |||
type(vector), | intent(in) | :: | x(:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | f1 | |||
type(vector_field), | intent(in) | :: | f2 | |||
character(len=*), | intent(in) | :: | where |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld | |||
type(field), | intent(out) | :: | base |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld | |||
real(kind=psb_dpk_), | intent(out), | allocatable | :: | bx(:,:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld | |||
type(vector), | intent(out), | allocatable | :: | bx(:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld | |||
real(kind=psb_dpk_), | intent(out), | allocatable | :: | x(:,:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld | |||
type(vector), | intent(out), | allocatable | :: | x(:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld | |||
real(kind=psb_dpk_), | intent(out), | allocatable | :: | xp(:,:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld | |||
type(vector), | intent(out), | allocatable | :: | xp(:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | fld |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | f | |||
integer, | intent(in) | :: | i | |||
type(vector), | intent(in) | :: | x |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | f | |||
integer, | intent(in) | :: | i | |||
type(vector), | intent(in) | :: | x |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | f | |||
integer, | intent(in) | :: | ig | |||
type(vector), | intent(in) | :: | x |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | fld | |||
real(kind=psb_dpk_), | intent(in), | allocatable | :: | x(:,:) |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(inout) | :: | fld |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | f1 | |||
type(vector_field), | intent(in) | :: | f2 |
Algebra operations
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=psb_dpk_), | intent(in) | :: | a | |||
class(vector_field), | intent(in) | :: | f2 |
----- Getters for Additional Members -----
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_field), | intent(in) | :: | f1 | |||
type(vector_field), | intent(in) | :: | f2 |
TYPE, EXTENDS(field) :: vector_field
PRIVATE
TYPE(vector), ALLOCATABLE :: x(:)
TYPE(vector), ALLOCATABLE :: xp(:)
TYPE(vector), ALLOCATABLE :: bx(:)
INTEGER, ALLOCATABLE :: mat(:)
CONTAINS
PROCEDURE, PUBLIC :: create_vector_field
PROCEDURE, PUBLIC :: free_field
PROCEDURE, PRIVATE :: get_vector_field_base
GENERIC, PUBLIC :: get_base => get_vector_field_base
PROCEDURE, PRIVATE :: get_vector_field_x_r, get_vector_field_x_v
GENERIC, PUBLIC :: get_x => get_vector_field_x_r, get_vector_field_x_v
PROCEDURE, PRIVATE :: get_vector_field_xp_r, get_vector_field_xp_v
GENERIC, PUBLIC :: get_xp => get_vector_field_xp_r, get_vector_field_xp_v
PROCEDURE, PRIVATE :: get_vector_field_bx_r, get_vector_field_bx_v
GENERIC, PUBLIC :: get_bx => get_vector_field_bx_r, get_vector_field_bx_v
PROCEDURE, PRIVATE :: update_vector_field
GENERIC, PUBLIC :: update_field => update_vector_field
PROCEDURE, PRIVATE :: set_vector_field_element, set_vector_field_group
GENERIC, PUBLIC :: set_field_element => set_vector_field_element
GENERIC, PUBLIC :: set_field_group => set_vector_field_group
PROCEDURE, PRIVATE :: set_vector_field_bound_element
GENERIC, PUBLIC :: set_field_bound_element => set_vector_field_bound_element
PROCEDURE, PRIVATE :: set_vector_field_x
GENERIC, PUBLIC :: set_x => set_vector_field_x
PROCEDURE, PRIVATE :: interp_on_faces_v
GENERIC, PUBLIC :: interp_on_faces => interp_on_faces_v
PROCEDURE, PRIVATE :: vector_field_sum, vector_field_dif
PROCEDURE, PASS(f2), PRIVATE :: vector_field_scal !! Algebra operations
PROCEDURE, PRIVATE :: assign_vector_field_s, assign_vector_field_v
GENERIC :: ASSIGNMENT(=) => assign_vector_field_s, assign_vector_field_v !! User-defined assignments
GENERIC :: OPERATOR(+) => vector_field_sum
GENERIC :: OPERATOR(-) => vector_field_dif
GENERIC :: OPERATOR(*) => vector_field_scal !! Algebra operations
PROCEDURE, PUBLIC:: nemo_sizeof
PROCEDURE, PRIVATE :: check_mesh_consistency_vf
GENERIC, PUBLIC :: check_mesh_consistency => check_mesh_consistency_vf
END TYPE vector_field