DFNgen  2.0
DFN Model Generator
structures.cpp
Go to the documentation of this file.
1 #include <iostream>
2 #include "structures.h"
3 
4 // Constructor
9  fract1 = -1;
10  fract2 = -1;
11  intersectionShortened = false;
12 }
13 
14 // Constructor
17  shortIntersection = 0;
18  closeToNode = 0;
19  closeToEdge = 0;
20  closePointToEdge = 0;
21  outside = 0;
22  triple = 0;
23  interCloseToInter = 0;
24 }
25 
26 // Constructor
29  groupNum = 0;
30  area = 0;
31  aperture = 0;
32  familyNum = 0;
33  xradius = yradius = 0;
34  faces[0] = 0;
35  faces[1] = 0;
36  faces[2] = 0;
37  faces[3] = 0;
38  faces[4] = 0;
39  faces[5] = 0;
40  permeability = 0;
41  XYPlane = 0;
42  truncated = 0;
43 }
44 
45 // Constructor
48  x = 0;
49  y = 0;
50  z = 0;
51 }
52 
53 // Constructor
56 Point::Point(double _x, double _y, double _z) {
57  x = _x;
58  y = _y;
59  z = _z;
60 }
61 
62 // Constructor
66  polyList.reserve(100);
67 }
68 
69 // Constructor
73  size = 0;
74  valid = 1;
75  faces[0] = 0;
76  faces[1] = 0;
77  faces[2] = 0;
78  faces[3] = 0;
79  faces[4] = 0;
80  faces[5] = 0;
81 }
82 
83 // Constructor
87  acceptedPolyCount = 0;
88  rejectedPolyCount = 0;
89  retranslatedPolyCount = 0;
90  truncated = 0;
91  intersectionsShortened = 0;
92  nextGroupNum = 1;
93  fractGroup.reserve(16);
94  originalLength = 0;
95  discardedLength = 0;
96  intersectionNodeCount = 0;
97  tripleNodeCount = 0;
98  areaBeforeRemoval = 0;
99  areaAfterRemoval = 0;
100  volBeforeRemoval = 0;
101  volAfterRemoval = 0;
102 }
103 
104 // Constructor
107  p32Target = 0;
108  currentP32 = 0;
109  radiiIdx = 0;
110 }
111 
112 
Poly()
Definition: structures.cpp:28
int aperture
Definition: readInput.cpp:413
long int fract1
Definition: structures.h:135
unsigned int radiiIdx
Definition: structures.h:405
float p32Target
Definition: structures.h:418
bool intersectionShortened
Definition: structures.h:158
long int fract2
Definition: structures.h:139
float currentP32
Definition: structures.h:421