mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-28 03:27:05 +00:00
bug fixes for builiding with float for postpropcessPhasicFlow
This commit is contained in:
@ -110,13 +110,13 @@ public:
|
|||||||
}else if(action() == "average")
|
}else if(action() == "average")
|
||||||
{
|
{
|
||||||
|
|
||||||
pointField_H<real> oneFld(field_.pStruct(), 1.0, 1.0);
|
pointField_H<real> oneFld(field_.pStruct(), static_cast<real>(1.0), static_cast<real>(1.0));
|
||||||
|
|
||||||
denomerator = sumOp(oneFld, this->pointToCell());
|
denomerator = sumOp(oneFld, this->pointToCell());
|
||||||
|
|
||||||
}else if(action() == "averageMask")
|
}else if(action() == "averageMask")
|
||||||
{
|
{
|
||||||
pointField_H<real> oneFld(field_.pStruct(), 1.0, 1.0);
|
pointField_H<real> oneFld(field_.pStruct(), static_cast<real>(1.0), static_cast<real>(1.0));
|
||||||
|
|
||||||
denomerator = sumMaksOp(oneFld, this->pointToCell(), incMask);
|
denomerator = sumMaksOp(oneFld, this->pointToCell(), incMask);
|
||||||
}else
|
}else
|
||||||
|
Reference in New Issue
Block a user