Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::CellIntegral< F > Class Template Referenceabstract

#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)
 
virtual void operator() (const Element< Real > &elm)=0
 
virtual void operator() (const Cell &cell)=0
 

Protected Member Functions

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

Protected Attributes

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

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::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< 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::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< 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: