Go to the documentation of this file.
20 #ifndef __insertion_hpp__
21 #define __insertion_hpp__
const pointStructure & pStruct() const
bool readFromFile() const
Logical increaseVelocity_
if increase velocity in case particles are failed to be inserted due to collision
bool isActive() const
is Insertion active
particles & particles_
Ref to particles.
const particles & Particles() const
bool checkForCollision() const
Logical checkForCollision_
Check for collision? It is not active now.
virtual dictionary & dict()
ref to this dictionary, if it is a dictionary
insertion(particles &prtcl)
Construct from component.
virtual bool writeInsertionDict(dictionary &dict) const
Write to dictionary.
Logical active_
Is insertion active.
const word & diameterName() const
Holds a bool value and converts strings to bool.
bool write(iOstream &os, const IOPattern &iop) const override
write to stream
const word & velocityName() const
~insertion() override=default
Destructor.
TypeInfo("insertion")
Type info.
Interface class for any output stream.
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
Base class for particle insertion.
bool write(iOstream &os, const IOPattern &iop) const override
write to iOstream
bool readInsertionDict()
Read from dictionary.