Integral over a edge, evaluated on a cell. More...

#include <integral.hh>

Inheritance diagram for concepts::CellEdgeIntegral< F >:
concepts::CellIntegral< F > concepts::CellPostprocess< Real > concepts::OutputOperator

Public Member Functions

 CellEdgeIntegral (F &val, const concepts::Formula< F > &formula, const std::set< uint > *attributes=0)
 Constructor. More...
 
virtual void operator() (const Cell &cell)
 Application operator. More...
 
virtual void operator() (const Element< Real > &elm)
 Application operator. More...
 

Protected Member Functions

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

Protected Attributes

const std::set< uint > * attributes_
 Attributes, which contribute. More...
 
const concepts::Formula< F > & formula_
 Formula to integrate. More...
 
F & val_
 Integration value. More...
 

Private Member Functions

template<class G >
compute_ (const G &elm)
 

Detailed Description

template<class F>
class concepts::CellEdgeIntegral< F >

Integral over a edge, evaluated on a cell.

Definition at line 364 of file integral.hh.

Constructor & Destructor Documentation

◆ CellEdgeIntegral()

template<class F >
concepts::CellEdgeIntegral< F >::CellEdgeIntegral ( F &  val,
const concepts::Formula< F > &  formula,
const std::set< uint > *  attributes = 0 
)

Constructor.

Parameters
valintegration value, to add the contribution of this cell to
formulaformula to integrate
attributesattributes, which contribute

Member Function Documentation

◆ compute_()

template<class F >
template<class G >
F concepts::CellEdgeIntegral< F >::compute_ ( const G &  elm)
private

◆ info()

template<class F >
virtual std::ostream& concepts::CellEdgeIntegral< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::CellIntegral< F >.

◆ operator()() [1/2]

template<class F >
virtual void concepts::CellEdgeIntegral< F >::operator() ( const Cell cell)
virtual

Application operator.

This application operator has to be overloaded to post process a mesh.

Parameters
cellCurrent cell

Implements concepts::CellPostprocess< Real >.

◆ operator()() [2/2]

template<class F >
virtual void concepts::CellEdgeIntegral< F >::operator() ( const Element< Real > &  elm)
virtual

Application operator.

This application operator has to be overloaded to post process a space.

Parameters
elmCurrent element

Implements concepts::CellPostprocess< Real >.

Member Data Documentation

◆ attributes_

template<class F >
const std::set<uint>* concepts::CellIntegral< F >::attributes_
protectedinherited

Attributes, which contribute.

Definition at line 332 of file integral.hh.

◆ formula_

template<class F >
const concepts::Formula<F>& concepts::CellIntegral< F >::formula_
protectedinherited

Formula to integrate.

Definition at line 330 of file integral.hh.

◆ val_

template<class F >
F& concepts::CellIntegral< F >::val_
protectedinherited

Integration value.

Definition at line 328 of file integral.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