mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
Particle insertion (domain check)
- Domain check is added to prevent points that are outside of internalDomainBox
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user