#include <fluxes.hh>

Inheritance diagram for hp2D::LocalFluxes:
concepts::ElementFormula< Real, Real > concepts::Cloneable concepts::OutputOperator

Public Types

typedef concepts::ElementAndFacette< hp2D::Element< Real > > UnderlyingElement
 
typedef Real value_type
 

Public Member Functions

virtual LocalFluxesclone () const
 Virtual constructor. More...
 
virtual ElementFormula< Real, Real > * clone () const=0
 Virtual copy constructor. More...
 
 LocalFluxes (hp2D::TraceSpace &locTspc, uint K, const Fluxes &globalflux)
 
Real operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real p, const Real t=0.0) const
 The elm should be a hp1D::Element of an identical TraceSpace like was given in the constructor. More...
 
Real operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real2d &p, const Real t=0.0) const
 
Real operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real3d &p, const Real t=0.0) const
 
virtual Real operator() (const ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual Real operator() (const ElementWithCell< Real > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual Real operator() (const ElementWithCell< Real > &elm, const Real3d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual ~LocalFluxes ()
 

Protected Member Functions

std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

concepts::HashMap< concepts::Vector< Real > > coeffs_
 The coefficients computed by M_{e}*alpha_K,e = Moments_K,e per each edge. More...
 
uint currElmKey_
 
const hp2D::FluxesglobFlux_
 
const uint K_
 
const hp2D::TraceSpacelocTspc_
 local reference to the TraceSpace given in the Constructor. More...
 

Detailed Description

Definition at line 182 of file fluxes.hh.

Member Typedef Documentation

◆ UnderlyingElement

◆ value_type

typedef Real concepts::ElementFormula< Real , Real >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ LocalFluxes()

hp2D::LocalFluxes::LocalFluxes ( hp2D::TraceSpace locTspc,
uint  K,
const Fluxes globalflux 
)

◆ ~LocalFluxes()

virtual hp2D::LocalFluxes::~LocalFluxes ( )
inlinevirtual

Definition at line 210 of file fluxes.hh.

Member Function Documentation

◆ clone() [1/2]

virtual LocalFluxes* hp2D::LocalFluxes::clone ( ) const
inlinevirtual

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Cloneable.

Definition at line 214 of file fluxes.hh.

◆ clone() [2/2]

virtual ElementFormula<Real ,Real >* concepts::ElementFormula< Real , Real >::clone ( ) const
pure virtualinherited

Virtual copy constructor.

Implemented in concepts::ElementFormulaContainer< Real, Real >.

◆ info()

std::ostream& hp2D::LocalFluxes::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 220 of file fluxes.hh.

◆ operator()() [1/6]

Real hp2D::LocalFluxes::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real  p,
const Real  t = 0.0 
) const

The elm should be a hp1D::Element of an identical TraceSpace like was given in the constructor.

◆ operator()() [2/6]

Real hp2D::LocalFluxes::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const Real  t = 0.0 
) const
inline

Definition at line 198 of file fluxes.hh.

◆ operator()() [3/6]

Real hp2D::LocalFluxes::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const Real  t = 0.0 
) const
inline

Definition at line 204 of file fluxes.hh.

◆ operator()() [4/6]

virtual Real concepts::ElementFormula< Real , Real >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Implemented in concepts::ElementFormulaContainer< Real, Real >.

◆ operator()() [5/6]

virtual Real concepts::ElementFormula< Real , Real >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Implemented in concepts::ElementFormulaContainer< Real, Real >.

◆ operator()() [6/6]

virtual Real concepts::ElementFormula< Real , Real >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Implemented in concepts::ElementFormulaContainer< Real, Real >.

Member Data Documentation

◆ coeffs_

concepts::HashMap<concepts::Vector<Real> > hp2D::LocalFluxes::coeffs_
private

The coefficients computed by M_{e}*alpha_K,e = Moments_K,e per each edge.

Let K, K' be two Elements with common edge e, then it holds for the coefficients on a edge e : alpha_K,e = -alpha_K,e . Therefore the coefficients on a edge are only saved once, and have the right sign corresponding to the orientation of the edge (normal Vector rule).

Definition at line 248 of file fluxes.hh.

◆ currElmKey_

uint hp2D::LocalFluxes::currElmKey_
private

Definition at line 236 of file fluxes.hh.

◆ globFlux_

const hp2D::Fluxes& hp2D::LocalFluxes::globFlux_
private

Definition at line 257 of file fluxes.hh.

◆ K_

const uint hp2D::LocalFluxes::K_
private

Definition at line 255 of file fluxes.hh.

◆ locTspc_

const hp2D::TraceSpace& hp2D::LocalFluxes::locTspc_
private

local reference to the TraceSpace given in the Constructor.

Definition at line 253 of file fluxes.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich