mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-28 03:27:05 +00:00
rectMesh postProcess revisited
This commit is contained in:
@ -178,4 +178,26 @@ bool PostprocessOperationAverage::write(const fileSystem &parDir) const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool PostprocessOperationAverage::write(iOstream &os) const
|
||||
{
|
||||
if(! postprocessOperation::write(os))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if(!calculateFluctuation2_())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return
|
||||
std::visit
|
||||
(
|
||||
[&](auto&& arg)->bool
|
||||
{
|
||||
return arg.writeFieldToVtk(os);
|
||||
},
|
||||
fluctuation2FieldPtr_()
|
||||
);
|
||||
}
|
||||
|
||||
} // namespace pFlow::postprocessData
|
Reference in New Issue
Block a user