mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
readme.md for particlesPhasicFlow and change diameter to distance in dict files
This commit is contained in:
@ -79,7 +79,7 @@ bool pFlow::positionOrdered::positionPointsOrdered()
|
||||
{
|
||||
position_.clear();
|
||||
|
||||
realx3 dl(diameter_);
|
||||
realx3 dl(distance_);
|
||||
const auto& region = pRegion();
|
||||
auto minP = region.minPoint();
|
||||
auto maxP = region.maxPoint();
|
||||
@ -131,9 +131,9 @@ pFlow::positionOrdered::positionOrdered
|
||||
(
|
||||
dict.subDict("orderedInfo")
|
||||
),
|
||||
diameter_
|
||||
distance_
|
||||
(
|
||||
poDict_.getVal<real>("diameter")
|
||||
poDict_.getVal<real>("distance")
|
||||
),
|
||||
numPoints_
|
||||
(
|
||||
|
@ -35,7 +35,8 @@ private:
|
||||
|
||||
dictionary poDict_;
|
||||
|
||||
real diameter_;
|
||||
/// Minimum distance between centers of particles
|
||||
real distance_;
|
||||
|
||||
uint32 numPoints_;
|
||||
|
||||
@ -86,9 +87,10 @@ public:
|
||||
return static_cast<uint32>(position_.size());
|
||||
}
|
||||
|
||||
real maxDiameter() const final
|
||||
/// Minimum distance between centers of particles
|
||||
real distance() const final
|
||||
{
|
||||
return diameter_;
|
||||
return distance_;
|
||||
}
|
||||
|
||||
// - const access to position
|
||||
|
Reference in New Issue
Block a user