36 #ifndef NODALTRIEVENLYSPACED_H
37 #define NODALTRIEVENLYSPACED_H
42 #include <boost/shared_ptr.hpp>
49 namespace LibUtilities
70 "NodalTriEvenlySpaced Points can only interp to other "
71 "2d point distributions");
81 int numpoints = x.num_elements();
89 ::AllocateSharedPtr(numpoints, np, d);
93 boost::shared_ptr<NodalUtilTriangle>
m_util;
112 #endif //NODALTRIEVENLYSPACED_H
static const PointsKey NullPointsKey(0, eNoPointsType)
#define ASSERTL0(condition, msg)
NodalTriEvenlySpaced(const PointsKey &key)
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
boost::shared_ptr< NodalUtilTriangle > m_util
NodalTriEvenlySpaced()
Deafult constructor should not be called except by Create matrix.
void CalculateInterpMatrix(const Array< OneD, const NekDouble > &xi, const Array< OneD, const NekDouble > &yi, Array< OneD, NekDouble > &interp)
boost::shared_ptr< NekMatrix< DataType > > MatrixSharedPtrType
#define LIB_UTILITIES_EXPORT
unsigned int GetPointsDim() const
PointsManagerT & PointsManager(void)
Defines a specification for a set of points.
const MatrixSharedPtrType GetI(const Array< OneD, const NekDouble > &x, const Array< OneD, const NekDouble > &y)
void CalculateDerivMatrix()
virtual ~NodalTriEvenlySpaced()
void NodalPointReorder2d()
unsigned int GetTotNumPoints() const
const MatrixSharedPtrType GetI(const PointsKey &pkey)
static boost::shared_ptr< PointsBaseType > Create(const PointsKey &key)
Stores a set of points of datatype DataT, defined by a PointKey.