check_new_patch Subroutine
public pure subroutine check_new_patch(ndim, patch, ready, err, id)
Validate the patch before assigning a storage ID or recording any of its faces.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | ndim | |||
| class(*), | intent(in) | :: | patch | |||
| logical, | intent(in) | :: | ready | |||
| type(debug), | intent(inout) | :: | err | |||
| integer, | intent(out), | optional | :: | id |