44 logger(
DEBUG,
"BaseWall::BaseWall(const BaseWall &p) finished");
54 logger(
WARN,
"BaseWall::clear(), this function shouldn't be called");
Container to store all ParticleSpecies.
The DPMBase header includes quite a few header files, defining all the handlers, which are essential...
Logger< MERCURY_LOGLEVEL > logger("MercuryKernel")
virtual MERCURY_DEPRECATED void clear()
A function that removes all data from this BaseWall, so sets handler_ to nullptr. ...
void setIndSpecies(unsigned int indSpecies)
Define the species of this wall using the index of the species in the SpeciesHandler in this DPMBase...
void setHandler(WallHandler *handler)
A function which sets the WallHandler for this BaseWall.
SpeciesHandler * getHandler() const
Returns the pointer to the handler to which this species belongs.
WallHandler * getHandler() const
A function which returns the WallHandler that handles this BaseWall.
void setSpecies(const ParticleSpecies *species)
Sets the species of this BaseInteractable.
virtual void read(std::istream &is)=0
Reads a BaseInteractable from an input stream.
T * getObject(const unsigned int id)
Gets a pointer to the Object at the specified index in the BaseHandler.
BaseWall()
Default constructor. It makes an empty BaseWall.
virtual void setIndSpecies(unsigned int indSpecies)
Sets the index of the Species of this BaseInteractable.
WallHandler wallHandler
An object of the class WallHandler. Contains pointers to all the walls created.
Container to store all BaseWall.
Defines the basic properties that a interactable object can have.
unsigned int getIndSpecies() const
Returns the index of the Species of this BaseInteractable.
virtual void write(std::ostream &os) const =0
Write a BaseInteractable to an output stream.
DPMBase * getDPMBase()
Gets the problem that is solved using this handler.
void write(std::ostream &os) const
Function that writes a BaseWall to an output stream, usually a restart file.
virtual ~BaseWall()
Default destructor.
void read(std::istream &is)
Function that reads a BaseWall from an input stream, usually a restart file.
void setSpecies(const ParticleSpecies *species)
Define the species of this wall.