You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp3D
bf3D_linearElasticity.hh
Go to the documentation of this file.
1
8
#ifndef HP3D_LINEARELASTICITY_HH
9
#define HP3D_LINEARELASTICITY_HH
10
11
#include "
basics/typedefs.hh
"
12
#include "
operator/bilinearForm.hh
"
13
14
namespace
concepts
{
15
// forward declarations
16
template
<
class
F>
17
class
Element
;
18
19
template
<
class
F>
20
class
ElementMatrix;
21
}
22
23
namespace
vectorial
{
24
// forward declaration
25
template
<
class
F,
class
G>
26
class
BilinearForm;
27
}
28
29
namespace
hp3D
{
30
// forward declaration
31
class
Hexahedron;
32
33
using
concepts::Real
;
34
41
template
<
class
F>
42
class
LinearElasticity
:
public
concepts::BilinearForm
<F>
43
{
44
public
:
45
LinearElasticity
(
const
uint &i,
const
uint &j,
46
const
Real &lambda,
const
Real &mu);
47
48
virtual
~LinearElasticity
();
49
50
virtual
void
operator()(
const
concepts::Element<Real>
&elmX,
51
const
concepts::Element<Real>
&elmY,
52
concepts::ElementMatrix<F>
&em)
const
;
53
54
virtual
LinearElasticity
*
clone
()
const
55
{
56
return
new
LinearElasticity
(i_, j_, lambda_, mu_);
57
}
58
59
virtual
std::ostream&
info
(std::ostream &os)
const
;
60
61
static
void
setup(
vectorial::BilinearForm<F,Real>
&bf,
62
const
Real &lambda,
const
Real &mu);
63
64
private
:
65
66
void
operator()(
const
Hexahedron
&elmX,
const
Hexahedron
&elmY,
67
concepts::ElementMatrix<F>
&em)
const
;
68
69
70
uint i_;
71
uint j_;
72
Real lambda_;
73
Real mu_;
74
75
concepts::BilinearForm<F>
*bfA_;
76
concepts::BilinearForm<F>
*bfB_;
77
Real coefA_;
78
Real coefB_;
79
80
};
81
82
}
// namespace hp3D
83
84
#endif
// HP3D_LINEARELASTICITY_HH
concepts::BilinearForm
Definition
bilinearForm.hh:33
concepts::ElementMatrix
Definition
element.hh:206
concepts::Element
Definition
element.hh:52
hp3D::Hexahedron
Definition
hexahedron.hh:37
hp3D::LinearElasticity
Definition
bf3D_linearElasticity.hh:43
hp3D::LinearElasticity::clone
virtual LinearElasticity * clone() const
Definition
bf3D_linearElasticity.hh:54
hp3D::LinearElasticity::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
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
hp3D
Definition
meshDX.hh:23
vectorial
Definition
spaceTraits.hh:24
bilinearForm.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:21 for Concepts by
1.9.8