concepts::CellIntegral< F > Class Template Referenceabstract

Integral, evaluated on a cell. More...

#include <integral.hh>

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

Public Member Functions

 CellIntegral (F &val, const Formula< F > &formula, const std::set< uint > *attributes=0)
 Constructor. More...
 
virtual void operator() (const Cell &cell)=0
 Application operator. More...
 
virtual void operator() (const Element< Real > &elm)=0
 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...
 

Detailed Description

template<class F>
class concepts::CellIntegral< F >

Integral, evaluated on a cell.

Definition at line 316 of file integral.hh.

Constructor & Destructor Documentation

◆ CellIntegral()

template<class F >
concepts::CellIntegral< F >::CellIntegral ( F &  val,
const 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

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::CellPostprocess< Real >.

Reimplemented in concepts::CellEdgeIntegral< F >, and concepts::CellFaceIntegral< F >.

◆ operator()() [1/2]

◆ operator()() [2/2]

virtual void concepts::CellPostprocess< Real >::operator() ( const Element< Real > &  elm)
pure virtualinherited

Application operator.

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

Parameters
elmCurrent element

Implemented in concepts::CellEdgeIntegral< F >, and concepts::CellFaceIntegral< F >.

Member Data Documentation

◆ attributes_

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

Attributes, which contribute.

Definition at line 332 of file integral.hh.

◆ formula_

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

Formula to integrate.

Definition at line 330 of file integral.hh.

◆ val_

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

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