SiegenSlide.cpp File Reference
#include <iomanip>
#include "Siegen.h"

Classes

class  Slide
 

Functions

int main (int argc UNUSED, char *argv[] UNUSED)
 

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)

Start off my solving the default problem

134 {
136  Slide md(100e-6);
137  //md.create_rough_wall(.4e-7);
138  //md.speciesHandler.getObject()[0].setSlidingFrictionCoefficientStatic(.33);
139  md.solve(argc, argv);
140  logger(INFO, " %.12 %.12 %.12 %.12 %.12 %.12",
141  md.Angle * 180. / constants::pi, md.species->getRollingFrictionCoefficient(),
142  md.species->getTorsionFrictionCoefficient(),
143  -md.wallHandler.getObject(0)->getForce().X / md.wallHandler.getObject(0)->getForce().Y,
144  md.wallHandler.getObject(0)->getForce().Y, md.particleHandler.getObject(0)->getVelocity().X);
145 
146  Slide md2(100e-6);
147  //species->setForceType(ForceType::HERTZ_MINDLIN_DERESIEWICZ);
148  //md2.species.setForceType(ForceType::HERTZ_MINDLIN_DERESIEWICZ);
149  md2.setName("slideHMD");
150  md2.solve(argc, argv);
151 
152 }
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Definition: SiegenRail.cpp:31
const Mdouble pi
Definition: ExtendedMath.h:45

References Siegen::Angle, BaseInteractable::getForce(), BaseHandler< T >::getObject(), BaseInteractable::getVelocity(), INFO, logger, DPMBase::particleHandler, constants::pi, DPMBase::setName(), DPMBase::solve(), Siegen::species, DPMBase::wallHandler, Vec3D::X, and Vec3D::Y.