Programming tasks to Scientific Computing I
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType > Class Template Reference

Configurator for $\mathcal{P}^1$ Finite Elements. More...

#include <configuratorsShellFE.h>

Public Types

typedef DataTypeContainer DTContainer
 
typedef MeshType InitType
 that's the type that is needed by the constructor of the configurator More...
 
typedef MeshType::ElementType ElementType
 
typedef DataTypeContainer::RealType RealType
 
typedef DataTypeContainer::DomVecType DomVecType
 
typedef DataTypeContainer::TangentVecType TangentVecType
 
typedef DataTypeContainer::Point3DType Point3DType
 
typedef DataTypeContainer::Matrix22 Matrix22
 
typedef DataTypeContainer::Matrix32 Matrix32
 
typedef DataTypeContainer::Matrix33 Matrix33
 
typedef DataTypeContainer::VectorType VectorType
 
typedef DataTypeContainer::FullMatrixType FullMatrixType
 
typedef DataTypeContainer::TripletType TripletType
 
typedef DataTypeContainer::SparseMatrixType SparseMatrixType
 
typedef DataTypeContainer::MaskType MaskType
 
typedef Eigen::Matrix< RealType, maxNumLocalDofs, maxNumLocalDofsLocalMatrixType
 
typedef UnitTriangMeshBaseFunctionSetP1< DataTypeContainer, QuadType, ElementTypeBaseFuncSetType
 

Public Member Functions

 UnitTriangMeshConfiguratorP1 (const InitType &Mesh)
 
const InitTypegetInitializer () const
 Returns the mesh. More...
 
int getNumLocalDofs (const ElementType &) const
 Get The number of local degrees of freedom on an element. More...
 
int getNumLocalDofs () const
 
int getNumGlobalDofs () const
 Returns the number of global degrees of freedom. More...
 
int maxNumQuadPoints () const
 Returns the maximum number of quadrature points per element. More...
 
const BaseFuncSetTypegetBaseFunctionSet (const ElementType &) const
 Returns the base funcitons set for an element. More...
 
const BaseFuncSetTypegetBaseFunctionSet () const
 
int localToGlobal (const ElementType &T, int localIndex) const
 Returns global index of the dof with number localIndex. More...
 

Public Attributes

BaseFuncSetType _baseFuncSet
 

Static Public Attributes

static const int maxNumLocalDofs = 3
 
static const ShellFEType _ShellFEType = NodalValuedDofs
 

Protected Attributes

const MeshType_mesh
 

Detailed Description

template<typename DataTypeContainer, typename MeshType, typename QuadType>
class shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >

Configurator for $\mathcal{P}^1$ Finite Elements.

Each triangle of the mesh is the unit triangle embedded in R^2, given by the three positions (0,0), (1,0) and (0,1) with area 0.5

Definition at line 20 of file configuratorsShellFE.h.

Member Typedef Documentation

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef UnitTriangMeshBaseFunctionSetP1<DataTypeContainer, QuadType, ElementType> shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::BaseFuncSetType

Definition at line 46 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::DomVecType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::DomVecType

Definition at line 33 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::DTContainer

Definition at line 29 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef MeshType::ElementType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::ElementType

Definition at line 31 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::FullMatrixType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::FullMatrixType

Definition at line 40 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef MeshType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::InitType

that's the type that is needed by the constructor of the configurator

Definition at line 30 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef Eigen::Matrix<RealType, maxNumLocalDofs, maxNumLocalDofs > shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::LocalMatrixType

Definition at line 44 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::MaskType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::MaskType

Definition at line 43 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::Matrix22 shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::Matrix22

Definition at line 36 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::Matrix32 shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::Matrix32

Definition at line 37 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::Matrix33 shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::Matrix33

Definition at line 38 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::Point3DType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::Point3DType

Definition at line 35 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::RealType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::RealType

Definition at line 32 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::SparseMatrixType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::SparseMatrixType

Definition at line 42 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::TangentVecType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::TangentVecType

Definition at line 34 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::TripletType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::TripletType

Definition at line 41 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
typedef DataTypeContainer::VectorType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::VectorType

Definition at line 39 of file configuratorsShellFE.h.

Constructor & Destructor Documentation

template<typename DataTypeContainer , typename MeshType , typename QuadType >
shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::UnitTriangMeshConfiguratorP1 ( const InitType Mesh)
inline

Definition at line 48 of file configuratorsShellFE.h.

48 : _mesh ( Mesh ) {}

Member Function Documentation

template<typename DataTypeContainer , typename MeshType , typename QuadType >
const BaseFuncSetType& shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::getBaseFunctionSet ( const ElementType ) const
inline

Returns the base funcitons set for an element.

Definition at line 64 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
const BaseFuncSetType& shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::getBaseFunctionSet ( ) const
inline

Definition at line 65 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
const InitType& shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::getInitializer ( ) const
inline

Returns the mesh.

Definition at line 51 of file configuratorsShellFE.h.

51 { return this->_mesh; }
template<typename DataTypeContainer , typename MeshType , typename QuadType >
int shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::getNumGlobalDofs ( ) const
inline

Returns the number of global degrees of freedom.

Definition at line 60 of file configuratorsShellFE.h.

60 {return this->_mesh.getNumVertices();}
int getNumVertices() const
Definition: triangMesh.h:42
template<typename DataTypeContainer , typename MeshType , typename QuadType >
int shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::getNumLocalDofs ( const ElementType ) const
inline

Get The number of local degrees of freedom on an element.

Definition at line 56 of file configuratorsShellFE.h.

56 { return 3;}
template<typename DataTypeContainer , typename MeshType , typename QuadType >
int shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::getNumLocalDofs ( ) const
inline

Definition at line 57 of file configuratorsShellFE.h.

57 { return 3;}
template<typename DataTypeContainer , typename MeshType , typename QuadType >
int shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::localToGlobal ( const ElementType T,
int  localIndex 
) const
inline

Returns global index of the dof with number localIndex.

Definition at line 68 of file configuratorsShellFE.h.

68 {return T.getGlobalNodeIdx( localIndex );}
template<typename DataTypeContainer , typename MeshType , typename QuadType >
int shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::maxNumQuadPoints ( ) const
inline

Returns the maximum number of quadrature points per element.

Definition at line 62 of file configuratorsShellFE.h.

Member Data Documentation

template<typename DataTypeContainer , typename MeshType , typename QuadType >
BaseFuncSetType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::_baseFuncSet
mutable

Definition at line 53 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
const MeshType& shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::_mesh
protected

Definition at line 22 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
const ShellFEType shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::_ShellFEType = NodalValuedDofs
static

Definition at line 27 of file configuratorsShellFE.h.

template<typename DataTypeContainer , typename MeshType , typename QuadType >
const int shellFE::UnitTriangMeshConfiguratorP1< DataTypeContainer, MeshType, QuadType >::maxNumLocalDofs = 3
static

Definition at line 26 of file configuratorsShellFE.h.


The documentation for this class was generated from the following file: