You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
linDG1D
bilinearForm.hh
Go to the documentation of this file.
1
6
#ifndef linDG1DbilinearForm_hh
7
#define linDG1DbilinearForm_hh
8
9
#include "
basics/typedefs.hh
"
10
#include "
operator/bilinearForm.hh
"
11
#include "
geometry/boundaryConditions.hh
"
12
13
namespace
linDG1D
{
14
15
using
concepts::Real
;
16
17
// *********************************************************** BoundaryInt **
18
27
class
BoundaryInt
:
public
concepts::BilinearForm
<Real> {
28
public
:
29
BoundaryInt
(
concepts::BoundaryConditions
* bc = 0) : bc_(bc) {}
30
virtual
void
operator()(
const
concepts::Element<Real>
& elmX,
31
const
concepts::Element<Real>
& elmY,
32
concepts::ElementMatrix<Real>
& em)
const
;
33
virtual
void
operator()(
const
concepts::Element<Real>
& elmX,
34
const
concepts::Element<Real>
& elmY,
35
concepts::ElementMatrix<Real>
& em,
36
const
concepts::ElementPair<Real>
& ep)
const
;
37
virtual
BoundaryInt
*
clone
()
const
{
return
new
BoundaryInt
(bc_); }
38
private
:
39
concepts::BoundaryConditions
* bc_;
40
};
41
42
// ******************************************************* BoundaryIntStab **
43
49
class
BoundaryIntStab
:
public
concepts::BilinearForm
<Real> {
50
public
:
51
virtual
void
operator()(
const
concepts::Element<Real>
& elmX,
52
const
concepts::Element<Real>
& elmY,
53
concepts::ElementMatrix<Real>
& em)
const
{
54
conceptsAssert
(
false
,
concepts::Assertion
());
55
}
56
virtual
void
operator()(
const
concepts::Element<Real>
& elmX,
57
const
concepts::Element<Real>
& elmY,
58
concepts::ElementMatrix<Real>
& em,
59
const
concepts::ElementPair<Real>
& ep)
const
;
60
virtual
BoundaryIntStab
*
clone
()
const
{
return
new
BoundaryIntStab
(); }
61
};
62
63
}
// namespace linDG1D
64
65
#endif
// linDG1DbilinearForm_hh
boundaryConditions.hh
concepts::Assertion
Definition
exceptions.hh:258
concepts::BilinearForm
Definition
bilinearForm.hh:33
concepts::BoundaryConditions
Definition
boundaryConditions.hh:38
concepts::ElementMatrix
Definition
element.hh:206
concepts::ElementPair
Definition
elementPairs.hh:25
concepts::Element
Definition
element.hh:52
linDG1D::BoundaryIntStab
Definition
bilinearForm.hh:49
linDG1D::BoundaryIntStab::clone
virtual BoundaryIntStab * clone() const
Definition
bilinearForm.hh:60
linDG1D::BoundaryInt
Definition
bilinearForm.hh:27
linDG1D::BoundaryInt::clone
virtual BoundaryInt * clone() const
Definition
bilinearForm.hh:37
conceptsAssert
#define conceptsAssert(cond, exc)
Definition
exceptions.hh:394
concepts::Real
double Real
Definition
typedefs.hh:39
linDG1D
Definition
linDG1D.hh:15
bilinearForm.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:21 for Concepts by
1.9.8