You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
linDG2D
linearForm.hh
Go to the documentation of this file.
1
6
#ifndef dgLinearForms_hh
7
#define dgLinearForms_hh
8
9
#include "
basics/typedefs.hh
"
10
#include "
formula/formula.hh
"
11
#include "
formula/boundary.hh
"
12
#include "
geometry/boundaryConditions.hh
"
13
#include "
function/linearForm.hh
"
14
#include "integration.hh"
15
#include "
timestepping/vectors.hh
"
16
17
#include "
triangle.hh
"
18
#include "
meshInfo.hh
"
19
20
#define DEBUG_FILLDATA 0
21
22
using
concepts::Real
;
23
24
namespace
linDG2D
{
25
29
class
LaplaceTimeLf
:
public
timestepping::TimeLinearForm
{
30
public
:
40
LaplaceTimeLf
(
concepts::Formula<Real>
& frm,
41
concepts::BoundaryConditions
* bc,
42
MeshInfo
& mi,
43
Real omega, Real tau,
44
uint nQuadPts) :
45
timestepping
::TimeLinearForm(), frm_(frm), bc_(bc) , mi_(mi),
46
omega_(omega), tau_(tau), nQuadPts_(nQuadPts) { }
51
void
operator()
(
const
concepts::Element<Real>
&elmBase,
52
concepts::ElementMatrix<Real>
&em);
53
private
:
54
const
concepts::Formula<Real>
& frm_;
55
const
concepts::BoundaryConditions
* bc_;
56
const
MeshInfo
& mi_;
57
const
Real omega_;
58
const
Real tau_;
59
const
uint nQuadPts_;
60
};
61
66
class
ScalarProductLf
:
public
concepts::LinearForm
<Real> {
67
public
:
72
ScalarProductLf
(
concepts::Formula<Real>
& frm, uint nQuadPts)
73
: frm_(frm), nQuadPts_(nQuadPts) { };
78
void
operator()
(
const
concepts::Element<Real>
&elmBase,
79
concepts::ElementMatrix<Real>
&em);
80
private
:
81
const
concepts::Formula<Real>
& frm_;
82
const
uint nQuadPts_;
83
};
84
85
}
// namespace linDG2D
86
87
#endif
//dgLinearForms_hh
boundaryConditions.hh
boundary.hh
concepts::BoundaryConditions
Definition
boundaryConditions.hh:38
concepts::ElementMatrix
Definition
element.hh:206
concepts::Element
Definition
element.hh:52
concepts::Formula
Definition
formula.hh:34
concepts::LinearForm
Definition
linearForm.hh:29
linDG2D::LaplaceTimeLf
Definition
linearForm.hh:29
linDG2D::LaplaceTimeLf::operator()
void operator()(const concepts::Element< Real > &elmBase, concepts::ElementMatrix< Real > &em)
linDG2D::LaplaceTimeLf::LaplaceTimeLf
LaplaceTimeLf(concepts::Formula< Real > &frm, concepts::BoundaryConditions *bc, MeshInfo &mi, Real omega, Real tau, uint nQuadPts)
Definition
linearForm.hh:40
linDG2D::MeshInfo
Definition
meshInfo.hh:25
linDG2D::ScalarProductLf
Definition
linearForm.hh:66
linDG2D::ScalarProductLf::ScalarProductLf
ScalarProductLf(concepts::Formula< Real > &frm, uint nQuadPts)
Definition
linearForm.hh:72
linDG2D::ScalarProductLf::operator()
void operator()(const concepts::Element< Real > &elmBase, concepts::ElementMatrix< Real > &em)
timestepping::TimeLinearForm
Definition
vectors.hh:35
formula.hh
linearForm.hh
meshInfo.hh
concepts::Real
double Real
Definition
typedefs.hh:39
linDG2D
Definition
linDG2D.hh:20
timestepping
Definition
timestepping.hh:75
triangle.hh
typedefs.hh
vectors.hh
Generated on Wed Sep 13 2023 21:06:21 for Concepts by
1.9.8