#include "Time.hpp" #include "simulationFieldsDataBase.hpp" #include "dynamicPointStructure.hpp" #include "vocabs.hpp" bool pFlow::postprocessData::simulationFieldsDataBase::pointFieldNameExists(const word &name) const { return time().lookupObjectName(name); } bool pFlow::postprocessData::simulationFieldsDataBase::loadPointFieldToTime(const word &name) { return time().lookupObjectName(name); } bool pFlow::postprocessData::simulationFieldsDataBase::loadPointStructureToTime() { // it is already in the Time object return time().lookupObjectName(pointStructureFile__); } const pFlow::shape& pFlow::postprocessData::simulationFieldsDataBase::getShape() const { return shape_; } pFlow::word pFlow::postprocessData::simulationFieldsDataBase::getPointFieldType ( const word &name ) const { word pfType = time().lookupObjectTypeName(name); word type, space; if(!fieldsDataBase::pointFieldGetType(pfType, type, space)) { fatalErrorInFunction <<"Error in retriving the type of pointField " << pfType<(*control.caseSetup().lookupObjectPtr(shapeFile__)) ) { } const pFlow::pointStructure &pFlow::postprocessData::simulationFieldsDataBase::pStruct() const { return static_cast ( time().lookupObject(pointStructureFile__) ); }