precice / micro-manager

A manager tool to facilitate two-scale coupling in multi-physics simulations using preCICE.
GNU Lesser General Public License v3.0
15 stars 9 forks source link

Does the micro problem API need a class structure? #18

Open IshaanDesai opened 1 year ago

IshaanDesai commented 1 year ago

Right now we ask the user to formulate the micro problem in a class structure, with a class name MicroSimulation which then has functions titled initialize, solve, etc. Is such a class structure even necessary? The Micro Manager can create a class and add functions to it.

uekerman commented 1 year ago

For the serialization, we will need an internal state of a micro simulation. Having it modeled as an object could simplify this.