You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp1D
dualSpace.hh
Go to the documentation of this file.
1
6
#ifndef dualSpace_1D_hh
7
#define dualSpace_1D_hh
8
9
#include "
toolbox/hashMap.hh
"
10
#include "
space/space.hh
"
11
#include "
element.hh
"
12
13
namespace
hp1D
{
14
15
using
concepts::Real
;
16
17
// ************************************************************* DualSpace **
18
29
class
DualSpace
:
public
concepts::SpaceOnCells
<Real> {
30
public
:
31
typedef
concepts::Scan<BaseElement<Real>
>
Scan
;
36
DualSpace
(
Scan
*
scan
);
37
virtual
~DualSpace
();
38
39
inline
uint
dim
()
const
{
return
dim_; }
40
inline
uint
nelm
()
const
{
return
nelm_; }
41
inline
Scan
*
scan
()
const
{
42
return
new
concepts::PListScan<BaseElement<Real>
>(*elm_);
43
}
44
48
void
recomputeShapefunctions
();
49
protected
:
50
virtual
std::ostream&
info
(std::ostream& os)
const
;
51
private
:
53
uint dim_;
54
56
uint nelm_;
57
59
concepts::Joiner<BaseElement<Real>
*, 1>* elm_;
60
62
concepts::HashMap<uint>
ctrl0_;
63
};
64
65
66
}
// namespace hp1D
67
68
#endif
// dualSpace_1D_hh
concepts::HashMap
Definition
hashMap.hh:19
concepts::Joiner
Definition
scannerConnectors.hh:73
concepts::PListScan
Definition
scannerConnectors.hh:176
concepts::Scan
Definition
scannerConnectors.hh:29
concepts::SpaceOnCells
Definition
space.hh:81
hp1D::DualSpace
Definition
dualSpace.hh:29
hp1D::DualSpace::scan
Scan * scan() const
Returns a scanner to iterate over the elements of the space.
Definition
dualSpace.hh:41
hp1D::DualSpace::recomputeShapefunctions
void recomputeShapefunctions()
hp1D::DualSpace::nelm
uint nelm() const
Returns the number of elements in the space.
Definition
dualSpace.hh:40
hp1D::DualSpace::DualSpace
DualSpace(Scan *scan)
hp1D::DualSpace::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
hp1D::DualSpace::dim
uint dim() const
Returns the dimension of the space.
Definition
dualSpace.hh:39
hashMap.hh
concepts::Real
double Real
Definition
typedefs.hh:39
hp1D
Definition
explicitResidual.hh:96
element.hh
space.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8