SpherePackingScenarioGenerator
|
#include <ReadInput.h>
Public Member Functions | |
int | read (std::string filename) |
Private Attributes | |
char | datafile [NAME_LEN] |
int | eventspercycle |
double | growthrate |
double | initialpf |
double | maxpf |
double | maxpressure |
int | N |
char | readfile [NAME_LEN] |
double | temp |
char | writefile [NAME_LEN] |
Friends | |
void | RandomPacking::generate () |
Class ReadInput read the configuration of generating spheres
int algorithms::ls::ReadInput::read | ( | std::string | filename | ) |
Read the configuaration filename the configuration
void RandomPacking::generate | ( | ) | [friend] |
char algorithms::ls::ReadInput::datafile[NAME_LEN] [private] |
file to write statistics
int algorithms::ls::ReadInput::eventspercycle [private] |
double algorithms::ls::ReadInput::growthrate [private] |
the growthrate of sphere
double algorithms::ls::ReadInput::initialpf [private] |
initial packing fraction
double algorithms::ls::ReadInput::maxpf [private] |
maximum packing fraction
double algorithms::ls::ReadInput::maxpressure [private] |
maximum pressure, one of two stopping criterions
int algorithms::ls::ReadInput::N [private] |
spheres
char algorithms::ls::ReadInput::readfile[NAME_LEN] [private] |
file with configuration; if new, creates new
double algorithms::ls::ReadInput::temp [private] |
initial temperature (temp=0 means v=0)
char algorithms::ls::ReadInput::writefile[NAME_LEN] [private] |
file to write configuration