You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp2D
baseQuadGraphics.hh
Go to the documentation of this file.
1
6
#ifndef baseQuadGraphics_hh
7
#define baseQuadGraphics_hh
8
9
#include "
basics/typedefs.hh
"
10
#include "
graphics/basis.hh
"
11
#include "
graphics/denseMatrixGraphics.hh
"
12
#include "
graphics/matrixBasis.hh
"
13
#include "
space/function.hh
"
14
#include "
toolbox/elementGraphics.hh
"
15
16
namespace
hp2D
{
17
18
using
concepts::Real
;
19
using
concepts::Cmplx
;
20
21
// Forward declaration
22
template
<
class
F>
23
class
BaseQuad;
24
25
// ****************************************************** BaseQuadGraphics **
26
31
template
<
class
F>
32
class
BaseQuadGraphics
:
public
concepts::ElementGraphics
<F> {
33
public
:
34
using
concepts::ElementGraphicsBase::graphicsType;
35
37
BaseQuadGraphics
();
38
~BaseQuadGraphics
();
39
40
virtual
void
operator()
(
const
concepts::Element<F>
& elm,
41
enum
concepts::ElementGraphicsBase::graphicsType type,
42
concepts::CellPostprocess<F>
& post)
const
;
43
45
void
setValue
(
const
concepts::ElementFunction<Real, F>
* value);
46
void
setValue
(
const
concepts::ElementFunction<Cmplx, F>
* value);
47
protected
:
48
virtual
std::ostream&
info
(std::ostream& os)
const
;
49
private
:
51
void
writeGnuplot_(
const
BaseQuad<F>
& quad,
52
concepts::CellPostprocess<F>
& post)
const
;
54
void
writeMatlab_(
const
BaseQuad<F>
& quad,
55
concepts::CellPostprocess<F>
& post)
const
;
57
template
<
typename
G>
58
bool
writeMatlab_(
const
BaseQuad<F>
& quad,
59
graphics::BaseDataCell<G, F>
* stream)
const
;
61
template
<
typename
G>
62
bool
writeMatlab_(
const
BaseQuad<F>
& quad,
63
graphics::BaseElementFormulaCell<G, F>
* stream)
const
;
65
void
writeTecplot_(
const
BaseQuad<F>
& quad,
66
concepts::CellPostprocess<F>
& post)
const
;
68
template
<
typename
G>
69
bool
writeTecplot_(
const
BaseQuad<F>
& quad,
70
graphics::BaseDataCell<G, F>
* stream)
const
;
72
template
<
typename
G>
73
bool
writeTecplot_(
const
BaseQuad<F>
& quad,
74
graphics::BaseElementFormulaCell<G, F>
* stream)
const
;
75
79
bool
handleDenseMatrix_(
const
BaseQuad<F>
& quad,
80
concepts::CellPostprocess<F>
& post)
const
;
81
85
bool
writeDenseMatrix_(
const
BaseQuad<F>
& quad,
86
graphics::MatrixSpaceOutputCell<F>
* bdc)
const
;
87
91
template
<
class
G>
92
bool
writeDenseMatrix_(
const
BaseQuad<F>
& quad,
93
graphics::MatrixBaseElementFormulaCell<G, F>
* bdc)
const
;
94
98
template
<
class
G>
99
bool
writeDenseMatrix_(
const
BaseQuad<F>
& quad,
100
graphics::MatrixSolutionEvaluationCell<G, F>
* bdc)
const
;
101
103
bool
countDenseMatrix_(
const
BaseQuad<F>
& quad,
104
graphics::MatrixCounterCell
* bdc)
const
;
105
107
void
value_(
const
concepts::ElementFunction<Real, F>
*& fun)
const
;
108
void
value_(
const
concepts::ElementFunction<Cmplx, F>
*& fun)
const
;
110
const
concepts::ElementFunction<Real, F>
* valueR_;
112
const
concepts::ElementFunction<Cmplx, F>
* valueC_;
113
115
mutable
concepts::Real2d
p_;
117
mutable
concepts::Real2d
x_;
118
};
119
120
}
// namespace hp2D
121
122
#endif
// baseQuadGraphics_hh
concepts::CellPostprocess
Definition
postProcess.hh:38
concepts::ElementFunction
Definition
function.hh:24
concepts::ElementGraphics
Definition
elementGraphics.hh:65
concepts::Element
Definition
element.hh:52
concepts::Point< Real, 2 >
graphics::BaseDataCell
Definition
basis.hh:140
graphics::BaseElementFormulaCell
Definition
basis.hh:185
graphics::MatrixBaseElementFormulaCell
Definition
matrixBasis.hh:259
graphics::MatrixCounterCell
Definition
matrixBasis.hh:33
graphics::MatrixSolutionEvaluationCell
Definition
matrixBasis.hh:331
graphics::MatrixSpaceOutputCell
Definition
matrixBasis.hh:160
hp2D::BaseQuadGraphics
Definition
baseQuadGraphics.hh:32
hp2D::BaseQuadGraphics::setValue
void setValue(const concepts::ElementFunction< Real, F > *value)
Gives the appropiate element function.
hp2D::BaseQuadGraphics::operator()
virtual void operator()(const concepts::Element< F > &elm, enum concepts::ElementGraphicsBase::graphicsType type, concepts::CellPostprocess< F > &post) const
hp2D::BaseQuadGraphics::BaseQuadGraphics
BaseQuadGraphics()
Constructor.
hp2D::BaseQuadGraphics::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
hp2D::BaseQuad
Definition
quad.hh:181
denseMatrixGraphics.hh
basis.hh
matrixBasis.hh
concepts::Real
double Real
Definition
typedefs.hh:39
concepts::Cmplx
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition
typedefs.hh:42
hp2D
Definition
explicitResidual.hh:120
function.hh
elementGraphics.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8