SelectScalarField.cpp
106 built = (built && createPortIn<std::vector<dmpvector1D*>, SelectScalarField>(this, &mimmo::SelectScalarField::setFields, M_VECSCALARFIELDS, true, 1));
107 built = (built && createPortIn<dmpvector1D*, SelectScalarField>(this, &mimmo::SelectScalarField::addField, M_SCALARFIELD, true, 1));
108 built = (built && createPortOut<dmpvector1D*, SelectScalarField>(this, &mimmo::SelectScalarField::getSelectedField, M_SCALARFIELD));
280 void SelectScalarField::absorbSectionXML(const bitpit::Config::Section & slotXML, std::string name){
293 (*m_log)<<"Error absorbing DataLocation in "<<m_name<<". Class and read locations mismatch"<<std::endl;
void addField(dmpvector1D *field)
Definition: SelectScalarField.cpp:145
dmpvector1D * getSelectedField()
Definition: SelectScalarField.cpp:119
MPVLocation
Define data location for the MimmoPiercedVector field.
Definition: MimmoPiercedVector.hpp:39
void setName(std::string name)
Definition: MimmoPiercedVector.tpp:364
MPVLocation getDataLocation()
Definition: MimmoPiercedVector.tpp:190
void warningXML(bitpit::Logger *log, std::string name)
Definition: MimmoNamespace.cpp:211
virtual ~SelectScalarField()
Definition: SelectScalarField.cpp:76
@ NAME
void swap(SelectScalarField &) noexcept
Definition: SelectScalarField.cpp:91
SelectScalarField is specialized derived class of SelectField to Select a scalar field.
Definition: SelectField.hpp:192
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectScalarField.cpp:280
MimmoSharedPointer< MimmoObject > getGeometry() const
Definition: MimmoPiercedVector.tpp:170
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectField.cpp:164
@ MAPPING
void write(MimmoSharedPointer< MimmoObject > geometry)
Definition: BaseManipulation.cpp:979
virtual void flushSectionXML(bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectScalarField.cpp:308
@ GEOMETRY
mimmo::MimmoPiercedVector< double > dmpvector1D
Definition: MimmoPiercedVector.hpp:125
void setGeometry(MimmoSharedPointer< MimmoObject > geo)
Definition: MimmoPiercedVector.tpp:314
@ POINT
@ UNDEFINED
SelectScalarField(MPVLocation loc=MPVLocation::POINT)
Definition: SelectScalarField.cpp:36
void setDataLocation(MPVLocation loc)
Definition: MimmoPiercedVector.tpp:324
SelectField is an abstract executable block class capable of Selecting a field from a list of fields.
Definition: SelectField.hpp:97
MimmoSharedPointer< MimmoObject > getGeometry()
Definition: BaseManipulation.cpp:235
@ MAPPING
void plotOptionalResults()
Definition: SelectScalarField.cpp:167
virtual void flushSectionXML(bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectField.cpp:207
void setFields(std::vector< dmpvector1D * > fields)
Definition: SelectScalarField.cpp:128