Removed all references to the registerModule and the data members it uses. Also remove hField() and similar functions, which don't now do anything, and were originally planned to be used alongside the module register.
Moved the ModelArrayRefStore to be lazily allocated.
Moved the ocean mask and ocean index look-up vector to be lazily allocated.
Test Description
The ModelComponent_test still passes.
Adds some test to ModelArray_test to check sizes around assignment operations.
Model Component static data
Fixes #614 (partially)
Change Description
Removed all references to the
registerModule
and the data members it uses. Also removehField()
and similar functions, which don't now do anything, and were originally planned to be used alongside the module register.Moved the
ModelArrayRefStore
to be lazily allocated.Moved the ocean mask and ocean index look-up vector to be lazily allocated.
Test Description
The
ModelComponent_test
still passes.Adds some test to
ModelArray_test
to check sizes around assignment operations.