Feel++  0.91.4
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Feel::PointSet< Convex, T > Class Template Reference

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

#include <pointset.hpp>

Inheritance diagram for Feel::PointSet< Convex, T >:
Feel::VisitableBase<>

List of all members.

Public Types

typedef Convex convex_type
typedef T value_type
typedef PointSet< convex_type,
value_type > 
self_type
typedef Reference< Convex,
Convex::nDim, Convex::nOrder,
Convex::nDim, value_type > 
RefElem
typedef node< value_type >::type node_type
typedef ublas::matrix
< value_type,
ublas::column_major > 
nodes_type

Public Member Functions

 PointSet (const self_type &P)
 PointSet (uint32_type Npoints)
 PointSet (uint32_type Npoints, uint16_type Dim)
 PointSet (nodes_type const &SomePoints)
self_typeoperator= (self_type const &p)
uint32_type nPoints () const
nodes_type const & points () const
ublas::matrix_column
< nodes_type const > 
point (uint32_type __i) const
ublas::matrix_column< nodes_type > point (uint32_type __i)
nodes_type const & points (uint16_type f) const
ublas::matrix_column
< nodes_type const > 
point (uint16_type f, uint32_type __i) const
ublas::matrix_column< nodes_type > point (uint16_type f, uint32_type __i)
void setName (std::string name, uint32_type order)
std::string getName ()
std::string getPointsInfo ()
void toPython ()
 FEELPP_DEFINE_VISITABLE ()

Protected Member Functions

void setPoints (nodes_type const &pts)
void setPoints (uint16_type f, nodes_type const &n)

Protected Attributes

uint32_type _M_npoints
nodes_type _M_points
std::vector< nodes_type > _M_points_face
std::string pointsName
std::string pointsInfo

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.


Member Function Documentation

template<class Convex , typename T >
void Feel::PointSet< Convex, T >::setPoints ( nodes_type const &  pts) [inline, protected]

set the points of the pointset

template<class Convex , typename T >
void Feel::PointSet< Convex, T >::setPoints ( uint16_type  f,
nodes_type const &  n 
) [inline, protected]

set the pointset at face f using nodes n