mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
pointStructure with boundaries, construction tested
This commit is contained in:
@ -158,10 +158,11 @@ bool pFlow::positionRandom::inCollision
|
||||
|
||||
pFlow::positionRandom::positionRandom
|
||||
(
|
||||
systemControl& control,
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
positionParticles(dict),
|
||||
positionParticles(control, dict),
|
||||
prDict_
|
||||
(
|
||||
dict.subDict("positionRandomInfo")
|
||||
|
@ -66,7 +66,9 @@ public:
|
||||
// - type Info
|
||||
TypeInfo("positionRandom");
|
||||
|
||||
positionRandom(const dictionary& dict);
|
||||
positionRandom(
|
||||
systemControl& control,
|
||||
const dictionary& dict);
|
||||
|
||||
// - add this class to vCtor selection table
|
||||
add_vCtor(
|
||||
@ -78,12 +80,12 @@ public:
|
||||
|
||||
//// - Methods
|
||||
|
||||
virtual label numPoints()const
|
||||
virtual uint64 numPoints()const
|
||||
{
|
||||
return position_.size();
|
||||
}
|
||||
|
||||
virtual label size()const
|
||||
virtual uint64 size()const
|
||||
{
|
||||
return position_.size();
|
||||
}
|
||||
|
Reference in New Issue
Block a user