Appearance
adam_blanes_moan_object
ADAM, Blanes-Moan solver class definition.
Source: src/lib/common/adam_blanes_moan_object.F90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
BM_SCHEME4 | character(len=12) | parameter | blanes-Moan 4th order scheme name. |
BM_SCHEME6 | character(len=12) | parameter | blanes-Moan 6th order scheme name. |
INI_SECTION_NAME | character(len=11) | parameter | INI (config) file section name containing configs. |
Derived Types
blanesmoan_object
Leapforg class definition.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
mpih | type(mpih_object) | MPI handler. | |
scheme | character(len=:) | allocatable | Scheme name [blanes-moan4, blanes-moan6]. |
nc | integer(kind=I4P) | Number of coefficients. | |
a | real(kind=R8P) | allocatable | Splitted residuals coefficients. |
b | real(kind=R8P) | allocatable | Splitted residuals coefficients. |
field | type(field_object) | pointer | The field. |
grid | type(grid_object) | pointer | The grid. |
ngc | integer(kind=I4P) | pointer | Number of ghost cells. |
ni | integer(kind=I4P) | pointer | Number of cells in i direction. |
nj | integer(kind=I4P) | pointer | Number of cells in j direction. |
nk | integer(kind=I4P) | pointer | Number of cells in k direction. |
nb | integer(kind=I4P) | pointer | Total blocks number for MPI. |
blocks_number | integer(kind=I4P) | pointer | Actual blocks number. |
ns | integer(kind=I4P) | pointer | Number of fluids specie. |
nv | integer(kind=I4P) | pointer | Number of conservative variables. |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
description | pass(self) | Return pretty-printed object description. |
initialize | pass(self) | Initialize class. |
load_from_file | pass(self) | Load config from file. |
Subroutines
initialize
Initialize class.
fortran
subroutine initialize(self, file_parameters, scheme, grid, field)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(blanesmoan_object) | inout | Blanes-Moan object. | |
file_parameters | type(file_ini) | in | optional | Simulation parameters ini file handler. |
scheme | character(len=*) | in | optional | Scheme name. |
grid | type(grid_object) | in | target | The grid. |
field | type(field_object) | in | target | The field. |
Call graph
load_from_file
Load config from file.
fortran
subroutine load_from_file(self, file_parameters, go_on_fail)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(blanesmoan_object) | inout | Blanes-Moan object. | |
file_parameters | type(file_ini) | in | Simulation parameters ini file handler. | |
go_on_fail | logical | in | optional | Go on if load fails. |
Call graph
Functions
description
Return a pretty-formatted object description.
Attributes: pure
Returns: character(len=:)
fortran
function description(self) result(desc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(blanesmoan_object) | in | Blanes-Moan object. |
Call graph