Feel++  0.92.0
Public Types | Public Member Functions | Static Public Attributes
Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy > Class Template Reference

BoundaryAdapted Basis on simplex. More...

#include <boundadapted.hpp>

Inheritance diagram for Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >:
Feel::Basis< BoundaryAdaptedTag< Dim, Degree >, T >

List of all members.

Public Types

typedef BoundaryAdaptedTraits
< Dim, Degree, T,
StoragePolicy > 
traits_type
Typedefs
typedef BoundaryAdapted< Dim,
Degree, T, StoragePolicy > 
self_type
typedef self_type basis_type
typedef T value_type
typedef int16_type int_type
typedef uint16_type uint_type
typedef traits_type::convex_type convex_type
typedef
traits_type::reference_convex_type 
reference_convex_type
typedef
traits_type::diff_pointset_type 
diff_pointset_type
typedef traits_type::storage_policy storage_policy
typedef traits_type::vector_type vector_type
typedef traits_type::matrix_type matrix_type
typedef
traits_type::vector_matrix_type 
vector_matrix_type
typedef
traits_type::vector_vector_matrix_type 
vector_vector_matrix_type
typedef
traits_type::matrix_node_type 
matrix_node_type
typedef traits_type::points_type points_type
typedef traits_type::node_type node_type
typedef Principal< Degree, T,
StoragePolicy > 
principal_type

Public Member Functions

points_type const & points () const
points_type const & points (int f) const
Constructors, destructor
 BoundaryAdapted ()
 BoundaryAdapted (BoundaryAdapted const &d)
 ~BoundaryAdapted ()
Operator overloads
self_type const & operator= (self_type const &d)
matrix_type operator() (node_type const &pt) const
matrix_type operator() (points_type const &pts) const
Accessors
uint_type degree () const
self_type const & basis () const
std::string familyName () const

Static Public Attributes

static const uint16_type nDim = traits_type::nDim
static const uint16_type nOrder = traits_type::nOrder
static const uint16_type nConvexOrderDiff = traits_type::nConvexOrderDiff
static const bool is_normalized = traits_type::is_normalized
static const uint16_type numVertices = traits_type::numVertices
static const uint16_type numFaces = traits_type::numFaces

Methods

matrix_type coeff () const
static matrix_type evaluate (points_type const &__pts)
template<typename AE >
static vector_matrix_type derivate (ublas::matrix_expression< AE > const &__pts)

Detailed Description

template<uint16_type Dim, uint16_type Degree, typename T = double, template< class > class StoragePolicy = StorageUBlas>
class Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >

BoundaryAdapted Basis on simplex.

This class represents the Boundary Adapted Basis made from Dubiner polynomials up to degree Degree on a simplex in dimension Dim.

The Boundary adapted basis is construct to preserve a part of the Dubiner polynomials' orthogonality. However we need to modify the basis in order to manage easily the boundary condtions.

Author:
Gilles Steiner
See also:
boundadapted.hpp

Member Function Documentation

template<uint16_type Dim, uint16_type Degree, typename T = double, template< class > class StoragePolicy = StorageUBlas>
self_type const& Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >::basis ( ) const [inline]
Returns:
self as a basis
template<uint16_type Dim, uint16_type Degree, typename T = double, template< class > class StoragePolicy = StorageUBlas>
uint_type Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >::degree ( ) const [inline]
Returns:
the maximum degree of the BoundaryAdapted polynomial to be constructed
template<uint16_type Dim, uint16_type Degree, typename T = double, template< class > class StoragePolicy = StorageUBlas>
static matrix_type Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >::evaluate ( points_type const &  __pts) [inline, static]

evaluate the BoundaryAdapted polynomials at a set of points __pts

  • __pts is a set of points
template<uint16_type Dim, uint16_type Degree, typename T = double, template< class > class StoragePolicy = StorageUBlas>
std::string Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >::familyName ( ) const [inline]
Returns:
the familyName()
template<uint16_type Dim, uint16_type Degree, typename T = double, template< class > class StoragePolicy = StorageUBlas>
points_type const& Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >::points ( ) const [inline]

Access to the points of the reference convex associated

template<uint16_type Dim, uint16_type Degree, typename T = double, template< class > class StoragePolicy = StorageUBlas>
points_type const& Feel::BoundaryAdapted< Dim, Degree, T, StoragePolicy >::points ( int  f) const [inline]

Access to the points associated with the face f