MercuryDPM
0.11
|
takes data and fstat files and splits them into *.data.???? and *.fstat.???? files More...
Public Member Functions | |
CFile (std::string name) | |
Constructor. More... | |
~CFile () | |
Destructor. More... | |
bool | copy () |
CFile (std::string name) | |
Constructor. More... | |
~CFile () | |
Destructor. More... | |
void | copy (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, double timeMin, double timeMax, unsigned int periodic) |
void | writeP4P (double timeMin, double timeMax) |
void | writeP4C (std::fstream &fstat, double timeData) |
void | writeP4W (std::fstream &fstat, double timeData) |
void | writeRestart (double timeData, double density) |
std::string | getName (std::string type, unsigned int counter) |
CFile (std::string name) | |
Constructor. More... | |
~CFile () | |
Destructor. More... | |
bool | copy (unsigned int stepsize, unsigned int counter) |
bool | copy_data (unsigned int stepsize, unsigned int counter) |
bool | copy_fstat (unsigned int stepsize, unsigned int counter) |
Public Attributes | |
double | splittingradius |
bool | splittinginfo |
int | info0 |
int | info1 |
Private Attributes | |
std::stringstream | data_filename |
These store the save file names,. More... | |
std::stringstream | com_filename |
std::fstream | data_file |
Stream used for data files. More... | |
std::fstream | com_file |
std::string | name_ |
These store the save file names,. More... | |
std::fstream | p4p |
Stream used for data files. More... | |
std::fstream | p4c |
std::fstream | p4w |
double | xmin_ |
double | xmax_ |
double | ymin_ |
double | ymax_ |
double | zmin_ |
double | zmax_ |
std::vector< Vec3D > | position_ |
std::vector< unsigned int > | id_ |
unsigned int | periodic_ |
std::stringstream | fstat_filename |
std::fstream | fstat_file |
takes data and fstat files and splits them into *.data.???? and *.fstat.???? files
Definition at line 38 of file centerofmass.cpp.
|
inline |
Constructor.
Definition at line 43 of file centerofmass.cpp.
References com_file, com_filename, data_file, data_filename, splittinginfo, and splittingradius.
|
inline |
Destructor.
Definition at line 79 of file centerofmass.cpp.
References com_file, com_filename, data_file, and data_filename.
|
inline |
Constructor.
Definition at line 46 of file ConvertP4Files.cpp.
|
inline |
|
inline |
Constructor.
Definition at line 43 of file SplitFiles.cpp.
References data_file, data_filename, fstat_file, and fstat_filename.
|
inline |
Destructor.
Definition at line 66 of file SplitFiles.cpp.
References data_file, data_filename, fstat_file, and fstat_filename.
Definition at line 72 of file SplitFiles.cpp.
References copy_data(), and copy_fstat().
|
inline |
Definition at line 83 of file ConvertP4Files.cpp.
References periodic_, writeP4P(), xmax_, xmin_, ymax_, ymin_, zmax_, and zmin_.
|
inline |
Definition at line 86 of file centerofmass.cpp.
References AZ, com_file, data_file, info0, info1, R, splittinginfo, splittingradius, X, Y, and Z.
Referenced by main().
Definition at line 77 of file SplitFiles.cpp.
References data_file, and data_filename.
Referenced by copy().
Definition at line 117 of file SplitFiles.cpp.
References fstat_file, and fstat_filename.
Referenced by copy().
|
inline |
|
inline |
Definition at line 201 of file ConvertP4Files.cpp.
References id_, p4c, periodic_, position_, Vec3D::setZero(), writeP4W(), Vec3D::X, xmax_, xmin_, Vec3D::Y, and Vec3D::Z.
Referenced by writeP4P().
Definition at line 95 of file ConvertP4Files.cpp.
References getName(), id_, p4p, constants::pi, position_, writeP4C(), writeRestart(), Vec3D::X, xmax_, xmin_, Vec3D::Y, ymax_, ymin_, Vec3D::Z, zmax_, and zmin_.
Referenced by copy().
|
inline |
Definition at line 318 of file ConvertP4Files.cpp.
References id_, p4w, and Vec3D::setZero().
Referenced by writeP4C().
Definition at line 369 of file ConvertP4Files.cpp.
References name_, periodic_, xmax_, xmin_, ymax_, ymin_, zmax_, and zmin_.
Referenced by writeP4P().
|
private |
Definition at line 159 of file centerofmass.cpp.
|
private |
Definition at line 155 of file centerofmass.cpp.
|
private |
Stream used for data files.
Definition at line 158 of file centerofmass.cpp.
Referenced by CFile(), copy(), copy_data(), and ~CFile().
|
private |
These store the save file names,.
Definition at line 154 of file centerofmass.cpp.
Referenced by CFile(), copy_data(), and ~CFile().
|
private |
Definition at line 169 of file SplitFiles.cpp.
Referenced by CFile(), copy_fstat(), and ~CFile().
|
private |
Definition at line 165 of file SplitFiles.cpp.
Referenced by CFile(), copy_fstat(), and ~CFile().
|
private |
Definition at line 441 of file ConvertP4Files.cpp.
Referenced by writeP4C(), writeP4P(), and writeP4W().
int CFile::info0 |
Definition at line 165 of file centerofmass.cpp.
int CFile::info1 |
Definition at line 165 of file centerofmass.cpp.
|
private |
These store the save file names,.
Definition at line 431 of file ConvertP4Files.cpp.
Referenced by getName(), writeRestart(), and ~CFile().
|
private |
Definition at line 435 of file ConvertP4Files.cpp.
Referenced by CFile(), writeP4C(), and ~CFile().
|
private |
Stream used for data files.
Definition at line 434 of file ConvertP4Files.cpp.
Referenced by CFile(), writeP4P(), and ~CFile().
|
private |
Definition at line 436 of file ConvertP4Files.cpp.
Referenced by CFile(), writeP4W(), and ~CFile().
|
private |
Definition at line 442 of file ConvertP4Files.cpp.
Referenced by copy(), writeP4C(), and writeRestart().
|
private |
Definition at line 440 of file ConvertP4Files.cpp.
Referenced by writeP4C(), and writeP4P().
bool CFile::splittinginfo |
Definition at line 164 of file centerofmass.cpp.
double CFile::splittingradius |
Definition at line 163 of file centerofmass.cpp.
|
private |
Definition at line 437 of file ConvertP4Files.cpp.
Referenced by copy(), writeP4C(), writeP4P(), and writeRestart().
|
private |
Definition at line 437 of file ConvertP4Files.cpp.
Referenced by copy(), writeP4C(), writeP4P(), and writeRestart().
|
private |
Definition at line 438 of file ConvertP4Files.cpp.
Referenced by copy(), writeP4P(), and writeRestart().
|
private |
Definition at line 438 of file ConvertP4Files.cpp.
Referenced by copy(), writeP4P(), and writeRestart().
|
private |
Definition at line 439 of file ConvertP4Files.cpp.
Referenced by copy(), writeP4P(), and writeRestart().
|
private |
Definition at line 439 of file ConvertP4Files.cpp.
Referenced by copy(), writeP4P(), and writeRestart().