Ice Sheet System Model
4.18
Code documentation
src
c
bamg
VertexOnEdge.cpp
Go to the documentation of this file.
1
#include <cstdio>
2
#include <cstring>
3
#include <cmath>
4
#include <ctime>
5
6
#include "
VertexOnEdge.h
"
7
#include "
Mesh.h
"
8
9
namespace
bamg
{
10
11
/*Methods*/
12
void
VertexOnEdge::Set
(
const
Mesh
& Th ,
long
i,
Mesh
& ThNew){
/*{{{*/
13
*
this
= Th.
VertexOnBThEdge
[i];
14
v
= ThNew.
vertices
+ Th.
GetId
(
v
);
15
}
16
/*}}}*/
17
void
VertexOnEdge::SetOnBTh
(){
/*{{{*/
18
v
->
BackgroundEdgeHook
=
this
;
19
v
->
IndexInTriangle
=
IsVertexOnEdge
;
20
}
21
/*}}}*/
22
23
}
bamg::Mesh::GetId
long GetId(const Triangle &t) const
Definition:
Mesh.cpp:2608
bamg
Definition:
AdjacentTriangle.cpp:9
bamg::VertexOnEdge::SetOnBTh
void SetOnBTh()
Definition:
VertexOnEdge.cpp:17
bamg::Mesh::VertexOnBThEdge
VertexOnEdge * VertexOnBThEdge
Definition:
Mesh.h:51
bamg::BamgVertex::BackgroundEdgeHook
VertexOnEdge * BackgroundEdgeHook
Definition:
BamgVertex.h:33
bamg::VertexOnEdge::v
BamgVertex * v
Definition:
VertexOnEdge.h:15
Mesh.h
bamg::Mesh
Definition:
Mesh.h:21
VertexOnEdge.h
bamg::Mesh::vertices
BamgVertex * vertices
Definition:
Mesh.h:27
bamg::IsVertexOnEdge
const int IsVertexOnEdge
Definition:
macros.h:12
bamg::VertexOnEdge::Set
void Set(const Mesh &, long, Mesh &)
Definition:
VertexOnEdge.cpp:12
bamg::BamgVertex::IndexInTriangle
short IndexInTriangle
Definition:
BamgVertex.h:25
Generated on Thu Jul 2 2020 08:09:16 for Ice Sheet System Model by
1.8.19