You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp2D
arrayElementFormula.hh
Go to the documentation of this file.
1
6
#ifndef arrayelementformula_hh
7
#define arrayelementformula_hh
8
9
#include "
toolbox/array.hh
"
10
#include "
formula/elementFormulaContainer.hh
"
11
12
13
namespace
hp2D
{
14
15
// forward declarations
16
template
<
typename
F>
17
class
BaseQuad;
18
19
20
// *************************************************** ArrayElementFormula **
21
24
template
<
class
F = Real>
25
class
ArrayElementFormula
:
public
concepts::Array
<F> {
26
public
:
31
ArrayElementFormula
();
33
ArrayElementFormula
(
const
BaseQuad<Real>
& elm,
34
const
concepts::ElementFormulaContainer<F>
frm);
38
void
compute
(
const
BaseQuad<Real>
& elm,
39
const
concepts::ElementFormulaContainer<F>
frm);
40
};
41
42
template
<
class
F>
43
ArrayElementFormula<F>::ArrayElementFormula
() :
concepts
::Array<F>() {}
44
45
template
<
class
F>
46
ArrayElementFormula<F>::ArrayElementFormula
47
(
const
BaseQuad<Real>
& elm,
const
concepts::ElementFormulaContainer<F>
frm)
48
:
concepts
::Array<F>(0)
49
{
50
compute
(elm, frm);
51
}
52
53
54
}
// namespace hp2D
55
56
#endif
// arrayelementformula_hh
array.hh
concepts::Array
Definition
array.hh:46
concepts::ElementFormulaContainer
Definition
elementFormulaContainer.hh:22
hp2D::ArrayElementFormula
Definition
arrayElementFormula.hh:25
hp2D::ArrayElementFormula::ArrayElementFormula
ArrayElementFormula(const BaseQuad< Real > &elm, const concepts::ElementFormulaContainer< F > frm)
Constructor with calling of compute.
Definition
arrayElementFormula.hh:47
hp2D::ArrayElementFormula::compute
void compute(const BaseQuad< Real > &elm, const concepts::ElementFormulaContainer< F > frm)
hp2D::ArrayElementFormula::ArrayElementFormula
ArrayElementFormula()
Definition
arrayElementFormula.hh:43
hp2D::BaseQuad
Definition
quad.hh:181
elementFormulaContainer.hh
concepts
Definition
pml_formula.h:16
hp2D
Definition
explicitResidual.hh:120
Generated on Wed Sep 13 2023 21:06:21 for Concepts by
1.9.8