Reply To: checkpoint for the ensembles added to SuperLatticeTimeTimeAveragedF3D functor
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › checkpoint for the ensembles added to SuperLatticeTimeTimeAveragedF3D functor › Reply To: checkpoint for the ensembles added to SuperLatticeTimeTimeAveragedF3D functor
The functor SuperLatticeTimeAveragedF3D
doesn’t currently support (de)serialization. However this will be straight forward to add due to the data being stored in BlockData
which is serializable. So you basically just need to 1) add Serializable
inheritance to the functor and 2) implement the virtual methods of the interface to forward to the two contained super data instances.
Edit: Sorry, just noticed that SuperData
doesn’t yet implement the serializable interface so it will first need to be added there (also straight forward).