124 logger.assert_always(argc > 1,
"Argument needed!");
125 problem.setChuteAngle(atof(argv[1]));
129 problem.write(std::cout,
false);
134 logger.assert_always(argc > 1,
"Argument needed!");
140 problem2.
write(std::cout,
false);
145 logger.assert_always(argc > 1,
"Argument needed!");
150 problem3.
write(std::cout,
false);
155 logger.assert_always(argc > 1,
"Argument needed!");
160 problem4.
write(std::cout,
false);
165 logger.assert_always(argc > 1,
"Argument needed!");
170 problem5.
write(std::cout,
false);
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Definition: chute_periodic_autorun.cpp:16
void setup()
Definition: chute_periodic_autorun.cpp:79
void write(std::ostream &os, bool writeAllParticles=true) const override
This function writes the Chute properties to an ostream, and adds the properties of ALL chute particl...
Definition: Chute.cc:185
void setChuteAngle(Mdouble chuteAngle)
Sets gravity vector according to chute angle (in degrees)
Definition: Chute.cc:747
Mdouble getChuteAngle() const
Returns the chute angle (in radians)
Definition: Chute.cc:786
virtual void writeRestartFile()
Stores all the particle data for current save time step to a "restart" file, which is a file simply i...
Definition: DPMBase.cc:2979
void setZMax(Mdouble newZMax)
Sets the value of ZMax, the upper bound of the problem domain in the z-direction.
Definition: DPMBase.cc:1208
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
#define INFO(i)
Definition: mumps_solver.h:54
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213