register_full_3d, but OPTIONAL on read: a checkpoint written
before the field was registered still resumes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(restart_registry_t), | intent(inout) | :: | reg | |||
| character(len=*), | intent(in) | :: | tag | |||
| real(kind=wp), | intent(in), | target | :: | arr(:,:,:) |
subroutine register_full_3d_opt(reg, tag, arr) !! `register_full_3d`, but OPTIONAL on read: a checkpoint written !! before the field was registered still resumes. type(restart_registry_t), intent(inout) :: reg character(len=*), intent(in) :: tag real(wp), target, intent(in) :: arr(:, :, :) call reg%register_3d(tag, arr, 0, size(arr, 1), size(arr, 2), optional=.true.) end subroutine register_full_3d_opt