|
NDDEM
|
Contains the parameters of the simulation & CG. More...
#include <IOLiggghts.h>
Classes | |
| struct | ExtaField |
| struct | File |
Public Member Functions | |
| void | from_json (json &j) |
| void | from_file (char path[]) |
| void | disp () |
| void | from_json (json &j) |
| int | read_timestep (int ts, bool particleonly=false) |
| int | set_data (Data &cgdata) |
| int | get_num_particles () |
| int | get_num_contacts () |
| double | get_volume () |
| double * | get_data (DataValue datavalue, int dd=0, std::string name="") |
| void | post_init () |
Public Attributes | |
| string | atmdump ="" |
| string | cfdump ="" |
| int | skipT =0 |
| int | maxT =1 |
| vector< string > | flags = {} |
| const int | dim =3 |
| vector< int > | boxes = {3,3,3} |
| vector< vector< double > > | boundaries ={{0,0,0},{1,1,1}} |
| string | save ="" |
| vector< string > | saveformat |
| std::map< std::string, std::string > | cfmapping |
| bool | hascf = false |
| bool | dotimeavg = false |
| uint8_t | maxlevel = 3 |
| string | windowstr = "" |
| Windows | window = Windows::Lucy3D |
| double | windowsize = 1 |
| vector< bool > | periodicity |
| vector< double > | delta |
| vector< ExtaField > | extrafields |
| string | dump |
| double | rho |
| int | pbc = 0 |
| vector< double > | Delta |
| vector< double > | radius |
| double | cuttoff = 2.5 |
| int | dim =-1 |
| double | default_density =-1 |
| double | default_radius =-1 |
| std::vector< double > | default_sqaxes {-1.,-1.,-1.} |
| std::vector< double > | default_sqpower {2,2,2} |
| AverageType | timeaverage = AverageType::None |
| std::map< std::string, bool > | requiredfieldset = {{"dimension", false}, {"window size", false}, {"fields", false}, {"max time", false}, {"boundaries", false}, {"boxes", false}} |
| std::vector< File > | files |
| int | curts =0 |
| bool | tsread = false |
Private Member Functions | |
| void | post_init () |
| int | parsing (istream &in) |
| int | identify_max_level () |
| Windows | identify_window (std::string windowname) |
| void | process_extrafields (json &j) |
| void | process_file (json &j) |
Private Attributes | |
| bool | needmaxts = true |
| bool | needbounds = true |
Contains the parameters of the simulation & CG.
|
inline |
|
inline |
| void Param::from_json | ( | json & | j | ) |
| void Param::from_json | ( | json & | j | ) |
| double * Param::get_data | ( | DataValue | datavalue, |
| int | dd = 0, |
||
| std::string | name = "" |
||
| ) |
| int Param::get_num_contacts | ( | ) |
| int Param::get_num_particles | ( | ) |
| double Param::get_volume | ( | ) |
|
private |
|
private |
|
private |
|
private |
| void Param::post_init | ( | ) |
|
private |
|
private |
| int Param::read_timestep | ( | int | ts, |
| bool | particleonly = false |
||
| ) |
| int Param::set_data | ( | Data & | cgdata | ) |
| string Param::atmdump ="" |
| vector< vector< double > > Param::boundaries ={{0,0,0},{1,1,1}} |
| vector< int > Param::boxes = {3,3,3} |
| string Param::cfdump ="" |
| std::map<std::string, std::string> Param::cfmapping |
| int Param::curts =0 |
| double Param::cuttoff = 2.5 |
| double Param::default_density =-1 |
| double Param::default_radius =-1 |
| std::vector<double> Param::default_sqaxes {-1.,-1.,-1.} |
| std::vector<double> Param::default_sqpower {2,2,2} |
| vector< double > Param::delta |
| vector<double> Param::Delta |
| const int Param::dim =3 |
| int Param::dim =-1 |
| bool Param::dotimeavg = false |
| string Param::dump |
| vector< ExtaField > Param::extrafields |
| std::vector<File> Param::files |
| vector< string > Param::flags = {} |
| bool Param::hascf = false |
| uint8_t Param::maxlevel = 3 |
| int Param::maxT =1 |
|
private |
|
private |
| int Param::pbc = 0 |
| vector< bool > Param::periodicity |
| vector<double> Param::radius |
| std::map<std::string, bool> Param::requiredfieldset = {{"dimension", false}, {"window size", false}, {"fields", false}, {"max time", false}, {"boundaries", false}, {"boxes", false}} |
| double Param::rho |
| string Param::save ="" |
| vector< string > Param::saveformat |
| int Param::skipT =0 |
| AverageType Param::timeaverage = AverageType::None |
| bool Param::tsread = false |
| Windows Param::window = Windows::Lucy3D |
| double Param::windowsize = 1 |
| string Param::windowstr = "" |