Ice Sheet System Model  4.18
Code documentation
BamgGeom.cpp
Go to the documentation of this file.
1 #include "./bamgobjects.h"
2 #include "../shared/shared.h"
3 
4 /*Constructors/Destructors*/
6 
7  this->VerticesSize[0]=0, this->VerticesSize[1]=0; this->Vertices=NULL;
8  this->EdgesSize[0]=0, this->EdgesSize[1]=0; this->Edges=NULL;
9  this->TangentAtEdgesSize[0]=0, this->TangentAtEdgesSize[1]=0; this->TangentAtEdges=NULL;
10  this->CornersSize[0]=0, this->CornersSize[1]=0; this->Corners=NULL;
11  this->RequiredVerticesSize[0]=0, this->RequiredVerticesSize[1]=0; this->RequiredVertices=NULL;
12  this->RequiredEdgesSize[0]=0, this->RequiredEdgesSize[1]=0; this->RequiredEdges=NULL;
13  this->CrackedEdgesSize[0]=0, this->CrackedEdgesSize[1]=0; this->CrackedEdges=NULL;
14  this->SubDomainsSize[0]=0, this->SubDomainsSize[1]=0; this->SubDomains=NULL;
15 
16 }
17 /*}}}*/
19 
20  xDelete<double>(this->Vertices);
21  xDelete<double>(this->Edges);
22  xDelete<double>(this->TangentAtEdges);
23  xDelete<double>(this->Corners);
24  xDelete<double>(this->RequiredVertices);
25  xDelete<double>(this->RequiredEdges);
26  xDelete<double>(this->CrackedEdges);
27  xDelete<double>(this->SubDomains);
28 
29 }
30 /*}}}*/
BamgGeom::RequiredVertices
double * RequiredVertices
Definition: BamgGeom.h:19
BamgGeom::Edges
double * Edges
Definition: BamgGeom.h:13
Vertices
Declaration of Vertices class.
Definition: Vertices.h:15
BamgGeom::CrackedEdges
double * CrackedEdges
Definition: BamgGeom.h:23
BamgGeom::BamgGeom
BamgGeom()
Definition: BamgGeom.cpp:5
BamgGeom::CornersSize
int CornersSize[2]
Definition: BamgGeom.h:16
BamgGeom::Corners
double * Corners
Definition: BamgGeom.h:17
BamgGeom::TangentAtEdgesSize
int TangentAtEdgesSize[2]
Definition: BamgGeom.h:14
BamgGeom::RequiredEdgesSize
int RequiredEdgesSize[2]
Definition: BamgGeom.h:20
BamgGeom::SubDomainsSize
int SubDomainsSize[2]
Definition: BamgGeom.h:24
BamgGeom::SubDomains
double * SubDomains
Definition: BamgGeom.h:25
BamgGeom::CrackedEdgesSize
int CrackedEdgesSize[2]
Definition: BamgGeom.h:22
BamgGeom::TangentAtEdges
double * TangentAtEdges
Definition: BamgGeom.h:15
BamgGeom::RequiredVerticesSize
int RequiredVerticesSize[2]
Definition: BamgGeom.h:18
BamgGeom::~BamgGeom
~BamgGeom()
Definition: BamgGeom.cpp:18
BamgGeom::VerticesSize
int VerticesSize[2]
Definition: BamgGeom.h:10
BamgGeom::EdgesSize
int EdgesSize[2]
Definition: BamgGeom.h:12
BamgGeom::RequiredEdges
double * RequiredEdges
Definition: BamgGeom.h:21
bamgobjects.h