[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)
[ ] Refactor (no functional changes, no api changes)
Checklist
[ ] Tested this change with a run of GEOSgcm
[x] Ran the Unit Tests (make tests)
Description
This PR adds a mechanism to MAPL3 to accumulate field data in time for ESMF_TYPEKIND_R4 fields. The three accumulations are MeanAccumulator, MaxAccumulator, and MinAccumulator. The common procedures have passed tests. The calculation for the mean has also been tested. The other procedures for the individual accumulators have not been tested. They will be tested with fixes in a future PR. Also, in future PR, the mechanism will be extended to ESMF_TYPEKIND_R8 fields.
Types of change(s)
Checklist
make tests
)Description
This PR adds a mechanism to MAPL3 to accumulate field data in time for ESMF_TYPEKIND_R4 fields. The three accumulations are MeanAccumulator, MaxAccumulator, and MinAccumulator. The common procedures have passed tests. The calculation for the mean has also been tested. The other procedures for the individual accumulators have not been tested. They will be tested with fixes in a future PR. Also, in future PR, the mechanism will be extended to ESMF_TYPEKIND_R8 fields.
Related Issue
3027