nlesc-smcm / i-emic

An implicit Earth system model of intermediate complexity
Apache License 2.0
6 stars 7 forks source link

Remove circular dependencies ocean-atmos atmos-ocean etc. #11

Open erik808 opened 5 years ago

erik808 commented 5 years ago

We should try to get rid of circular dependencies between the submodels as we now have an abstract base class to refer to (Model.H).

erik808 commented 5 years ago

Maybe this can be solved using a single specialization of synchronization() and getBlock() in every submodel and check the type of the input (value_type). Proper refactoring should substitute the current specializations of synchronize().