Particle insertion (domain check)

- Domain check is added to prevent points that are outside of internalDomainBox
This commit is contained in:
Hamidreza Norouzi
2024-04-13 01:41:11 -07:00
parent 9c2a9a81b0
commit 89d7e1f0ba
16 changed files with 109 additions and 27 deletions

View File

@ -31,6 +31,7 @@ namespace pFlow
class dictionary;
class insertion;
class pointStructure;
/**
* This class defines all the necessary enteties for defining an insertion
@ -92,7 +93,7 @@ private:
/// insertion region dictionary
const dictionary& dict_;
/// ref to pointStructure
/// ref to insertion
const insertion& insertion_;
/// @brief time control for insertion events
@ -163,6 +164,8 @@ public:
return insertion_;
}
const pointStructure& pStruct()const;
inline bool insertionTime(uint32 iter, real t, real dt) const
{
return tControl_.timeEvent(iter, t, dt);