You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp1D
rysSpace.hh
Go to the documentation of this file.
1
6
#ifndef RysSpace1D_hh
7
#define RysSpace1D_hh
8
9
#include "
basics/exceptions.hh
"
10
#include "
basics/typedefs.hh
"
11
#include "
geometry/mesh.hh
"
12
#include "
space/space.hh
"
13
#include "
toolbox/scannerConnectors.hh
"
14
#include "
rysElement.hh
"
15
16
namespace
hp1D
{
17
18
19
// ***************************************************************** Space **
20
26
class
RysSpace
:
public
concepts::SpaceOnCells
<concepts::Real> {
27
public
:
28
typedef
concepts::Scan<BaseElement<concepts::Real>
>
Scan
;
29
33
RysSpace
(
concepts::Mesh1
& msh, uint p);
34
~RysSpace
()
override
;
35
36
inline
uint
dim
()
const
{
return
elm_->T().n(); }
37
inline
uint
nelm
()
const
{
return
1u; }
38
inline
Scan
*
scan
()
const
{
39
return
new
concepts::SingletonScan<BaseElement<concepts::Real>
>(*elm_);
40
}
41
45
void
recomputeShapefunctions
();
46
protected
:
47
virtual
std::ostream&
info
(std::ostream& os)
const
;
48
private
:
50
concepts::Mesh1
& msh_;
51
53
std::unique_ptr<hp1D::RysElement<concepts::Real> > elm_;
54
55
};
56
57
}
// namespace hp1D
58
59
#endif
// RysSpace1D_hh
exceptions.hh
concepts::Mesh1
Definition
mesh.hh:94
concepts::Scan
Definition
scannerConnectors.hh:29
concepts::SingletonScan
Definition
scannerConnectors.hh:352
concepts::SpaceOnCells
Definition
space.hh:81
hp1D::RysSpace
Definition
rysSpace.hh:26
hp1D::RysSpace::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
hp1D::RysSpace::RysSpace
RysSpace(concepts::Mesh1 &msh, uint p)
hp1D::RysSpace::recomputeShapefunctions
void recomputeShapefunctions()
hp1D::RysSpace::scan
Scan * scan() const
Returns a scanner to iterate over the elements of the space.
Definition
rysSpace.hh:38
hp1D::RysSpace::nelm
uint nelm() const
Returns the number of elements in the space.
Definition
rysSpace.hh:37
hp1D::RysSpace::dim
uint dim() const
Returns the dimension of the space.
Definition
rysSpace.hh:36
mesh.hh
hp1D
Definition
explicitResidual.hh:96
rysElement.hh
scannerConnectors.hh
space.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8