SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
algorithms::channels::FractureNetworkGenerator Class Reference

#include <FractureNetworkGenerator.h>

Collaboration diagram for algorithms::channels::FractureNetworkGenerator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FractureNetworkGenerator (const double &lengthMin, const double &lengthMax, const double &widthMin, const double &widthMax, const double &orientationMin, const double &orientationMax, const double &domainSizePerDirection, const int &numObjects)
std::vector
< algorithms::geometries::Channel > & 
generateFractureNetwork ()
algorithms::geometries::Channel generateRandomChannel ()
std::vector
< algorithms::geometries::Channel > & 
getChannels ()
virtual ~FractureNetworkGenerator ()

Private Member Functions

double getRandomDoubleInRange (const double &min, const double &max)

Private Attributes

std::vector
< algorithms::geometries::Channel
_channels
const double _domainMax
const double _domainMin
const double & _lengthMax
const double & _lengthMin
const unsigned int _numObjects
const double & _orientationMax
const double & _orientationMin
const double & _widthMax
const double & _widthMin

Static Private Attributes

static tarch::logging::Log _log

Constructor & Destructor Documentation

FractureNetworkGenerator::FractureNetworkGenerator ( const double &  lengthMin,
const double &  lengthMax,
const double &  widthMin,
const double &  widthMax,
const double &  orientationMin,
const double &  orientationMax,
const double &  domainSizePerDirection,
const int &  numObjects 
)

Member Function Documentation

Generates a random fracture network and stores the channels in a vector.

Creates a random Channel object This method is used by the GUI to generate the setup. Therefore, it is not private!

double algorithms::channels::FractureNetworkGenerator::getRandomDoubleInRange ( const double &  min,
const double &  max 
) [inline, private]

Generates a random double value in the range of [min, max]


Member Data Documentation

tarch::logging::Log FractureNetworkGenerator::_log [static, private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines