Loading [MathJax]/extensions/MathZoom.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-171-gf370a16a5 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
▼
MeshLib
►
Elements
►
IO
►
MeshSearch
►
Utils
►
Vtk
►
CoordinateSystem.cpp
►
CoordinateSystem.h
►
ElementCoordinatesMappingLocal.cpp
►
ElementCoordinatesMappingLocal.h
ElementStatus.cpp
►
ElementStatus.h
►
findElementsWithinRadius.cpp
►
findElementsWithinRadius.h
►
Location.cpp
►
Location.h
►
Mesh.cpp
►
Mesh.h
►
MeshEnums.cpp
►
MeshEnums.h
►
MeshSubset.h
Node.cpp
►
Node.h
►
NodeAdjacencyTable.h
►
NodePartitionedMesh.cpp
►
NodePartitionedMesh.h
►
Properties-impl.h
Properties.cpp
►
Properties.h
►
PropertyVector.h
►
VtkOGSEnum.cpp
►
VtkOGSEnum.h
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
Location.cpp
Go to the documentation of this file.
1
11
#include "
Location.h
"
12
13
#include <ostream>
14
15
namespace
MeshLib
16
{
17
std::ostream&
operator<<
(std::ostream& os,
MeshItemType
const
& t)
18
{
19
switch
(t)
20
{
21
case
MeshItemType::Node
:
22
return
os <<
"N"
;
23
case
MeshItemType::Edge
:
24
return
os <<
"E"
;
25
case
MeshItemType::Face
:
26
return
os <<
"F"
;
27
case
MeshItemType::Cell
:
28
return
os <<
"C"
;
29
case
MeshItemType::IntegrationPoint
:
30
return
os <<
"I"
;
31
};
32
return
os;
33
}
17
std::ostream&
operator<<
(std::ostream& os,
MeshItemType
const
& t) {
…
}
34
35
std::ostream&
operator<<
(std::ostream& os,
Location
const
& l)
36
{
37
return
os <<
"("
<< l.
mesh_id
<<
", "
<< l.
item_type
<<
", "
<< l.
item_id
38
<<
")"
;
39
}
35
std::ostream&
operator<<
(std::ostream& os,
Location
const
& l) {
…
}
40
41
}
// namespace MeshLib
Location.h
MeshLib
Definition
ProjectData.h:41
MeshLib::MeshItemType
MeshItemType
Definition
Location.h:21
MeshLib::MeshItemType::Cell
@ Cell
MeshLib::MeshItemType::IntegrationPoint
@ IntegrationPoint
MeshLib::MeshItemType::Node
@ Node
MeshLib::MeshItemType::Face
@ Face
MeshLib::MeshItemType::Edge
@ Edge
MeshLib::operator<<
std::ostream & operator<<(std::ostream &os, Element const &e)
Definition
Element.cpp:88
MeshLib::Location
Definition
Location.h:40
MeshLib::Location::item_id
std::size_t item_id
Definition
Location.h:43
MeshLib::Location::mesh_id
std::size_t mesh_id
Definition
Location.h:41
MeshLib::Location::item_type
MeshItemType item_type
Definition
Location.h:42
MeshLib
Location.cpp
Generated by
1.12.0