#include "scr/Mercury3D.h"
#include "scr/StatisticsVector.h"
#include <sstream>
#include <iostream>
#include <cstdlib>
◆ main()
51 problem.setDoPeriodicWalls(
false);
58 problem.setStiffnessAndRestitutionCoefficient(10000,0.8,
problem.get_mass_from_Radius(0.0037));
59 problem.speciesHandler.getObject(0)->setSlidingFrictionCoefficient(0.5);
60 problem.speciesHandler.getObject(0)->setSlidingStiffness(
problem.speciesHandler.getObject(0)->getStiffness());
69 problem.setName(
"statistics_while_running");
72 problem.readArguments(argc, argv);
@ ONE_FILE
all data will be written into/ read from a single file called name_
Definition: Kernel/Math/Vector.h:30
unsigned int getSaveCountFromNumberOfSavesAndTimeMaxAndTimeStep(unsigned int numberOfSaves, Mdouble timeMax, Mdouble timeStep)
Returns the correct saveCount if the total number of saves, the final time and the time step is known...
Definition: FormulaHelpers.cc:75
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213