| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(variable_t), | intent(inout) | :: | self |
Instance of the type |
||
| type(comm_handler_t), | intent(in) | :: | comm_handler |
Communicators |
||
| integer, | intent(in) | :: | ndim |
Dimension of variable |
||
| logical, | intent(in) | :: | staggered |
Indicates if variable is defined on staggered or canonical grid WILL BE REMOVED |
||
| real(kind=GP), | intent(in), | optional, | dimension(ndim) | :: | init_vals |
Values for initialisation if present, otherwise will be initialised with zeros |
Initialises variable