Flow123d
jenkins-Flow123d-linux-release-multijob-282
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
ngh
include
tetrahedron.h
Go to the documentation of this file.
1
#ifndef tetrahedronH
2
#define tetrahedronH
3
4
#include "
point.h
"
5
#include "
triangle.h
"
6
7
class
TTetrahedron
{
8
private
:
9
static
int
numberInstance
;
10
int
id
;
11
12
TPoint
X1
;
13
TPoint
X2
;
14
TPoint
X3
;
15
TPoint
X4
;
16
17
TTriangle
T1
;
18
TTriangle
T2
;
19
TTriangle
T3
;
20
TTriangle
T4
;
21
22
TAbscissa
*
A1
;
23
TAbscissa
*
A2
;
24
TAbscissa
*
A3
;
25
TAbscissa
*
A4
;
26
TAbscissa
*
A5
;
27
TAbscissa
*
A6
;
28
29
double
volume
;
30
31
int
generateId
();
32
void
ComputeVolume
();
33
34
public
:
35
TTetrahedron
();
36
TTetrahedron
(
const
TPoint
&,
const
TPoint
&,
const
TPoint
&,
const
TPoint
&);
37
~TTetrahedron
();
38
39
const
TTriangle
&
GetTriangle
(
int
)
const
;
40
const
TAbscissa
&
GetAbscissa
(
int
)
const
;
41
const
TPoint
&
GetPoint
(
int
)
const
;
42
43
double
GetMin
(
int
)
const
;
44
double
GetMax
(
int
)
const
;
45
46
double
GetVolume
();
47
48
void
SetPoints
(
const
TPoint
& P1,
const
TPoint
& P2,
const
TPoint
& P3,
const
TPoint
& P4);
49
bool
IsInner
(
const
TPoint
&)
const
;
50
51
static
int
getNumInstances
() {
52
return
TTetrahedron::numberInstance
;
53
}
54
};
55
#endif
TTetrahedron::ComputeVolume
void ComputeVolume()
Definition:
tetrahedron.cpp:142
TTetrahedron::SetPoints
void SetPoints(const TPoint &P1, const TPoint &P2, const TPoint &P3, const TPoint &P4)
Definition:
tetrahedron.cpp:158
TTetrahedron::A1
TAbscissa * A1
Definition:
tetrahedron.h:22
TTetrahedron::GetMin
double GetMin(int) const
Definition:
tetrahedron.cpp:106
TTetrahedron::GetPoint
const TPoint & GetPoint(int) const
Definition:
tetrahedron.cpp:92
TTriangle
Definition:
triangle.h:10
TTetrahedron::X1
TPoint X1
Definition:
tetrahedron.h:12
TTetrahedron::GetMax
double GetMax(int) const
Definition:
tetrahedron.cpp:122
TTetrahedron::TTetrahedron
TTetrahedron()
Definition:
tetrahedron.cpp:14
point.h
TTetrahedron::T2
TTriangle T2
Definition:
tetrahedron.h:18
TTetrahedron::X3
TPoint X3
Definition:
tetrahedron.h:14
TTetrahedron::T4
TTriangle T4
Definition:
tetrahedron.h:20
TTetrahedron::numberInstance
static int numberInstance
Definition:
tetrahedron.h:9
TTetrahedron::A4
TAbscissa * A4
Definition:
tetrahedron.h:25
TTetrahedron::~TTetrahedron
~TTetrahedron()
Definition:
tetrahedron.cpp:51
TTetrahedron::GetTriangle
const TTriangle & GetTriangle(int) const
Definition:
tetrahedron.cpp:60
TTetrahedron::getNumInstances
static int getNumInstances()
Definition:
tetrahedron.h:51
TTetrahedron::A2
TAbscissa * A2
Definition:
tetrahedron.h:23
TPoint
Definition:
point.h:10
TTetrahedron::volume
double volume
Definition:
tetrahedron.h:29
TTetrahedron::X4
TPoint X4
Definition:
tetrahedron.h:15
triangle.h
TTetrahedron::GetAbscissa
const TAbscissa & GetAbscissa(int) const
Definition:
tetrahedron.cpp:74
TTetrahedron::A6
TAbscissa * A6
Definition:
tetrahedron.h:27
TTetrahedron::T3
TTriangle T3
Definition:
tetrahedron.h:19
TTetrahedron::T1
TTriangle T1
Definition:
tetrahedron.h:17
TTetrahedron::id
int id
Definition:
tetrahedron.h:10
TTetrahedron::GetVolume
double GetVolume()
Definition:
tetrahedron.cpp:138
TTetrahedron
Definition:
tetrahedron.h:7
TTetrahedron::A3
TAbscissa * A3
Definition:
tetrahedron.h:24
TTetrahedron::generateId
int generateId()
Definition:
tetrahedron.cpp:10
TTetrahedron::X2
TPoint X2
Definition:
tetrahedron.h:13
TTetrahedron::A5
TAbscissa * A5
Definition:
tetrahedron.h:26
TAbscissa
Definition:
abscissa.h:8
TTetrahedron::IsInner
bool IsInner(const TPoint &) const
Definition:
tetrahedron.cpp:179
Generated by
1.8.5