SpherePackingScenarioGenerator
|
#include <FractureNetworkGenerator.h>
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 |
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 | ||
) |
FractureNetworkGenerator::~FractureNetworkGenerator | ( | ) | [virtual] |
std::vector< algorithms::geometries::Channel >& algorithms::channels::FractureNetworkGenerator::generateFractureNetwork | ( | ) | [inline] |
Generates a random fracture network and stores the channels in a vector.
algorithms::geometries::Channel algorithms::channels::FractureNetworkGenerator::generateRandomChannel | ( | ) | [inline] |
Creates a random Channel object This method is used by the GUI to generate the setup. Therefore, it is not private!
std::vector< algorithms::geometries::Channel > & FractureNetworkGenerator::getChannels | ( | ) |
double algorithms::channels::FractureNetworkGenerator::getRandomDoubleInRange | ( | const double & | min, |
const double & | max | ||
) | [inline, private] |
Generates a random double value in the range of [min, max]
std::vector< algorithms::geometries::Channel > algorithms::channels::FractureNetworkGenerator::_channels [private] |
const double algorithms::channels::FractureNetworkGenerator::_domainMax [private] |
const double algorithms::channels::FractureNetworkGenerator::_domainMin [private] |
const double& algorithms::channels::FractureNetworkGenerator::_lengthMax [private] |
const double& algorithms::channels::FractureNetworkGenerator::_lengthMin [private] |
tarch::logging::Log FractureNetworkGenerator::_log [static, private] |
const unsigned int algorithms::channels::FractureNetworkGenerator::_numObjects [private] |
const double& algorithms::channels::FractureNetworkGenerator::_orientationMax [private] |
const double& algorithms::channels::FractureNetworkGenerator::_orientationMin [private] |
const double& algorithms::channels::FractureNetworkGenerator::_widthMax [private] |
const double& algorithms::channels::FractureNetworkGenerator::_widthMin [private] |