replace action by operation in postprocessPhasicFlow

This commit is contained in:
hamidrezanorouzi
2022-10-10 12:48:36 +03:30
parent 0eae4ef319
commit e83eeffd7b
3 changed files with 8 additions and 8 deletions

View File

@ -103,25 +103,25 @@ public:
rectMeshField_H<real> denomerator( this->mesh(), real{} );
if(action() == "sum")
if(operation() == "sum")
{
denomerator = rectMeshField_H<real>(this->mesh(), static_cast<real>(1.0));
}else if(action() == "average")
}else if(operation() == "average")
{
pointField_H<real> oneFld(field_.pStruct(), static_cast<real>(1.0), static_cast<real>(1.0));
denomerator = sumOp(oneFld, this->pointToCell());
}else if(action() == "averageMask")
}else if(operation() == "averageMask")
{
pointField_H<real> oneFld(field_.pStruct(), static_cast<real>(1.0), static_cast<real>(1.0));
denomerator = sumMaksOp(oneFld, this->pointToCell(), incMask);
}else
{
fatalErrorInFunction<<"action is not known: "<< action()<<endl;
fatalErrorInFunction<<"operation is not known: "<< operation()<<endl;
fatalExit;
}