concepts::CellFaceIntegral< F > Class Template Reference
Integral over a face, evaluated on a cell. More...
#include <integral.hh>
Public Member Functions | |
CellFaceIntegral (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 > | |
F | compute_ (const G &elm) |
Detailed Description
template<class F>
class concepts::CellFaceIntegral< F >
Integral over a face, evaluated on a cell.
Definition at line 340 of file integral.hh.
Constructor & Destructor Documentation
◆ CellFaceIntegral()
concepts::CellFaceIntegral< F >::CellFaceIntegral | ( | F & | val, |
const concepts::Formula< F > & | formula, | ||
const std::set< uint > * | attributes = 0 |
||
) |
Constructor.
- Parameters
-
val integration value, to add the contribution of this cell to formula formula to integrate attributes attributes, which contribute
Member Function Documentation
◆ compute_()
|
private |
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::CellIntegral< F >.
◆ operator()() [1/2]
|
virtual |
Application operator.
This application operator has to be overloaded to post process a mesh.
- Parameters
-
cell Current cell
Implements concepts::CellPostprocess< Real >.
◆ operator()() [2/2]
|
virtual |
Application operator.
This application operator has to be overloaded to post process a space.
- Parameters
-
elm Current element
Implements concepts::CellPostprocess< Real >.
Member Data Documentation
◆ attributes_
|
protectedinherited |
Attributes, which contribute.
Definition at line 332 of file integral.hh.
◆ formula_
|
protectedinherited |
Formula to integrate.
Definition at line 330 of file integral.hh.
◆ val_
|
protectedinherited |
Integration value.
Definition at line 328 of file integral.hh.
The documentation for this class was generated from the following file:
- space/integral.hh