Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self |
Implement a 3D scalar field, for instance a temperature field.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real, | public, | allocatable | :: | data(:,:,:) | |||
real, | public | :: | dx |
Discrete mesh spacing |
procedure , public :: nz Function | |
procedure , public :: ny Function | |
procedure , public :: nx Function | |
procedure , public :: dump Subroutine | |
procedure , public :: is_equal Function | |
procedure (rhs_field) , public :: rhs | |
generic, public :: operator(+) => field_add_field, field_add_real | |
generic, public :: operator(-) => field_sub_field | |
generic, public :: operator(*) => field_mul_real |
Returns domain size in direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self |
Returns domain size in direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self |
Returns domain size in direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self |
Compare two field_type instance based on their data value
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self |
Right hand side of comparison |
||
class(field_type), | intent(in) | :: | lhs |
Left hand side of comparison |
||
real, | intent(in) | :: | tol |
Absolute tolerance when comparing fields values |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self | |||
class(field_type), | intent(in) | :: | afield |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self | |||
real, | intent(in) | :: | a(:,:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self | |||
class(field_type), | intent(in) | :: | afield |
Multiply a field_cpu_type
instance by a real
number.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self |
Left hand side |
||
real, | intent(in) | :: | a |
Scalar to multiply field instance with |
Write field data to ASCII file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self | |||
character, | intent(in) | :: | file_path |
Relative path to file to output file |
||
character, | optional | :: | fmt |
Format string |