123 cg->setWidth(0.5/3.01);
128 problem.
solve(argc, argv);
130 helpers::writeToFile(
"CGHandlerRadialSelfTest.0.gnu",
"p 'CGHandlerRadialSelfTest.0.stat' u 2:($3*16), 'CGHandlerRadialSelfTest.1.stat' u 2:($3*2*pi*$2*4)");
131 helpers::writeToFile(
"CGHandlerRadialSelfTest.1.gnu",
"p 'CGHandlerRadialSelfTest.0.stat' u 2:($14*16), 'CGHandlerRadialSelfTest.1.stat' u 2:($14*2*pi*$2*4)");
std::enable_if<!std::is_pointer< U >::value, U * >::type copyAndAddObject(const U &object)
Creates a copy of a Object and adds it to the BaseHandler.
Definition: BaseHandler.h:379
In this file a cubic packing of 5^3 particles in a tri-axial box is created and allowed to settle und...
Definition: CGHandlerLargeSelfTest.cpp:39
Evaluates time-resolved continuum fields and writes the data into a stat file.
Definition: CG.h:76
void setSaveCount(unsigned int saveCount)
Sets File::saveCount_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:408
CGHandler cgHandler
Object of the class cgHandler.
Definition: DPMBase.h:1473
void setTimeMax(Mdouble newTMax)
Sets a new value for the maximum simulation duration.
Definition: DPMBase.cc:873
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Mdouble getTimeMax() const
Returns the maximum simulation duration.
Definition: DPMBase.cc:888
bool writeToFile(std::string filename, std::string filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:58