mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
sphereParticles tested
This commit is contained in:
@ -21,9 +21,9 @@ Licence:
|
||||
#include "sphereShape.hpp"
|
||||
|
||||
|
||||
bool pFlow::sphereShape::readDictionary()
|
||||
bool pFlow::sphereShape::readFromDictionary3()
|
||||
{
|
||||
|
||||
|
||||
diameters_ = getVal<realVector>("diameters");
|
||||
|
||||
if(diameters_.size() != numShapes() )
|
||||
@ -61,6 +61,11 @@ pFlow::sphereShape::sphereShape
|
||||
shape(fileName, owner, prop)
|
||||
{
|
||||
|
||||
if(!readFromDictionary3())
|
||||
{
|
||||
fatalExit;
|
||||
fatalErrorInFunction;
|
||||
}
|
||||
}
|
||||
|
||||
pFlow::real pFlow::sphereShape::maxBoundingSphere() const
|
||||
|
Reference in New Issue
Block a user