DFNgen
2.0
DFN Model Generator
|
#include <structures.h>
Public Member Functions | |
Stats () | |
Public Attributes | |
int * | acceptedFromFam |
int * | rejectedFromFam |
int * | expectedFromFam |
unsigned int | acceptedPolyCount |
unsigned long long int | rejectedPolyCount |
unsigned int | retranslatedPolyCount |
unsigned int | truncated |
double | areaBeforeRemoval |
double | areaAfterRemoval |
double | volBeforeRemoval |
double | volAfterRemoval |
unsigned long long int | nextGroupNum |
struct RejectionReasons | rejectionReasons |
unsigned int | intersectionsShortened |
double | originalLength |
double | discardedLength |
unsigned int | intersectionNodeCount |
unsigned int | tripleNodeCount |
std::vector< unsigned int > | rejectsPerAttempt |
std::vector< struct FractureGroups > | fractGroup |
std::vector< struct GroupData > | groupData |
Program and DFN statisistics structure. Keeps various statistics, including fracture cluster information, about the DFN being generated.
Definition at line 277 of file structures.h.
Stats::Stats | ( | ) |
Initializes all counters to zero. Initializes nextGroupNum to 1. (See implementation for details)
Definition at line 86 of file structures.cpp.
int* Stats::acceptedFromFam |
Counters for the number of polygons/fractures accepted by each stochastic family. Elements in this array are in the same order as the stochastic shape families array 'shapeFamilies' in main(). e.g. The counter for the second family in the shapeFamilies array is the second element in this array.
Definition at line 283 of file structures.h.
unsigned int Stats::acceptedPolyCount |
Total number of accepted polygons/fractures for the DFN. This variable is updated as the DFN is generated.
Definition at line 300 of file structures.h.
double Stats::areaAfterRemoval |
Total area of fractures after isolated fracture removal. Variable is set in main() after DFN generation has completed.
Definition at line 324 of file structures.h.
double Stats::areaBeforeRemoval |
Total number of intersection points. This variable is used as a counter in writeIntersections() when generating output files. It is used to determine the number of nodes lagrit will see as duplicates and remove.
Total area of fractures before isolated fracture removal. Variable is set in main() after DFN generation has completed.
Definition at line 320 of file structures.h.
double Stats::discardedLength |
Total length of intersections in DFN which were discarded by shrinkIntersection() inside FRAM. Final intersection length = originalLength - discardedLength
Definition at line 352 of file structures.h.
int* Stats::expectedFromFam |
Number of fractures estimated for each stochastic family (see dryRun()). Elements in this array are in the same order as the stochastic shape families array 'shapeFamilies' in main(). e.g. The estimated number of fractures for the second family in the shapeFamilies array is the second element in this array.
Definition at line 296 of file structures.h.
std::vector<struct FractureGroups> Stats::fractGroup |
Fracture cluster data. See struct FractureGroup.
Definition at line 374 of file structures.h.
std::vector<struct GroupData> Stats::groupData |
Fracture cluster data. See struct GroupData.
Definition at line 376 of file structures.h.
unsigned int Stats::intersectionNodeCount |
Total number of intersection points in DFN after isolated fracture removal. This variable is used as a counter in writeIntersections() when generating output files. It is used to determine the number of nodes lagrit will see as duplicates and remove. Used in error checking.
Definition at line 358 of file structures.h.
unsigned int Stats::intersectionsShortened |
Counter for number of intersections that have been shortened by FRAM's shrinkIntersection() function. Only counts intersections of fractures that have been accepted into the domain.
Definition at line 344 of file structures.h.
unsigned long long int Stats::nextGroupNum |
Used to assign group/cluster numbers. 'nextGroupNum initializes to 1, and is used to assign a fracture a group number, and is then incremented.
Definition at line 336 of file structures.h.
double Stats::originalLength |
Total length of original intersections in the DFN before intersections were shortened.
Definition at line 347 of file structures.h.
int* Stats::rejectedFromFam |
Counters for the number of polygons/fractures rejected by each stochastic family. Elements in this array are in the same order as the stochastic shape families array 'shapeFamilies' in main(). e.g. The counter for the second family in the shapeFamilies array is the second element in this array.
Definition at line 289 of file structures.h.
unsigned long long int Stats::rejectedPolyCount |
Total number of rejected polygons/fractures for the DFN. This variable is updated as the DFN is generated.
Definition at line 304 of file structures.h.
struct RejectionReasons Stats::rejectionReasons |
RejectionReasons structure holds counters for all rejection reasons.
Definition at line 339 of file structures.h.
std::vector<unsigned int> Stats::rejectsPerAttempt |
Rejects per insertion attempt counter. Each element represents the number of tries it took to fit a fracture into the DFN. e.g. The number stored in the 10th element is the number of tries it took before the 10th fracture was accepted. This count inclues re-translating the same fracture to different locations as well as generating new fractures.
Definition at line 371 of file structures.h.
unsigned int Stats::retranslatedPolyCount |
Total number of polygon/fracture re-translations. This variable is updated as the DFN is generated.
Definition at line 308 of file structures.h.
unsigned int Stats::tripleNodeCount |
Total number of triple intersection points in DFN after isolated fracture removal. This variable is used as a counter in writeIntersections() when generating output files. It is used to determine the number of nodes lagrit will see as duplicates and remove. Used in error checking.
Definition at line 364 of file structures.h.
unsigned int Stats::truncated |
Total number of fractures that have been truncated against the domain.
Definition at line 311 of file structures.h.
double Stats::volAfterRemoval |
Total volume of fractures after isolated fracture removal. Variable is set in main() after DFN generation has completed.
Definition at line 332 of file structures.h.
double Stats::volBeforeRemoval |
Total volume of fractures before isolated fracture removal. Variable is set in main() after DFN generation has completed.
Definition at line 328 of file structures.h.