ExtractScalarField.cpp
103 built = (built && createPortIn<dmpvector1D*, ExtractScalarField>(this, &mimmo::ExtractScalarField::setField, M_SCALARFIELD, true));
104 built = (built && createPortOut<dmpvector1D*, ExtractScalarField>(this, &mimmo::ExtractScalarField::getExtractedField, M_SCALARFIELD));
301 livector1D cellExtracted = mimmo::skdTreeUtils::selectByGlobalPatch(m_field.getGeometry()->getSkdTree(), getGeometry()->getSkdTree(), m_tol);
303 livector1D cellExtracted = mimmo::skdTreeUtils::selectByPatch(m_field.getGeometry()->getSkdTree(), getGeometry()->getSkdTree(), m_tol);
ExtractScalarField is specialized derived class of ExtractField to extract a scalar field of doubles.
Definition: ExtractFields.hpp:180
ExtractScalarField()
Definition: ExtractScalarField.cpp:33
ExtractScalarField & operator=(const ExtractScalarField &other)
Definition: ExtractScalarField.cpp:75
MPVLocation
Define data location for the MimmoPiercedVector field.
Definition: MimmoPiercedVector.hpp:39
void setName(std::string name)
Definition: MimmoPiercedVector.tpp:364
@ CELL
bool checkDataIdsCoherence()
Definition: MimmoPiercedVector.tpp:412
MPVLocation getDataLocation()
Definition: MimmoPiercedVector.tpp:190
ExtractField is an abstract executable block class for extracting/restricting an input field defined ...
Definition: ExtractFields.hpp:95
void swap(ExtractScalarField &x) noexcept
Definition: ExtractScalarField.cpp:86
void warningXML(bitpit::Logger *log, std::string name)
Definition: MimmoNamespace.cpp:211
void plotOptionalResults()
Definition: ExtractScalarField.cpp:151
@ INTERFACE
MimmoSharedPointer< MimmoObject > getGeometry() const
Definition: MimmoPiercedVector.tpp:170
void write(MimmoSharedPointer< MimmoObject > geometry)
Definition: BaseManipulation.cpp:979
ExtractField & operator=(const ExtractField &other)
Definition: ExtractFields.cpp:67
virtual ~ExtractScalarField()
Definition: ExtractScalarField.cpp:59
dmpvector1D getOriginalField()
Definition: ExtractScalarField.cpp:123
std::vector< long > selectByPatch(bitpit::PatchSkdTree *selection, bitpit::PatchSkdTree *target, double tol)
Definition: SkdTreeUtils.cpp:251
void setGeometry(MimmoSharedPointer< MimmoObject > geo)
Definition: MimmoPiercedVector.tpp:314
void setField(dmpvector1D *field)
Definition: ExtractScalarField.cpp:132
@ POINT
@ UNDEFINED
void setDataLocation(MPVLocation loc)
Definition: MimmoPiercedVector.tpp:324
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: ExtractFields.cpp:157
dmpvector1D * getExtractedField()
Definition: ExtractScalarField.cpp:114
MimmoSharedPointer< MimmoObject > getGeometry()
Definition: BaseManipulation.cpp:235
@ MAPPING