Flow123d  release_3.0.0-1140-gd35b574
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>
Quadrature< dim > * q ()
 
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<>
Quadrature< 0 > * q ()
 
template<>
Quadrature< 1 > * q ()
 
template<>
Quadrature< 2 > * q ()
 
template<>
Quadrature< 3 > * q ()
 
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_
 
Quadrature< 0 > * q0_
 Quadratures used in assembling methods. More...
 
Quadrature< 1 > * q1_
 
Quadrature< 2 > * q2_
 
Quadrature< 3 > * q3_
 
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 113 of file elasticity.cc.

Member Function Documentation

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

Definition at line 141 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 130 of file elasticity.cc.

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

Definition at line 127 of file elasticity.cc.

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

Definition at line 128 of file elasticity.cc.

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

Definition at line 129 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 137 of file elasticity.cc.

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

Definition at line 139 of file elasticity.cc.

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

Definition at line 138 of file elasticity.cc.

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

Here is the caller graph for this function:

template<>
Quadrature<0>* Mechanics::FEObjects::q ( )

Definition at line 132 of file elasticity.cc.

template<>
Quadrature<3>* Mechanics::FEObjects::q ( )

Definition at line 135 of file elasticity.cc.

template<>
Quadrature<1>* Mechanics::FEObjects::q ( )

Definition at line 133 of file elasticity.cc.

template<>
Quadrature<2>* Mechanics::FEObjects::q ( )

Definition at line 134 of file elasticity.cc.

Member Data Documentation

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

Object for distribution of dofs.

Definition at line 91 of file elasticity.hh.

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

Definition at line 88 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 84 of file elasticity.hh.

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

Definition at line 85 of file elasticity.hh.

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

Definition at line 86 of file elasticity.hh.

Quadrature<0>* Mechanics::FEObjects::q0_
private

Quadratures used in assembling methods.

Definition at line 78 of file elasticity.hh.

Quadrature<1>* Mechanics::FEObjects::q1_
private

Definition at line 79 of file elasticity.hh.

Quadrature<2>* Mechanics::FEObjects::q2_
private

Definition at line 80 of file elasticity.hh.

Quadrature<3>* Mechanics::FEObjects::q3_
private

Definition at line 81 of file elasticity.hh.


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