particles and sphereParticles classes were tested for exit boundary

This commit is contained in:
Hamidreza Norouzi
2024-03-22 08:26:14 -07:00
parent acfaacfe4a
commit 49af1119f9
15 changed files with 287 additions and 92 deletions

View File

@ -23,6 +23,10 @@ Licence:
bool pFlow::baseShapeNames::createHashNames()
{
hashNames_.clear();
hashes_.clear();
std::hash<word> hasher;
uint32 i=0;
for(const auto& nm:shapeNames_)
{
@ -32,6 +36,7 @@ bool pFlow::baseShapeNames::createHashNames()
" repeated name in the list of shape names: " << shapeNames_;
return false;
}
hashes_.push_back(hasher(nm));
i++;
}
hashNames_.rehash(0);