You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp3D
bf3D_partialDeriv.hh
Go to the documentation of this file.
1
8
#ifndef HP3D_PARTIALDERIV_HH
9
#define HP3D_PARTIALDERIV_HH
10
11
#include <memory>
12
#include "
operator/bilinearForm.hh
"
13
#include "
basics/typedefs.hh
"
14
15
namespace
concepts
{
16
// forward declarations
17
template
<
class
F>
18
class
Element
;
19
20
template
<
class
F>
21
class
ElementMatrix;
22
}
23
24
namespace
hp3D
{
25
26
// forward declarations
27
class
Hexahedron;
28
29
using
concepts::Real
;
30
31
enum
partDerivType
{ NO_DERIV = 0,
32
X_DERIV = 1,
33
Y_DERIV = 2,
34
Z_DERIV = 3 };
35
41
template
<
class
F = Real>
42
class
BilinearFormTwoPartDeriv
:
public
concepts::BilinearForm
<F> {
43
public
:
44
BilinearFormTwoPartDeriv
(
const
enum
partDerivType &uDeriv,
45
const
enum
partDerivType &vDeriv);
46
47
virtual
~BilinearFormTwoPartDeriv
() {}
48
49
virtual
BilinearFormTwoPartDeriv<F>
*
clone
()
const
{
50
return
new
BilinearFormTwoPartDeriv<F>
(uDeriv_, vDeriv_);
51
}
52
53
virtual
void
operator()(
const
concepts::Element<Real>
& elmX,
54
const
concepts::Element<Real>
& elmY,
55
concepts::ElementMatrix<F>
&em)
const
;
56
57
virtual
std::ostream&
info
(std::ostream& os)
const
;
58
59
private
:
60
const
enum
partDerivType uDeriv_, vDeriv_;
61
62
mutable
concepts::Array<F>
intermediateValue_;
63
mutable
concepts::Array<concepts::MapReal3d>
intermediateMatrix_;
64
65
void
operator()(
const
Hexahedron
&elmX,
66
const
Hexahedron
&elmY,
67
concepts::ElementMatrix<F>
&em)
const
;
68
69
};
// class BilinearFormTwoPartDeriv
70
71
}
// namespace hp3D
72
73
#endif
// HP3D_PARTIALDERIV_HH
concepts::Array
Definition
array.hh:46
concepts::BilinearForm
Definition
bilinearForm.hh:33
concepts::ElementMatrix
Definition
element.hh:206
concepts::Element
Definition
element.hh:52
hp3D::BilinearFormTwoPartDeriv
Definition
bf3D_partialDeriv.hh:42
hp3D::BilinearFormTwoPartDeriv::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
hp3D::BilinearFormTwoPartDeriv::clone
virtual BilinearFormTwoPartDeriv< F > * clone() const
Definition
bf3D_partialDeriv.hh:49
hp3D::Hexahedron
Definition
hexahedron.hh:37
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::partDerivType
partDerivType
Definition
bf_partialderiv.hh:59
hp3D
Definition
meshDX.hh:23
bilinearForm.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:21 for Concepts by
1.9.8