You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp2D
bf_identity.hh
Go to the documentation of this file.
1
6
#ifndef hp2dbf_identity_hh
7
#define hp2dbf_identity_hh
8
9
#include "
basics/typedefs.hh
"
10
#include "
operator/bilinearForm.hh
"
11
#include "
geometry/sharedJacobian.hh
"
12
#include "
hp2D/bilinearFormHelper.hh
"
13
14
15
namespace
concepts
{
16
// forward declarations
17
template
<
class
F>
18
class
Array;
19
20
template
<
class
F, u
int
dim>
21
class
Point;
22
23
template
<
class
F>
24
class
Element
;
25
26
template
<
class
F>
27
class
ElementMatrix;
28
29
template
<
typename
F,
typename
G>
30
class
ElementFormula;
31
}
32
33
namespace
vectorial
{
34
// forward declarations
35
template
<
class
F,
class
G>
36
class
BilinearForm;
37
}
38
39
namespace
hp2D
{
40
// forward declarations
41
template
<
class
F>
42
class
Quad;
43
44
class
InfiniteLaguerreQuad;
45
46
using
concepts::Real
;
47
48
49
// ************************************************************** Identity **
50
56
template
<
class
F = Real>
57
class
Identity
:
public
concepts::BilinearForm
<F,Real>,
58
public
BilinearFormHelper_0_0
<F> {
59
public
:
61
Identity
(
const
concepts::ElementFormulaContainer<F>
62
frm =
concepts::ElementFormulaContainer<F>
(),
63
bool
all =
false
);
64
virtual
~Identity
();
65
virtual
Identity<F>
*
clone
()
const
;
66
67
void
operator()(
const
concepts::Element<Real>
& elmX,
68
const
concepts::Element<Real>
& elmY,
69
concepts::ElementMatrix<F>
& em)
const
;
70
protected
:
71
virtual
std::ostream&
info
(std::ostream& os)
const
;
72
private
:
74
concepts::ElementMatrix<Real>
mass1D_;
76
bool
all_;
77
79
bool
operator()(
const
Quad<Real>
* elmX,
80
const
Quad<Real>
* elmY,
81
concepts::ElementMatrix<F>
& em)
const
;
83
bool
operator()(
const
InfiniteLaguerreQuad
* elmX,
84
const
InfiniteLaguerreQuad
* elmY,
85
concepts::ElementMatrix<F>
& em)
const
;
86
};
87
88
89
// ********************************************************** setupIdentity **
90
95
template
<
class
F>
96
void
setupIdentity
97
(
vectorial::BilinearForm
<F,
typename
concepts::Realtype<F>::type
>& bf,
98
const
concepts::ElementFormulaContainer<F>
99
frm =
concepts::ElementFormulaContainer<F>
());
100
108
template
<
class
F>
109
void
setupIdentity
110
(
vectorial::BilinearForm
<F,
typename
concepts::Realtype<F>::type
>& bf,
111
const
concepts::ElementFormulaContainer
<
concepts::Mapping<F,2>
> frm,
112
bool
transpose =
false
);
113
114
115
}
// namespace hp2D
116
117
#endif
// hp2dbf_identity_hh
bilinearFormHelper.hh
concepts::BilinearForm
Definition
bilinearForm.hh:33
concepts::ElementFormulaContainer
Definition
elementFormulaContainer.hh:22
concepts::ElementMatrix
Definition
element.hh:206
concepts::Element
Definition
element.hh:52
concepts::Mapping
Definition
vectorsMatrices.hh:313
concepts::Point< Cmplx, 2 >
hp2D::BilinearFormHelper_0_0
Definition
bilinearFormHelper.hh:50
hp2D::Identity
Definition
bf_identity.hh:58
hp2D::Identity::clone
virtual Identity< F > * clone() const
hp2D::Identity::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
hp2D::Identity::Identity
Identity(const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >(), bool all=false)
Constructor.
hp2D::InfiniteLaguerreQuad
Definition
quad.hh:451
hp2D::Quad
Definition
quad.hh:271
vectorial::BilinearForm
Definition
vectorial.hh:318
concepts
Definition
pml_formula.h:16
concepts::Real
double Real
Definition
typedefs.hh:39
hp1D::Element
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition
element.hh:267
hp2D
Definition
explicitResidual.hh:120
hp2D::setupIdentity
void setupIdentity(vectorial::BilinearForm< F, typename concepts::Realtype< F >::type > &bf, const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())
vectorial
Definition
spaceTraits.hh:24
bilinearForm.hh
sharedJacobian.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8