2 #ifndef _PROTO_MB_POINT_INTERP_OP_ 3 #define _PROTO_MB_POINT_INTERP_OP_ 27 template<
typename MAP, MemType MEM>
33 unsigned int a_order);
37 std::vector<MBDataPoint> a_srcs,
38 std::vector<double> a_coefs);
42 template<
typename T,
unsigned int C, MemType MEM>
49 inline unsigned int size()
const;
72 inline void print()
const;
73 template<
typename MAP, MemType MEM>
85 template <
typename MAP, MemType MEM>
89 template<
typename MAP, MemType MEM>
90 std::unordered_map<BlockIndex, std::vector<BoxData<double>>>
computeMoments(
100 #include "implem/Proto_MBPointInterpOpImplem.H" 102 #endif // end include guard const MBDataPoint & target() const
Coefficients.
Definition: Proto_MBPointInterpOp.H:63
unsigned int size() const
Size.
Definition: Proto_MBPointInterpOp.H:305
const std::vector< MBDataPoint > & sources() const
Sources.
Definition: Proto_MBPointInterpOp.H:69
void writeLevelFootprint(const MBLevelMap< MAP, MEM > &map, std::string filename) const
Definition: Proto_MBPointInterpOp.H:337
Multidimensional Rectangular Array.
Definition: Proto_BoxData.H:314
Definition: Proto_MBInterpLayout.H:11
void print() const
Definition: Proto_MBPointInterpOp.H:310
std::unordered_map< BlockIndex, std::vector< BoxData< double > > > computeMoments(const MBLevelMap< MAP, MEM > &map) const
Definition: Proto_MBPointInterpOp.H:157
int BlockIndex
Defines what type is used for indexing block entities.
Definition: Proto_MBGraph.H:9
std::vector< double > m_coefs
Definition: Proto_MBPointInterpOp.H:97
Single Level Mapped Multiblock Map.
Definition: Proto_MBLevelBoxData.H:19
MBPointInterpOp(MBDataPoint a_dst, Point a_ghost, const MBLevelMap< MAP, MEM > &a_map, const MBInterpLayout &a_interpLayout, unsigned int a_order)
Constructor.
Definition: Proto_MBPointInterpOp.H:30
Multiblock Level Box Data.
Definition: Proto_MBLevelBoxData.H:17
int m_order
Definition: Proto_MBPointInterpOp.H:98
void computeCoefficients(std::unordered_map< BlockIndex, std::vector< BoxData< double >>> &momentData)
Definition: Proto_MBPointInterpOp.H:226
double computeSourceDataRadius(const MBLevelMap< MAP, MEM > &map, Array< double, DIM > &xCenter) const
Definition: Proto_MBPointInterpOp.H:207
An interval in DIM dimensional space.
Definition: Proto_Box.H:29
Box span() const
Definition: Proto_MBPointInterpOp.H:364
void writeFootprint(std::string filename) const
Definition: Proto_MBPointInterpOp.H:318
Definition: Proto_Array.H:17
void apply(MBLevelBoxData< T, C, MEM > &a_dst, MBLevelBoxData< T, C, MEM > &a_src)
Apply.
Definition: Proto_MBPointInterpOp.H:285
const std::vector< double > & coefs() const
Definition: Proto_MBPointInterpOp.H:70
Integer Valued Vector.
Definition: Proto_Point.H:24
void validateMatrixDimensions() const
Definition: Proto_MBPointInterpOp.H:95
Mapped Multiblock Block Boundary Interpolation Operator.
Definition: Proto_MBPointInterpOp.H:12
MBDataPoint m_dst
Definition: Proto_MBPointInterpOp.H:94
std::vector< MBDataPoint > m_srcs
Definition: Proto_MBPointInterpOp.H:95
Definition: Proto_MBDataPoint.H:10
void computeExponents()
Definition: Proto_MBPointInterpOp.H:69
std::vector< Point > m_exponents
Definition: Proto_MBPointInterpOp.H:96