DFNgen  2.0
DFN Model Generator
Stats Struct Reference

#include <structures.h>

Collaboration diagram for Stats:

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 FractureGroupsfractGroup
 
std::vector< struct GroupDatagroupData
 

Detailed Description

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.

Constructor & Destructor Documentation

§ Stats()

Stats::Stats ( )

Initializes all counters to zero. Initializes nextGroupNum to 1. (See implementation for details)

Definition at line 86 of file structures.cpp.

Member Data Documentation

§ acceptedFromFam

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.

§ acceptedPolyCount

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.

§ areaAfterRemoval

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.

§ areaBeforeRemoval

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.

§ discardedLength

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.

§ expectedFromFam

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.

§ fractGroup

std::vector<struct FractureGroups> Stats::fractGroup

Fracture cluster data. See struct FractureGroup.

Definition at line 374 of file structures.h.

§ groupData

std::vector<struct GroupData> Stats::groupData

Fracture cluster data. See struct GroupData.

Definition at line 376 of file structures.h.

§ intersectionNodeCount

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.

§ intersectionsShortened

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.

§ nextGroupNum

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.

§ originalLength

double Stats::originalLength

Total length of original intersections in the DFN before intersections were shortened.

Definition at line 347 of file structures.h.

§ rejectedFromFam

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.

§ rejectedPolyCount

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.

§ rejectionReasons

struct RejectionReasons Stats::rejectionReasons

RejectionReasons structure holds counters for all rejection reasons.

Definition at line 339 of file structures.h.

§ rejectsPerAttempt

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.

§ retranslatedPolyCount

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.

§ tripleNodeCount

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.

§ truncated

unsigned int Stats::truncated

Total number of fractures that have been truncated against the domain.

Definition at line 311 of file structures.h.

§ volAfterRemoval

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.

§ volBeforeRemoval

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.


The documentation for this struct was generated from the following files: