WVObservingSystem
Observe or integrate additional state alongside a WVModel.
Declaration
WVObservingSystem < handleOverview
WVObservingSystem is the base class for Eulerian fields,
wave-vortex coefficients, particles, moorings, and tracers. An
observing system belongs to one model. Systems with flux components
participate in numerical integration; other systems sample model
state when requested or written to output.
Topics
- Create an observing system
WVObservingSystemInitialize an observing system for a model.
- Inspect observed state
descriptionmodelreference to the WVModel being usednameof the observing systemwvtreference to the WVModel being used
- Advance the observing system
fluxAtTimereturn a cell array of the flux of the variables beinginitialConditionsreturn a cell array of variables that need to be integrated
Developer Topics
These items document internal implementation details and are not part of the primary public API.
- Observing-system internals
absErrorTolerancereturn a cell array of the absolute tolerances of theportableImplementationContractDescribe availability of the paired portable C++ implementation.updateIntegratorValuespasses updated values of the variables being integrated.
- Observing-system persistence
initializeStoragecalled once to allow the observing system to initialize its storage space in the NetCDFGroupobservingSystemFromGroupinitialize a WVObservingSystem instance from NetCDF filewriteTimeStepToFilecalled at each time for the observing system to write to file
- Observer integration
lengthOfFluxComponentsreturn an array containing the numel of each flux component.nFluxComponentsnumber of components that need to be integrated in time.