Writes snapshot
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(snapshot_t), | intent(in) | :: | self |
Instance of the type |
||
| type(comm_handler_t), | intent(in) | :: | comm_handler |
MPI communicator |
||
| integer, | intent(in) | :: | isnaps |
Snapshot number |
||
| real(kind=GP), | intent(in) | :: | tau |
Time |
||
| type(variable_t), | intent(in), | dimension(self%nvars) | :: | vars |
Variables |
|
| integer, | intent(in), | optional | :: | isubsnaps |
Optional sub-snapshot number |
|
| logical, | intent(in), | optional | :: | allow_overwrite |
Whether to allow overwriting snapfiles |