MimmoPiercedVector.hpp
68 MimmoPiercedVector(MimmoSharedPointer<MimmoObject> geo = nullptr, MPVLocation loc = MPVLocation::UNDEFINED);
104 MimmoPiercedVector cellDataToPointData(const MimmoPiercedVector<mpv_t> & cellGradientsX, const MimmoPiercedVector<mpv_t> & cellGradientsY, const MimmoPiercedVector<mpv_t> & cellGradientsZ, bool maximum = false);
143 mimmo::IBinaryStream& operator>>(mimmo::IBinaryStream &buf,mimmo::MimmoPiercedVector<T>& element);
145 mimmo::OBinaryStream& operator<<(mimmo::OBinaryStream &buf, const mimmo::MimmoPiercedVector<T>& element);
MPVLocation getConstDataLocation() const
Definition: MimmoPiercedVector.tpp:180
bool intIsValidLocation(int &)
Definition: MimmoPiercedVector.tpp:518
mimmo::MimmoPiercedVector< bool > bmpvector1D
Definition: MimmoPiercedVector.hpp:123
MimmoPiercedVector cellDataToPointData(double p=0.)
Definition: MimmoPiercedVector.tpp:682
MimmoPiercedVector & operator=(MimmoPiercedVector< mpv_t > other)
Definition: MimmoPiercedVector.tpp:121
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
mimmo custom derivation of bitpit OBinaryStream (see relative doc)
Definition: mimmo_binary_stream.hpp:55
MPVLocation getDataLocation()
Definition: MimmoPiercedVector.tpp:190
bool completeMissingData(const mpv_t &defValue)
Definition: MimmoPiercedVector.tpp:567
void setData(std::vector< mpv_t > &rawdata)
Definition: MimmoPiercedVector.tpp:348
MimmoPiercedVector pointDataToCellData(double p=0.)
Definition: MimmoPiercedVector.tpp:645
void squeezeOutExcept(const std::vector< long int > &list, bool keepOrder=false)
Definition: MimmoPiercedVector.tpp:864
bitpit::PiercedVector< std::pair< bool, uint8_t >, long > btpvector1D
Definition: MimmoPiercedVector.hpp:124
@ INTERFACE
MimmoPiercedVector is the basic data container for mimmo library.
Definition: MimmoPiercedVector.hpp:60
MimmoSharedPointer< MimmoObject > getGeometry() const
Definition: MimmoPiercedVector.tpp:170
mimmo::OBinaryStream & operator<<(mimmo::OBinaryStream &buf, const mimmo::MimmoPiercedVector< T > &element)
Definition: MimmoPiercedVector.tpp:66
mimmo::IBinaryStream & operator>>(mimmo::IBinaryStream &buf, mimmo::MimmoPiercedVector< T > &element)
Definition: MimmoPiercedVector.tpp:32
void initialize(MimmoSharedPointer< MimmoObject >, MPVLocation, const mpv_t &)
Definition: MimmoPiercedVector.tpp:593
mimmo::MimmoPiercedVector< double > dmpvector1D
Definition: MimmoPiercedVector.hpp:125
void setGeometry(MimmoSharedPointer< MimmoObject > geo)
Definition: MimmoPiercedVector.tpp:314
@ POINT
std::vector< mpv_t > getInternalDataAsVector(bool ordered=false, bool squeeze=true)
Definition: MimmoPiercedVector.tpp:238
virtual ~MimmoPiercedVector()
Definition: MimmoPiercedVector.tpp:102
@ UNDEFINED
void setDataLocation(MPVLocation loc)
Definition: MimmoPiercedVector.tpp:324
MimmoPiercedVector< mpv_t > resizeToCoherentDataIds()
Definition: MimmoPiercedVector.tpp:458
mimmo custom derivation of bitpit IBinaryStream (see relative doc)
Definition: mimmo_binary_stream.hpp:41
std::vector< mpv_t > getDataAsVector(bool ordered=false)
Definition: MimmoPiercedVector.tpp:214
mimmo::MimmoPiercedVector< std::vector< double > > dmpvector2D
Definition: MimmoPiercedVector.hpp:126
void swap(MimmoPiercedVector< mpv_t > &x) noexcept
Definition: MimmoPiercedVector.tpp:143
std::vector< mpv_t > getRawDataAsVector(bool ordered=false)
Definition: MimmoPiercedVector.tpp:297
bool checkDataSizeCoherence()
Definition: MimmoPiercedVector.tpp:378
MimmoPiercedVector(MimmoSharedPointer< MimmoObject > geo=nullptr, MPVLocation loc=MPVLocation::UNDEFINED)
Definition: MimmoPiercedVector.tpp:91
mimmo::MimmoPiercedVector< std::vector< long int > > limpvector2D
Definition: MimmoPiercedVector.hpp:128
std::size_t getDataFrom(const MimmoPiercedVector< mpv_t > &other, bool strict=false)
Definition: MimmoPiercedVector.tpp:840
mimmo::MimmoPiercedVector< long int > limpvector1D
Definition: MimmoPiercedVector.hpp:127
MimmoPiercedVector pointDataToBoundaryInterfaceData(double p=0.)
Definition: MimmoPiercedVector.tpp:785
mimmo::MimmoPiercedVector< darray3E > dmpvecarr3E
Definition: MimmoPiercedVector.hpp:129