Go to the documentation of this file.
21 #ifndef __insertionRegion_hpp__
22 #define __insertionRegion_hpp__
225 #endif //__insertionRegion_hpp__
uint32 numInserted_
number of inserted particles
TypeInfoNV("insertionRegion")
Type info.
word type_
type of insertion region
uint32 numberToBeInserted(uint32 iter, real t, real dt)
uint32 addToNumInserted(uint32 newInserted)
const auto & Insertion() const
insertionRegion(const word &name, const insertion &instn)
Construct from a dictionary.
const pointStructure & pStruct() const
bool timeEvent(uint32 iter, real t, real dt) const
const auto & setFieldList() const
This class defines all the necessary enteties for defining an insertion region.
bool write(dictionary &dict) const
read from dictionary
uniquePtr< shapeMixture > mixture_
mixture of shapes
uniquePtr< dictionary > setFieldDict_
dictionary for set field
baseTimeControl tControl_
time control for insertion events
const auto & name() const
Const ref to name of the region.
const insertion & insertion_
ref to insertion
anyList setFieldList_
list of (filedName type value) for the fields
uint32 totalInserted() const
const dictionary & dict_
insertion region dictionary
const auto & type() const
return type of insertion region
bool writeInsertionRegion(dictionary &dict) const
write to dictionary
const auto & dict() const
const word name_
name of this region
bool insertionTime(uint32 iter, real t, real dt) const
uniquePtr< peakableRegion > pRegion_
peakable region of points
real rate_
rate of insertion
bool readInsertionRegion(const dictionary &dict)
read from dictionary
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
~insertionRegion()=default
Destructor.
Base class for particle insertion.