mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-18 03:17:04 +00:00
change of namespace from pFlow to pFlow::postprocessData
This commit is contained in:
src/PostprocessData
fieldsDataBase
fieldFunctions.hppfieldsDataBase.cppfieldsDataBase.hppfieldsDataBaseDclr.hppfieldsDataBaseTemplates.cppsimulationFieldsDataBase.cppsimulationFieldsDataBase.hpp
operation
PostprocessOperation
PostprocessOperationAvMassVelocity.cppPostprocessOperationAvMassVelocity.hppPostprocessOperationAverage.cppPostprocessOperationAverage.hppPostprocessOperationSum.cppPostprocessOperationSum.hppoperationFunctions.hpp
includeMask
postprocessOperation
postprocessComponent
PostprocessComponent
PostprocessComponent.cppPostprocessComponent.hppPostprocessComponentArithmetic.hppPostprocessComponentGaussian.hppPostprocessComponentUniform.hppPostprocessComponents.cpp
particleProbePostprocessComponent
postprocessComponent
postprocessData
readme.mdregion
regionFields
regionPoints
centerPointsRegionPoints
lineRegionPoints
multipleSpheresRegionPoints
regionPoints
sphereRegionPoints
@ -1,4 +1,3 @@
|
||||
|
||||
/*------------------------------- phasicFlow ---------------------------------
|
||||
O C enter of
|
||||
O O E ngineering and
|
||||
@ -25,7 +24,7 @@ Licence:
|
||||
#include "postprocessGlobals.hpp"
|
||||
#include "postprocessComponent.hpp"
|
||||
|
||||
pFlow::postprocessData::postprocessData
|
||||
pFlow::postprocessData::postprocessData::postprocessData
|
||||
(
|
||||
const systemControl &control,
|
||||
timeValue startTime
|
||||
@ -45,7 +44,7 @@ pFlow::postprocessData::postprocessData
|
||||
)
|
||||
)
|
||||
{
|
||||
postProcessGlobals::defaultDir__ = CWD()/pFlow::postProcessGlobals::defaultRelDir__;
|
||||
defaultDir__ = CWD()/defaultRelDir__;
|
||||
|
||||
// if dictionary is not provided, no extra action is required.
|
||||
if( !dict_.fileExist() || !dict_.headerOk() )
|
||||
@ -98,7 +97,7 @@ pFlow::postprocessData::postprocessData
|
||||
|
||||
}
|
||||
|
||||
bool pFlow::postprocessData::execute()
|
||||
bool pFlow::postprocessData::postprocessData::execute()
|
||||
{
|
||||
if( inSimulation_ && !activeInSimulation_() ) return true;
|
||||
|
||||
@ -118,7 +117,7 @@ bool pFlow::postprocessData::execute()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool pFlow::postprocessData::write() const
|
||||
bool pFlow::postprocessData::postprocessData::write() const
|
||||
{
|
||||
if( inSimulation_ && !activeInSimulation_() ) return true;
|
||||
|
||||
@ -129,7 +128,7 @@ bool pFlow::postprocessData::write() const
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!component->write(postProcessGlobals::defaultDir__/component->name()))
|
||||
if(!component->write(defaultDir__/component->name()))
|
||||
{
|
||||
fatalErrorInFunction
|
||||
<<"Error occured in writing postprocess component: "
|
||||
@ -140,7 +139,7 @@ bool pFlow::postprocessData::write() const
|
||||
return true;
|
||||
}
|
||||
|
||||
void pFlow::postprocessData::setOutputDirectory(const fileSystem &path) const
|
||||
void pFlow::postprocessData::postprocessData::setOutputDirectory(const fileSystem &path) const
|
||||
{
|
||||
postProcessGlobals::defaultDir__ = path;
|
||||
defaultDir__ = path;
|
||||
}
|
||||
|
Reference in New Issue
Block a user