ExtractStringField.cpp
103 built = (built && createPortIn<MimmoPiercedVector<std::string>*, ExtractStringField>(this, &mimmo::ExtractStringField::setField, M_STRINGFIELD, true));
104 built = (built && createPortOut<MimmoPiercedVector<std::string>*, ExtractStringField>(this, &mimmo::ExtractStringField::getExtractedField, M_STRINGFIELD));
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);
ExtractStringField()
Definition: ExtractStringField.cpp:33
MimmoPiercedVector< std::string > getOriginalField()
Definition: ExtractStringField.cpp:123
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 warningXML(bitpit::Logger *log, std::string name)
Definition: MimmoNamespace.cpp:211
void setField(MimmoPiercedVector< std::string > *field)
Definition: ExtractStringField.cpp:132
@ 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
ExtractStringField & operator=(const ExtractStringField &other)
Definition: ExtractStringField.cpp:75
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
@ POINT
void plotOptionalResults()
Definition: ExtractStringField.cpp:151
@ UNDEFINED
void setDataLocation(MPVLocation loc)
Definition: MimmoPiercedVector.tpp:324
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: ExtractFields.cpp:157
MimmoPiercedVector< std::string > * getExtractedField()
Definition: ExtractStringField.cpp:114
virtual ~ExtractStringField()
Definition: ExtractStringField.cpp:59
void swap(ExtractStringField &x) noexcept
Definition: ExtractStringField.cpp:86
MimmoSharedPointer< MimmoObject > getGeometry()
Definition: BaseManipulation.cpp:235
@ MAPPING
ExtractStringField is specialized derived class of ExtractField to extract a scalar field of string.
Definition: ExtractFields.hpp:426