pointStructure with boundaries, construction tested

This commit is contained in:
Hamidreza Norouzi
2023-12-17 15:27:05 +03:30
parent 143a586730
commit f1baff5a59
53 changed files with 1957 additions and 791 deletions

View File

@ -76,6 +76,7 @@ pFlow::realx3Vector pFlow::positionParticles::sortByMortonCode(realx3Vector& pos
pFlow::positionParticles::positionParticles
(
systemControl& control,
const dictionary& dict
)
{
@ -95,6 +96,11 @@ pFlow::positionParticles::positionParticles
{
region_ = makeUnique<region<sphere>>(dict.subDict("sphere"));
}
else
{
region_ = makeUnique<region<box>>( control.domainDict().subDict("globalBox"));
}
}