Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Vitelotte::MorleyElementBuilder< _Mesh, _Scalar > Class Template Reference

Inherits Vitelotte::ElementBuilderBase< _Mesh, _Scalar >.

Detailed Description

template<class _Mesh, typename _Scalar = typename _Mesh::Scalar>
class Vitelotte::MorleyElementBuilder< _Mesh, _Scalar >

Morley element builder, for harmonic interpolation with linear triangles output.

Public Types

typedef _Scalar Scalar
 
typedef _Mesh Mesh
 
typedef ElementBuilderBase
< _Mesh, _Scalar > 
Base
 
typedef Base::Vector Vector
 
typedef Base::Matrix Matrix
 
typedef Base::Triplet Triplet
 
typedef Base::Face Face
 
typedef Eigen::Matrix< Scalar, 6, 1 > Vector6
 
- Public Types inherited from Vitelotte::ElementBuilderBase< _Mesh, _Scalar >
typedef _Scalar Scalar
 
typedef _Mesh Mesh
 
typedef Eigen::Matrix< Scalar,
Mesh::DimsAtCompileTime, 1 > 
Vector
 
typedef Eigen::Matrix< Scalar,
Eigen::Dynamic, Eigen::Dynamic > 
Matrix
 
typedef Eigen::Triplet< Scalar > Triplet
 
typedef Mesh::Face Face
 

Public Member Functions

 MorleyElementBuilder (Scalar sigma=Scalar(.5))
 
unsigned nCoefficients (const Mesh &mesh, Face element, SolverError *error=0) const
 
template<typename Inserter >
void addCoefficients (Inserter &inserter, const Mesh &mesh, Face element, SolverError *error=0)
 
- Public Member Functions inherited from Vitelotte::ElementBuilderBase< _Mesh, _Scalar >
unsigned nExtraConstraints (const Mesh &, Face) const
 
template<typename Inserter >
void addExtraConstraints (Inserter &, const Mesh &, Face, SolverError *)