Flow123d  release_3.0.0-968-gc87a28e79
Public Member Functions | Private Attributes | List of all members
FEObjects Class Reference

#include <transport_dg.hh>

Collaboration diagram for 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>
FiniteElement< dim > * fe_rt ()
 
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<>
FiniteElement< 0 > * fe_rt ()
 
template<>
FiniteElement< 1 > * fe_rt ()
 
template<>
FiniteElement< 2 > * fe_rt ()
 
template<>
FiniteElement< 3 > * fe_rt ()
 
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_
 
FiniteElement< 1 > * fe_rt1_
 Finite elements for the water velocity field. More...
 
FiniteElement< 2 > * fe_rt2_
 
FiniteElement< 3 > * fe_rt3_
 
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 72 of file transport_dg.hh.

Constructor & Destructor Documentation

◆ FEObjects()

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

Definition at line 108 of file transport_dg.cc.

◆ ~FEObjects()

FEObjects::~FEObjects ( )

Definition at line 138 of file transport_dg.cc.

Member Function Documentation

◆ dh()

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

Definition at line 175 of file transport_dg.cc.

◆ fe() [1/5]

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

◆ fe() [2/5]

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

Definition at line 158 of file transport_dg.cc.

◆ fe() [3/5]

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

Definition at line 159 of file transport_dg.cc.

◆ fe() [4/5]

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

Definition at line 156 of file transport_dg.cc.

◆ fe() [5/5]

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

Definition at line 157 of file transport_dg.cc.

◆ fe_rt() [1/5]

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

◆ fe_rt() [2/5]

template<>
FiniteElement<0>* FEObjects::fe_rt ( )

Definition at line 161 of file transport_dg.cc.

◆ fe_rt() [3/5]

template<>
FiniteElement<1>* FEObjects::fe_rt ( )

Definition at line 162 of file transport_dg.cc.

◆ fe_rt() [4/5]

template<>
FiniteElement<2>* FEObjects::fe_rt ( )

Definition at line 163 of file transport_dg.cc.

◆ fe_rt() [5/5]

template<>
FiniteElement<3>* FEObjects::fe_rt ( )

Definition at line 164 of file transport_dg.cc.

◆ mapping() [1/4]

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

◆ mapping() [2/4]

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

Definition at line 172 of file transport_dg.cc.

◆ mapping() [3/4]

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

Definition at line 173 of file transport_dg.cc.

◆ mapping() [4/4]

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

Definition at line 171 of file transport_dg.cc.

◆ q() [1/5]

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

◆ q() [2/5]

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

Definition at line 168 of file transport_dg.cc.

◆ q() [3/5]

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

Definition at line 166 of file transport_dg.cc.

◆ q() [4/5]

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

Definition at line 167 of file transport_dg.cc.

◆ q() [5/5]

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

Definition at line 169 of file transport_dg.cc.

Member Data Documentation

◆ dh_

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

Object for distribution of dofs.

Definition at line 119 of file transport_dg.hh.

◆ ds_

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

Definition at line 116 of file transport_dg.hh.

◆ fe0_

FiniteElement<0>* FEObjects::fe0_
private

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

Definition at line 95 of file transport_dg.hh.

◆ fe1_

FiniteElement<1>* FEObjects::fe1_
private

Definition at line 96 of file transport_dg.hh.

◆ fe2_

FiniteElement<2>* FEObjects::fe2_
private

Definition at line 97 of file transport_dg.hh.

◆ fe3_

FiniteElement<3>* FEObjects::fe3_
private

Definition at line 98 of file transport_dg.hh.

◆ fe_rt1_

FiniteElement<1>* FEObjects::fe_rt1_
private

Finite elements for the water velocity field.

Definition at line 101 of file transport_dg.hh.

◆ fe_rt2_

FiniteElement<2>* FEObjects::fe_rt2_
private

Definition at line 102 of file transport_dg.hh.

◆ fe_rt3_

FiniteElement<3>* FEObjects::fe_rt3_
private

Definition at line 103 of file transport_dg.hh.

◆ map1_

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

Auxiliary mappings of reference elements.

Definition at line 112 of file transport_dg.hh.

◆ map2_

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

Definition at line 113 of file transport_dg.hh.

◆ map3_

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

Definition at line 114 of file transport_dg.hh.

◆ q0_

Quadrature<0>* FEObjects::q0_
private

Quadratures used in assembling methods.

Definition at line 106 of file transport_dg.hh.

◆ q1_

Quadrature<1>* FEObjects::q1_
private

Definition at line 107 of file transport_dg.hh.

◆ q2_

Quadrature<2>* FEObjects::q2_
private

Definition at line 108 of file transport_dg.hh.

◆ q3_

Quadrature<3>* FEObjects::q3_
private

Definition at line 109 of file transport_dg.hh.


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