Flow123d  JS_before_hm-2-g912b55d
Public Member Functions | Private Attributes | List of all members
Mechanics::FEObjects Class Reference

#include <elasticity.hh>

Collaboration diagram for Mechanics::FEObjects:
Collaboration graph
[legend]

Public Member Functions

 FEObjects (Mesh *mesh_, unsigned int fe_order)
 
 ~FEObjects ()
 
template<unsigned int dim>
FiniteElement< dim > * fe ()
 
template<unsigned int dim>
Quadratureq ()
 
template<unsigned int dim>
MappingP1< dim, 3 > * mapping ()
 
std::shared_ptr< DOFHandlerMultiDimdh ()
 
template<>
FiniteElement< 0 > * fe ()
 
template<>
FiniteElement< 1 > * fe ()
 
template<>
FiniteElement< 2 > * fe ()
 
template<>
FiniteElement< 3 > * fe ()
 
template<>
MappingP1< 0, 3 > * mapping ()
 
template<>
MappingP1< 1, 3 > * mapping ()
 
template<>
MappingP1< 2, 3 > * mapping ()
 
template<>
MappingP1< 3, 3 > * mapping ()
 

Private Attributes

FiniteElement< 0 > * fe0_
 Finite elements for the solution of the advection-diffusion equation. More...
 
FiniteElement< 1 > * fe1_
 
FiniteElement< 2 > * fe2_
 
FiniteElement< 3 > * fe3_
 
Quadratureq_ [4]
 Quadratures used in assembling methods. More...
 
MappingP1< 1, 3 > * map1_
 Auxiliary mappings of reference elements. More...
 
MappingP1< 2, 3 > * map2_
 
MappingP1< 3, 3 > * map3_
 
std::shared_ptr< DiscreteSpaceds_
 
std::shared_ptr< DOFHandlerMultiDimdh_
 Object for distribution of dofs. More...
 

Detailed Description

Auxiliary container class for Finite element and related objects of all dimensions. Its purpose is to provide templated access to these objects, applicable in the assembling methods.

Definition at line 50 of file elasticity.hh.

Constructor & Destructor Documentation

FEObjects::FEObjects ( Mesh mesh_,
unsigned int  fe_order 
)

Definition at line 77 of file elasticity.cc.

FEObjects::~FEObjects ( )

Definition at line 110 of file elasticity.cc.

Member Function Documentation

std::shared_ptr< DOFHandlerMultiDim > FEObjects::dh ( )
inline

Definition at line 131 of file elasticity.cc.

Here is the caller graph for this function:

template<unsigned int dim>
FiniteElement<dim>* Mechanics::FEObjects::fe ( )
inline

Here is the caller graph for this function:

template<>
FiniteElement<3>* Mechanics::FEObjects::fe ( )

Definition at line 124 of file elasticity.cc.

template<>
FiniteElement<0>* Mechanics::FEObjects::fe ( )

Definition at line 121 of file elasticity.cc.

template<>
FiniteElement<1>* Mechanics::FEObjects::fe ( )

Definition at line 122 of file elasticity.cc.

template<>
FiniteElement<2>* Mechanics::FEObjects::fe ( )

Definition at line 123 of file elasticity.cc.

template<unsigned int dim>
MappingP1<dim,3>* Mechanics::FEObjects::mapping ( )
inline

Here is the caller graph for this function:

template<>
MappingP1<1,3>* Mechanics::FEObjects::mapping ( )

Definition at line 127 of file elasticity.cc.

template<>
MappingP1<2,3>* Mechanics::FEObjects::mapping ( )

Definition at line 128 of file elasticity.cc.

template<>
MappingP1<3,3>* Mechanics::FEObjects::mapping ( )

Definition at line 129 of file elasticity.cc.

template<>
MappingP1<0,3>* Mechanics::FEObjects::mapping ( )

Definition at line 126 of file elasticity.cc.

template<unsigned int dim>
Quadrature* Mechanics::FEObjects::q ( )
inline

Definition at line 60 of file elasticity.hh.

Here is the caller graph for this function:

Member Data Documentation

std::shared_ptr<DOFHandlerMultiDim> Mechanics::FEObjects::dh_
private

Object for distribution of dofs.

Definition at line 88 of file elasticity.hh.

std::shared_ptr<DiscreteSpace> Mechanics::FEObjects::ds_
private

Definition at line 85 of file elasticity.hh.

FiniteElement<0>* Mechanics::FEObjects::fe0_
private

Finite elements for the solution of the advection-diffusion equation.

Definition at line 72 of file elasticity.hh.

FiniteElement<1>* Mechanics::FEObjects::fe1_
private

Definition at line 73 of file elasticity.hh.

FiniteElement<2>* Mechanics::FEObjects::fe2_
private

Definition at line 74 of file elasticity.hh.

FiniteElement<3>* Mechanics::FEObjects::fe3_
private

Definition at line 75 of file elasticity.hh.

MappingP1<1,3>* Mechanics::FEObjects::map1_
private

Auxiliary mappings of reference elements.

Definition at line 81 of file elasticity.hh.

MappingP1<2,3>* Mechanics::FEObjects::map2_
private

Definition at line 82 of file elasticity.hh.

MappingP1<3,3>* Mechanics::FEObjects::map3_
private

Definition at line 83 of file elasticity.hh.

Quadrature* Mechanics::FEObjects::q_[4]
private

Quadratures used in assembling methods.

Definition at line 78 of file elasticity.hh.


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