Dump
SimulationBuilder > MD > SimulationComponents
This exports values of any given variable to a text file at a given frequency during a simulation. Variables are not restricted to those are already printed out in the Simulation class.
This class is ready to be derived for specific purposes.
Synopsis
#include <glotzilla++.h> double* variable = &some_variable_invariant_during_simulation int frequency = 100; //declare an instance Dump *dump_var = new Dump("var_name", variable, frequency); //add the SystemComponent to the simulation AddSimulationComponent(dump_var);
Tutorials
External Links
Related