|
#include "DPMBase.h"
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <fstream>
#include <cstdlib>
#include <limits>
#include <string>
#include <cstdio>
#include <cstring>
#include <Species/LinearViscoelasticSlidingFrictionSpecies.h>
#include <Boundaries/CubeInsertionBoundary.h>
#include "Interactions/Interaction.h"
#include "Species/FrictionForceSpecies/SlidingFrictionSpecies.h"
#include "CMakeDefinitions.h"
#include "DPMBaseXBalls.icc"
#include "Logger.h"
#include "Particles/SphericalParticle.h"
#include "Particles/NonSphericalParticle.h"
#include "Walls/BaseWall.h"
#include "Walls/InfiniteWall.h"
#include "Boundaries/PeriodicBoundary.h"
#include "VTKWriter/SuperQuadricParticleVtkWriter.h"
#include "VTKWriter/SphericalParticleVtkWriter.h"
#include "MpiContainer.h"
#include "MpiDataClass.h"
#include "Domain.h"
#include <csignal>
Functions | |
MERCURYDPM_DEPRECATED void | logWriteAndDie (const std::string &module, std::string message) |
todo strcmp relies on this, should be changed to more modern version More... | |
std::ostream & | operator<< (std::ostream &os, DPMBase &md) |
MERCURYDPM_DEPRECATED void logWriteAndDie | ( | const std::string & | module, |
std::string | message | ||
) |
todo strcmp relies on this, should be changed to more modern version
Warns the user of a fatal error and exits the program with a non-zero return value to let the compiler know an error has occurred.
[in] | module | |
[in] | message |
std::ostream& operator<< | ( | std::ostream & | os, |
DPMBase & | md | ||
) |
Overloads the insertion operator (<<) for use with Mercury objects. Utilises the write() function (see link for further information).
[in] | os | - The output stream to which we want to 'insert' information relating to Mercury objects |
[in] | md | - An object (passed by reference) of the DPMBase class. |
References DPMBase::write().