The u & v ModelArrays need to be initialized. This is done in IDynamics::setData(). However, DummyDynamics overrides this with its own empty implementation of setData(). By deleting this empty function, the base class implementation of setData() is called instead and initializes u and v arrays correctly.
Test Description
Any model run using DummyDynamics as its implementation of IDynamics now works correctly.
Initialize the u,v arrays in DummyDynamics
Fixes #530
Change Description
The u & v
ModelArrays
need to be initialized. This is done inIDynamics::setData()
. However,DummyDynamics
overrides this with its own empty implementation ofsetData()
. By deleting this empty function, the base class implementation of setData() is called instead and initializes u and v arrays correctly.Test Description
Any model run using
DummyDynamics
as its implementation ofIDynamics
now works correctly.