rectMesh postProcess revisited
This commit is contained in:
@ -152,11 +152,25 @@ bool pFlow::postprocessData::PostprocessComponent<RegionType, ProcessMethodType>
|
||||
}
|
||||
else
|
||||
{
|
||||
notImplementedFunction;
|
||||
return false;
|
||||
}
|
||||
|
||||
word chNum = real2FixedStripZeros(database().time().currentTime() *1000000, 0);
|
||||
fileSystem file = parDir + (name() +"-"+chNum+".vtk");
|
||||
|
||||
auto osPtr = makeUnique<oFstream>(file);
|
||||
|
||||
regPoints().write(osPtr());
|
||||
|
||||
for(auto& operation:operatios_)
|
||||
{
|
||||
if(!operation->write(osPtr()))
|
||||
{
|
||||
fatalErrorInFunction
|
||||
<<"Error occurred in writing operation defined in dict "
|
||||
<< operation->operationDict()
|
||||
<<endl;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -53,7 +53,7 @@ private:
|
||||
|
||||
regionField<real> volumeFactor_;
|
||||
|
||||
bool executed_{false};
|
||||
bool executed_{false};
|
||||
|
||||
dictionaryList operationDicts_;
|
||||
|
||||
@ -122,8 +122,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
#include "PostprocessComponent.cpp"
|
||||
|
||||
@ -47,8 +47,8 @@ public:
|
||||
:
|
||||
PostprocessComponent<RegionType,GaussianDistribution>(dict, fieldsDB, defaultTimeControl)
|
||||
{
|
||||
/// initializes the Gaussian distribution for all elements of region
|
||||
//const uint32 n = this->regPoints().size();
|
||||
|
||||
this->regPoints().setRegionExtension(2);
|
||||
auto d = this->regPoints().eqDiameters();
|
||||
auto c = this->regPoints().centers();
|
||||
auto& regs = this->regionProecessMethod();
|
||||
|
||||
Reference in New Issue
Block a user