The recursive subrountine BundleAddState_ adds contents of State to Bundle.
Extracts fields from an ESMF State and adds them to a
ESMF Bundle. In essesence, it serializes an ESMF state
in a flat Bundle. The BUNDLE must have been created prior to calling
this routine.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ESMF_FieldBundle), | intent(inout) | :: | BUNDLE | |||
| type(ESMF_State), | intent(inout) | :: | STATE | |||
| integer, | optional | :: | rc | |||
| type(ESMF_Grid), | intent(in), | optional | :: | GRID | ||
| logical, | intent(in), | optional | :: | VALIDATE |