revision: v0.14
ConstantMassFlowMaserBoundary.h
Go to the documentation of this file.
1 //Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved.
2 //For the list of developers, see <http://www.MercuryDPM.org/Team>.
3 //
4 //Redistribution and use in source and binary forms, with or without
5 //modification, are permitted provided that the following conditions are met:
6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above copyright
9 // notice, this list of conditions and the following disclaimer in the
10 // documentation and/or other materials provided with the distribution.
11 // * Neither the name MercuryDPM nor the
12 // names of its contributors may be used to endorse or promote products
13 // derived from this software without specific prior written permission.
14 //
15 //THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 //ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 //WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 //DISCLAIMED. IN NO EVENT SHALL THE MERCURYDPM DEVELOPERS TEAM BE LIABLE FOR ANY
19 //DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 //(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 //LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 //ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 //(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 //SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 
26 
27 #ifndef CONSTANTMASSFLOWMASERBOUNDARY_H
28 #define CONSTANTMASSFLOWMASERBOUNDARY_H
29 
30 #include <map>
31 
35 #include "Math/Vector.h"
36 #include "Particles/BaseParticle.h"
37 
38 class ParticleSpecies;
39 
96 
101  periodicBoundary);
102 
105  ConstantMassFlowMaserBoundary* copy() const override;
106 
111  void set(Vec3D normal, Vec3D planewiseShift, Mdouble distanceLeft, Mdouble distanceRight);
112 
117  void set(Vec3D normal, Mdouble distanceLeft, Mdouble distanceRight);
118 
123  void setPlanewiseShift(Vec3D planewiseShift);
124 
129  void setShift(Vec3D shift);
130 
134  void read(std::istream& is) override;
135 
138  void write(std::ostream& os) const override;
139 
142  std::string getName() const override;
143 
147  void createPeriodicParticle(BaseParticle* p, ParticleHandler& pH) override;
148 
149  void createPeriodicParticles(ParticleHandler& pH) override;
150 
157 
162 
166 
170 
174  bool isMaserParticle(BaseParticle* p) const;
175 
179  bool isNormalParticle(BaseParticle* p) const;
180 
185  void actionsBeforeTimeLoop() override;
186 
190  void activateMaser();
191 
194  void closeMaser();
195 
199  bool isActivated() const;
200 
204  void turnOnCopying();
205 
209  void turnOffCopying();
210 
214  bool isCopying() const;
215 
216  Mdouble getDistanceLeft() const;
217 
218  Mdouble getDistanceRight() const;
219 
220  Mdouble getGapSize() const;
221 
222 private:
223 
227  void shiftPosition(BaseParticle* p) const;
228 
233 
239  bool isClosestToRightBoundary(const BaseParticle* const p) const
240  {
241  const Mdouble distance = Vec3D::dot(p->getPosition(), normal_);
242  return (distanceRight_ - distance < distance - distanceLeft_);
243  }
244 
252  {
253  const Mdouble distance = Vec3D::dot(p->getPosition(), normal_);
254  return std::min(distance - distanceLeft_, distanceRight_ - distance);
255  }
256 
261 
266 
271 
286 
295 
299  std::map<const ParticleSpecies*, const ParticleSpecies*> speciesConversionNormalToMaser_;
300 
304  std::map<const ParticleSpecies*, const ParticleSpecies*> speciesConversionMaserToNormal_;
305 
310 
315 
316 };
317 
318 #endif
DPMBase::setMax
void setMax(const Vec3D &max)
Sets the maximum coordinates of the problem domain.
Definition: DPMBase.cc:1073
HGridCell::equals
bool equals(int x, int y, int z, unsigned int level) const
Checks if the given (x,y,z,level) is the same as the ones in this cell.
Definition: HGridCell.h:39
DPM::computeLocalVolumeFraction
Mdouble computeLocalVolumeFraction(Vec3D position, Mdouble cutoff)
Definition: ComputeVolumeFractionSelfTest.cpp:66
ConstantMassFlowMaserBoundary::speciesConversionNormalToMaser_
std::map< const ParticleSpecies *, const ParticleSpecies * > speciesConversionNormalToMaser_
List of 'normal' particles' species, and their maser counterparts.
Definition: ConstantMassFlowMaserBoundary.h:299
ConstantMassFlowMaserBoundary::getName
std::string getName() const override
Returns the name of the object.
Definition: ConstantMassFlowMaserBoundary.cc:170
DPMBase::setName
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:420
MercuryBase::getHGrid
HGrid * getHGrid()
Gets the HGrid used by this problem.
Definition: MercuryBase.h:311
ConstantMassFlowMaserBoundary::setShift
void setShift(Vec3D shift)
Sets the shift of the Maser. Usually don't use this directly, use set() or setPlanewiseShift() instea...
Definition: ConstantMassFlowMaserBoundary.cc:111
BaseInteractable::getSpecies
const ParticleSpecies * getSpecies() const
Returns a pointer to the species of this BaseInteractable.
Definition: BaseInteractable.h:108
ConstantMassFlowMaserBoundary::getDistanceRight
Mdouble getDistanceRight() const
Definition: ConstantMassFlowMaserBoundary.cc:513
ConstantMassFlowMaserBoundary::turnOnCopying
void turnOnCopying()
Start copying particles.
Definition: ConstantMassFlowMaserBoundary.cc:489
DPMBase::setTimeStep
void setTimeStep(Mdouble newDt)
Sets a new value for the simulation time step.
Definition: DPMBase.cc:1225
DPMBase::setMin
void setMin(const Vec3D &min)
Sets the minimum coordinates of the problem domain.
Definition: DPMBase.cc:1109
PeriodicBoundary::getShift
Vec3D getShift() const
Returns the vector going from the left to the right side of the periodic boundary.
Definition: PeriodicBoundary.cc:159
Vector.h
ConstantMassFlowMaserBoundary::createGhostCopy
BaseParticle * createGhostCopy(BaseParticle *p) const
Creates a copy of the input particle, that gets removed again in DPMBase::removeDuplicatePeriodicPart...
Definition: ConstantMassFlowMaserBoundary.cc:249
constants::pi
const Mdouble pi
Definition: ExtendedMath.h:45
StatisticsVector.h
PeriodicBoundary.h
Flusher::FLUSH
@ FLUSH
ConstantMassFlowMaserBoundary::distanceRight_
Mdouble distanceRight_
position of right boundary wall, s.t. normal*x=position_right
Definition: ConstantMassFlowMaserBoundary.h:270
ConstantMassFlowMaserBoundary::set
void set(Vec3D normal, Vec3D planewiseShift, Mdouble distanceLeft, Mdouble distanceRight)
Sets all boundary properties at once and adds particles of the handler to the maser....
Definition: ConstantMassFlowMaserBoundary.cc:76
BaseParticle::getPeriodicFromParticle
BaseParticle * getPeriodicFromParticle() const
Returns the 'original' particle this one's a periodic copy of.
Definition: BaseParticle.h:341
ConstantMassFlowMaserBoundary::copy
ConstantMassFlowMaserBoundary * copy() const override
Creates a copy of this maser on the heap.
Definition: ConstantMassFlowMaserBoundary.cc:71
BaseInteractable::setPosition
void setPosition(const Vec3D &position)
Sets the position of this BaseInteractable.
Definition: BaseInteractable.h:239
logger
Logger< MERCURY_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
BaseInteractable::copyInteractionsForPeriodicParticles
void copyInteractionsForPeriodicParticles(const BaseInteractable &p)
Copies interactions to this BaseInteractable whenever a periodic copy made.
Definition: BaseInteractable.cc:386
HGrid
In the HGrid class, here all information about the HGrid is stored.
Definition: HGrid.h:43
HGrid::getOccupiedLevelsMask
int getOccupiedLevelsMask() const
Gets the integer that represents which levels are occupied.
Definition: HGrid.h:213
Vec3D::X
Mdouble X
the vector components
Definition: Vector.h:65
DPM::computeLocalVolumeFractionHGrid
Mdouble computeLocalVolumeFractionHGrid(Vec3D position, Mdouble cutoff)
Definition: ComputeVolumeFractionSelfTest.cpp:78
Vec3D::dot
static Mdouble dot(const Vec3D &a, const Vec3D &b)
Calculates the dot product of two Vec3D: .
Definition: Vector.cc:76
ConstantMassFlowMaserBoundary::createPeriodicParticles
void createPeriodicParticles(ParticleHandler &pH) override
Definition: ConstantMassFlowMaserBoundary.cc:234
BaseHandler::getSize
unsigned int getSize() const
Gets the size of the particleHandler (including mpi and periodic particles)
Definition: BaseHandler.h:655
BaseBoundary::write
void write(std::ostream &os) const override=0
Adds object's id_ to given ostream NB: purely virtual function, overriding the version of BaseObject.
Definition: BaseBoundary.cc:70
Mercury3D
This adds on the hierarchical grid code for 3D problems.
Definition: Mercury3D.h:37
ConstantMassFlowMaserBoundary
Variation on the PeriodicBoundary which also has an outflow part.
Definition: ConstantMassFlowMaserBoundary.h:92
ConstantMassFlowMaserBoundary::ConstantMassFlowMaserBoundary
ConstantMassFlowMaserBoundary()
MaserBoundary constructor.
Definition: ConstantMassFlowMaserBoundary.cc:34
HGrid::getInvCellSize
double getInvCellSize(unsigned int i) const
Gets 1/cellSize for the cells on level i.
Definition: HGrid.h:178
BaseBoundary::read
void read(std::istream &is) override=0
Reads the object's id_ from given istream NB: purely virtual function, overriding the version of Base...
Definition: BaseBoundary.cc:61
ConstantMassFlowMaserBoundary::isMaserParticle
bool isMaserParticle(BaseParticle *p) const
Returns true if the particle is a Maser particle, and false otherwise.
Definition: ConstantMassFlowMaserBoundary.cc:391
INFO
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
BaseInteractable::move
virtual void move(const Vec3D &move)
Moves this BaseInteractable by adding an amount to the position.
Definition: BaseInteractable.cc:215
ParticleSpecies
Definition: ParticleSpecies.h:37
BaseBoundary
Definition: BaseBoundary.h:49
ConstantMassFlowMaserBoundary::isCopying
bool isCopying() const
Returns whether the Maser is copying particles or not.
Definition: ConstantMassFlowMaserBoundary.cc:500
ConstantMassFlowMaserBoundary::write
void write(std::ostream &os) const override
writes boundary properties to ostream
Definition: ConstantMassFlowMaserBoundary.cc:150
BaseParticle::getVolume
virtual Mdouble getVolume() const
Get Particle volume function, which required a reference to the Species vector. It returns the volume...
Definition: BaseParticle.cc:141
ConstantMassFlowMaserBoundary::speciesConversionMaserToNormal_
std::map< const ParticleSpecies *, const ParticleSpecies * > speciesConversionMaserToNormal_
List of 'maser' particles' species, and their normal counterparts.
Definition: ConstantMassFlowMaserBoundary.h:304
BaseParticle::setRadius
virtual void setRadius(Mdouble radius)
Sets the particle's radius_ (and adjusts the mass_ accordingly, based on the particle's species)
Definition: BaseParticle.cc:542
Vec3D
Definition: Vector.h:50
DPMBase::solve
void solve()
The work horse of the code.
Definition: DPMBase.cc:4003
ConstantMassFlowMaserBoundary::closeMaser
void closeMaser()
Stops copying particles (and act merely as a chute)
Definition: ConstantMassFlowMaserBoundary.cc:459
BaseObject::setId
void setId(unsigned long id)
Assigns a unique identifier to each object in the handler (container) which remains constant even aft...
Definition: BaseObject.cc:72
BaseSpecies::copyInto
virtual void copyInto(BaseSpecies *s) const =0
BaseParticle::getHGridNextObject
BaseParticle * getHGridNextObject() const
Returns pointer to next object in particle's HGrid level & cell.
Definition: BaseParticle.h:242
BaseSpecies
BaseSpecies is the class from which all other species are derived.
Definition: BaseSpecies.h:50
HGrid::computeHashBucketIndex
unsigned int computeHashBucketIndex(int x, int y, int z, unsigned int l) const
Computes hash bucket index in range [0, NUM_BUCKETS-1] for a 3D domain.
Definition: HGrid.h:76
BaseParticle::getRadius
Mdouble getRadius() const
Returns the particle's radius.
Definition: BaseParticle.h:348
PeriodicBoundary::getDistanceRight
Mdouble getDistanceRight() const
Returns the distance of the right wall to the origin, in normal direction.
Definition: PeriodicBoundary.cc:151
BaseInteractable::setVelocity
void setVelocity(const Vec3D &velocity)
set the velocity of the BaseInteractable.
Definition: BaseInteractable.cc:350
BaseParticle::copy
virtual BaseParticle * copy() const =0
Particle copy method. It calls to copy constructor of this Particle, useful for polymorphism.
SpeciesHandler
Container to store all ParticleSpecies.
Definition: SpeciesHandler.h:37
BaseParticle::setPeriodicFromParticle
void setPeriodicFromParticle(BaseParticle *p)
Assigns the pointer to the 'original' particle this one's a periodic copy of (used in periodic bounda...
Definition: BaseParticle.h:441
double
ConstantMassFlowMaserBoundary::maserIsCopying_
bool maserIsCopying_
Flag whether or not the Maser is copying particles.
Definition: ConstantMassFlowMaserBoundary.h:314
VERBOSE
LL< Log::VERBOSE > VERBOSE
Verbose information.
Definition: Logger.cc:57
ConstantMassFlowMaserBoundary::shift_
Vec3D shift_
Direction in which particles are to be shifted when they cross the boundary.
Definition: ConstantMassFlowMaserBoundary.h:294
PeriodicBoundary::getDistanceLeft
Mdouble getDistanceLeft() const
Returns the distance of the left wall to the origin, in normal direction.
Definition: PeriodicBoundary.cc:143
BaseParticle::setSpecies
void setSpecies(const ParticleSpecies *species)
Definition: BaseParticle.cc:804
LinearViscoelasticSpecies
Species< LinearViscoelasticNormalSpecies > LinearViscoelasticSpecies
Definition: LinearViscoelasticSpecies.h:33
ConstantMassFlowMaserBoundary::getDistanceLeft
Mdouble getDistanceLeft() const
Definition: ConstantMassFlowMaserBoundary.cc:508
ConstantMassFlowMaserBoundary::isClosestToRightBoundary
bool isClosestToRightBoundary(const BaseParticle *const p) const
Returns whether the given particle is closer to the right boundary of the periodic part.
Definition: ConstantMassFlowMaserBoundary.h:239
LinearViscoelasticSpecies.h
ConstantMassFlowMaserBoundary::setPlanewiseShift
void setPlanewiseShift(Vec3D planewiseShift)
Sets a planewise direction to the shift. Doesn't change the normal or the positions.
Definition: ConstantMassFlowMaserBoundary.cc:105
DPM
In this file a cubic packing of 5^3 particles in a tri-axial box is created and allowed to settle und...
Definition: HGridUpdateUnitTest.cpp:30
ConstantMassFlowMaserBoundary::normal_
Vec3D normal_
Normal unit vector of both maser walls. Points in the flowing direction.
Definition: ConstantMassFlowMaserBoundary.h:260
WARN
LL< Log::WARN > WARN
Warning log level.
Definition: Logger.cc:54
InfiniteWall.h
Log::FATAL
@ FATAL
DPMBase::speciesHandler
SpeciesHandler speciesHandler
A handler to that stores the species type i.e. LinearViscoelasticSpecies, etc.
Definition: DPMBase.h:1385
ConstantMassFlowMaserBoundary::isActivated
bool isActivated() const
Returns whether the Maser is activated or not.
Definition: ConstantMassFlowMaserBoundary.cc:484
PeriodicBoundary::getNormal
Vec3D getNormal() const
returns the vector normal to the periodic boundary
Definition: PeriodicBoundary.cc:135
BaseObject::getIndex
unsigned int getIndex() const
Returns the index of the object in the handler.
Definition: BaseObject.h:118
ConstantMassFlowMaserBoundary::distanceLeft_
Mdouble distanceLeft_
position of left boundary wall, s.t. normal*x=position_left
Definition: ConstantMassFlowMaserBoundary.h:265
DPMBase.h
BaseInteraction.h
DPM::computeLocalCGHGrid
Mdouble computeLocalCGHGrid(Vec3D position, Mdouble cutoff, T cgValue(BaseParticle *))
Definition: ComputeVolumeFractionSelfTest.cpp:125
SphericalParticle
A spherical particle is the most simple particle used in MercuryDPM.
Definition: SphericalParticle.h:37
ConstantMassFlowMaserBoundary::actionsBeforeTimeLoop
void actionsBeforeTimeLoop() override
Does everything that needs to be done for this boundary between setupInitialConditions and the time l...
Definition: ConstantMassFlowMaserBoundary.cc:412
ConstantMassFlowMaserBoundary::activateMaser
void activateMaser()
Opens the gap, and transforms particles to maser particles. Also calls turnOnCopying().
Definition: ConstantMassFlowMaserBoundary.cc:425
Vec3D::Y
Mdouble Y
Definition: Vector.h:65
main
int main(int argc UNUSED, char *argv[] UNUSED)
Definition: ComputeVolumeFractionSelfTest.cpp:178
ConstantMassFlowMaserBoundary::addParticleToMaser
void addParticleToMaser(BaseParticle *p)
Converts a 'normal' particle into a maser particle.
Definition: ConstantMassFlowMaserBoundary.cc:328
constants::i
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51
ConstantMassFlowMaserBoundary::gapSize_
Mdouble gapSize_
distance between the right side of the periodic domain and the start of the outflow domain.
Definition: ConstantMassFlowMaserBoundary.h:285
ConstantMassFlowMaserBoundary::turnOffCopying
void turnOffCopying()
Stop copying particles.
Definition: ConstantMassFlowMaserBoundary.cc:494
ConstantMassFlowMaserBoundary::checkBoundaryAfterParticleMoved
bool checkBoundaryAfterParticleMoved(BaseParticle *p, ParticleHandler &pH)
Shifts the particle to its 'periodic' position if it is a maser particle and has crossed either of th...
Definition: ConstantMassFlowMaserBoundary.cc:274
ConstantMassFlowMaserBoundary::isNormalParticle
bool isNormalParticle(BaseParticle *p) const
Returns true if the particle is a Normal particle, and false otherwise.
Definition: ConstantMassFlowMaserBoundary.cc:403
ConstantMassFlowMaserBoundary::checkBoundaryAfterParticlesMove
void checkBoundaryAfterParticlesMove(ParticleHandler &pH) override
Evaluates what the particles have to do after they have changed position.
Definition: ConstantMassFlowMaserBoundary.cc:306
BaseObject::setIndex
void setIndex(unsigned int index)
Allows one to assign an index to an object in the handler/container.
Definition: BaseObject.cc:64
ConstantMassFlowMaserBoundary::read
void read(std::istream &is) override
reads boundary properties from istream
Definition: ConstantMassFlowMaserBoundary.cc:120
BaseHandler::getObject
T * getObject(const unsigned int id)
Gets a pointer to the Object at the specified index in the BaseHandler.
Definition: BaseHandler.h:613
ConstantMassFlowMaserBoundary::getGapSize
Mdouble getGapSize() const
Definition: ConstantMassFlowMaserBoundary.cc:518
BaseObject::getId
unsigned int getId() const
Returns the unique identifier of any particular object.
Definition: BaseObject.h:125
BaseHandler::getDPMBase
DPMBase * getDPMBase()
Gets the problem that is solved using this handler.
Definition: BaseHandler.h:725
ConstantMassFlowMaserBoundary::removeParticleFromMaser
void removeParticleFromMaser(BaseParticle *p)
Convert a maser particle into a 'normal' particle.
Definition: ConstantMassFlowMaserBoundary.cc:377
ConstantMassFlowMaserBoundary::createPeriodicParticle
void createPeriodicParticle(BaseParticle *p, ParticleHandler &pH) override
Creates periodic particles when the particle is a maser particle and is sufficiently close to one of ...
Definition: ConstantMassFlowMaserBoundary.cc:204
DPM::setupInitialConditions
void setupInitialConditions() override
This function allows to set the initial conditions for our problem to be solved, by default particle ...
Definition: ComputeVolumeFractionSelfTest.cpp:40
BaseParticle
Definition: BaseParticle.h:54
ParticleHandler::addObject
void addObject(BaseParticle *P) override
Adds a BaseParticle to the ParticleHandler.
Definition: ParticleHandler.cc:170
UNUSED
#define UNUSED
Definition: GeneralDefine.h:39
BaseHandler::copyAndAddObject
std::enable_if<!std::is_pointer< U >::value, U * >::type copyAndAddObject(const U &object)
Creates a copy of a Object and adds it to the BaseHandler.
Definition: BaseHandler.h:379
BaseParticle::getMaxInteractionRadius
Mdouble getMaxInteractionRadius() const
Returns the particle's interaction radius, which might be different from radius_ (e....
Definition: BaseParticle.h:362
BaseParticle::getHGridCell
const HGridCell & getHGridCell() const
Definition: BaseParticle.h:648
n
const unsigned n
Definition: CG3DPackingUnitTest.cpp:32
ConstantMassFlowMaserBoundary.h
BaseHandler::begin
const std::vector< T * >::const_iterator begin() const
Gets the begin of the const_iterator over all Object in this BaseHandler.
Definition: BaseHandler.h:690
PeriodicBoundary
Defines a pair of periodic walls. Inherits from BaseBoundary.
Definition: PeriodicBoundary.h:41
ConstantMassFlowMaserBoundary::shiftPosition
void shiftPosition(BaseParticle *p) const
Shifts the particle to its 'periodic' position.
Definition: ConstantMassFlowMaserBoundary.cc:179
BaseBoundary::getHandler
BoundaryHandler * getHandler() const
Returns the boundary's BoundaryHandler.
Definition: BaseBoundary.cc:143
ParticleHandler
Container to store all BaseParticle.
Definition: ParticleHandler.h:48
ParticleHandler::getLargestParticleLocal
BaseParticle * getLargestParticleLocal() const
Gets a pointer to the largest BaseParticle (by interactionRadius) in the ParticleHandler of the local...
Definition: ParticleHandler.cc:522
ConstantMassFlowMaserBoundary::getDistance
Mdouble getDistance(BaseParticle *p) const
Returns the distance of the wall to the particle.
Definition: ConstantMassFlowMaserBoundary.h:251
ParticleHandler::removeObject
void removeObject(unsigned int index) override
Removes a BaseParticle from the ParticleHandler.
Definition: ParticleHandler.cc:390
DPMBase::particleHandler
ParticleHandler particleHandler
An object of the class ParticleHandler, contains the pointers to all the particles created.
Definition: DPMBase.h:1395
Vec3D::Z
Mdouble Z
Definition: Vector.h:65
BaseBoundary.h
DPM::computeLocalVolumeFractionHGridCompact
Mdouble computeLocalVolumeFractionHGridCompact(Vec3D position, Mdouble cutoff)
Definition: ComputeVolumeFractionSelfTest.cpp:171
Mercury3D.h
BaseHandler::end
const std::vector< T * >::const_iterator end() const
Gets the end of the const_iterator over all BaseBoundary in this BaseHandler.
Definition: BaseHandler.h:704
BaseParticle.h
ConstantMassFlowMaserBoundary::maserIsActivated_
bool maserIsActivated_
Flag whether or not the gap is created and particles transformed already.
Definition: ConstantMassFlowMaserBoundary.h:309
Vec3D::getLengthSquared
Mdouble getLengthSquared() const
Calculates the squared length of this Vec3D: .
Definition: Vector.cc:184
HGrid::getFirstBaseParticleInBucket
const BaseParticle * getFirstBaseParticleInBucket(unsigned int i) const
Gets the first BaseParticle in the given bucket, const version.
Definition: HGrid.h:162
BaseInteractable::getPosition
const Vec3D & getPosition() const
Returns the position of this BaseInteractable.
Definition: BaseInteractable.h:218