sphereParticles tested

This commit is contained in:
Hamidreza Norouzi
2024-01-26 01:10:10 -08:00
parent 206df8924e
commit 0df384f546
16 changed files with 277 additions and 273 deletions

View File

@ -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