26 #ifndef HEATERBOUNDARY_H
27 #define HEATERBOUNDARY_H
97 void read(std::istream& is)
override;
102 void write(std::ostream& os)
const override;
104 std::string
getName()
const override;
Definition: BaseBoundary.h:49
Definition: BaseParticle.h:54
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:77
Supplies a 'constant heat flux' to a cuboidal region (specified by two corner points) by adding a ran...
Definition: HeaterBoundary.h:50
void set2D(Vec3D posMin, Vec3D posMax, Mdouble specificHeatStrength)
Definition: HeaterBoundary.cc:62
HeaterBoundary * copy() const override
Used to create a copy of the object NB: purely virtual function.
Definition: HeaterBoundary.cc:49
void set(Vec3D posMin, Vec3D posMax, Vec3D specificHeatStrength)
Definition: HeaterBoundary.cc:54
HeaterBoundary()
Definition: HeaterBoundary.cc:30
Mdouble getVolume() const
Returns the volume of the HeaterBoundary cuboid.
Definition: HeaterBoundary.cc:95
Mdouble getDistance(const Vec3D &position) const
Returns a negative value if and only if the position is inside the boundary (and therefore the partic...
Definition: HeaterBoundary.cc:103
~HeaterBoundary() override
Definition: HeaterBoundary.cc:44
Vec3D specificHeatStrength_
The specific heat strengths have units of energy (mass)^{-1} (time)^{-1) = m^2 s^{-3} For isotropic h...
Definition: HeaterBoundary.h:113
Vec3D posMin_
Definition: HeaterBoundary.h:107
void setStrength(Vec3D specificHeatStrength)
Definition: HeaterBoundary.cc:76
bool checkBoundaryAfterParticleMoved(BaseParticle *p, ParticleHandler &pH)
Checks if a given particle is inside the HeaterBoundary. If so, heats it.
Definition: HeaterBoundary.cc:131
void setStrength3D(Mdouble specificHeatStrength)
Definition: HeaterBoundary.cc:88
void read(std::istream &is) override
Reads some boundary properties from an std::istream.
Definition: HeaterBoundary.cc:156
Vec3D posMax_
Definition: HeaterBoundary.h:107
void setStrength2D(Mdouble specificHeatStrength)
Definition: HeaterBoundary.cc:81
void set3D(Vec3D posMin, Vec3D posMax, Mdouble specificHeatStrength)
Definition: HeaterBoundary.cc:69
std::string getName() const override
Definition: HeaterBoundary.cc:181
void checkBoundaryAfterParticlesMove(ParticleHandler &pH) override
Runs at the end of each time step.
Definition: HeaterBoundary.cc:121
void write(std::ostream &os) const override
Writes the boundary properties to an std::ostream.
Definition: HeaterBoundary.cc:169
Container to store all BaseParticle.
Definition: ParticleHandler.h:48
This is a class that generates random numbers i.e. named the Random Number Generator (RNG).
Definition: RNG.h:53