Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::PointSet< Convex, T > Class Template Reference

Class of all PointSet on a Convex. More...

+ Inheritance diagram for Feel::PointSet< Convex, T >:
+ Collaboration diagram for Feel::PointSet< Convex, T >:

Public Types

typedef Convex convex_type
 
typedef node< value_type >::type node_type
 
typedef ublas::matrix< value_type, ublas::column_major > nodes_type
 
typedef Reference< Convex, Convex::nDim, Convex::nOrder, Convex::nDim, value_type > RefElem
 
typedef PointSet< convex_type, value_type > self_type
 
typedef T value_type
 
- Public Types inherited from Feel::VisitableBase< R, CatchAll >
typedef R return_type
 

Public Member Functions

 FEELPP_DEFINE_VISITABLE ()
 
std::string getName ()
 
std::string getPointsInfo ()
 
uint32_type nPoints () const
 
self_type & operator= (self_type const &p)=default
 
ublas::matrix_column< nodes_type > point (uint16_type f, uint32_type __i)
 
ublas::matrix_column< nodes_type const > point (uint16_type f, uint32_type __i) const
 
ublas::matrix_column< nodes_type > point (uint32_type __i)
 
ublas::matrix_column< nodes_type const > point (uint32_type __i) const
 
nodes_type const & points () const
 
nodes_type const & points (uint16_type f) const
 
 PointSet (const self_type &P)
 
 PointSet (nodes_type const &SomePoints)
 
 PointSet (std::vector< std::map< uint16_type, nodes_type > > const &SomePoints, uint16_type perm=1)
 
 PointSet (uint32_type Npoints)
 
 PointSet (uint32_type Npoints, uint16_type Dim)
 
void setName (std::string name, uint32_type order)
 
void toPython ()
 
- Public Member Functions inherited from Feel::VisitableBase< R, CatchAll >
virtual return_type accept (VisitorBase &)=0
 accept visitor: use S_DEFINE_VISITABLE() to redefine it
 
virtual return_type accept (VisitorBase *)=0
 accept visitor: use S_DEFINE_VISITABLE() to redefine it
 

Protected Member Functions

void setPoints (nodes_type const &pts)
 set the points of the pointset
 
void setPoints (uint16_type f, nodes_type const &n)
 set the pointset at face f using nodes n
 

Protected Attributes

uint32_type M_npoints
 
nodes_type M_points
 
std::vector< nodes_type > M_points_face
 
std::string pointsInfo
 
std::string pointsName
 

Additional Inherited Members

- Static Protected Member Functions inherited from Feel::VisitableBase< R, CatchAll >
template<class T >
static return_type acceptImpl (T *visited, VisitorBase *guest)
 give access only to the hierarchy More...
 

Detailed Description

template<class Convex, typename T>
class Feel::PointSet< Convex, T >

Class of all PointSet on a Convex.

Author
Gilles Steiner

This is a template class to represent every type of Point Set we may encounter, for example : Equidistant points, Fekete points, quadrature points (Gauss, Gauss-Lobatto, etc). The class will then be specialised into QuadraturePointSet.