| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| class(base_backend_t), | public, | pointer | :: | backend | => | null() | |
| type(mesh_t), | public, | pointer | :: | mesh | => | null() | |
| type(inflow_config_t), | public | :: | cfg | ||||
| real(kind=dp), | public, | allocatable | :: | u(:,:,:) |
Buffered planes, (ntimesteps, ny, nz) per component on local y-z |
||
| real(kind=dp), | public, | allocatable | :: | v(:,:,:) |
Buffered planes, (ntimesteps, ny, nz) per component on local y-z |
||
| real(kind=dp), | public, | allocatable | :: | w(:,:,:) |
Buffered planes, (ntimesteps, ny, nz) per component on local y-z |
||
| real(kind=dp), | public, | allocatable | :: | times(:,:,:) |
Simulation time of each plane; 3D only to fit the array writer |
||
| real(kind=dp), | public, | allocatable | :: | host(:,:,:) |
Padded Cartesian scratch for the field-to-host copy |
||
| real(kind=dp), | public | :: | dt | = | 0._dp |
solver time step |
|
| integer, | public | :: | x_index | = | 0 |
global x vertex index of the plane |
|
| integer, | public | :: | i_local | = | 0 |
local x index, 0 if not on this rank |
|
| integer, | public | :: | n_filled | = | 0 |
planes sampled into the current block |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_backend_t), | intent(inout), | target | :: | backend | ||
| type(mesh_t), | intent(inout), | target | :: | mesh | ||
| type(inflow_config_t), | intent(in) | :: | cfg | |||
| real(kind=dp), | intent(in) | :: | dt |
Record the plane at iteration iter if it is a sampling step, and
write the block once its last plane is in. A block only partly sampled
by this run (a restart inside it) is skipped rather than written with
stale planes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(inflow_plane_writer_t), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | iter | |||
| real(kind=dp), | intent(in) | :: | t | |||
| class(field_t), | intent(in) | :: | u | |||
| class(field_t), | intent(in) | :: | v | |||
| class(field_t), | intent(in) | :: | w |