Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/hydro_from_external_file/Hydroinfo_h5.h>
Public Member Functions | |
HydroinfoH5 () | |
HydroinfoH5 (string filename_in, int bufferSize_in, int Visflag_in) | |
HydroinfoH5 (int XL_in, int XH_in, double DX_in, int LSX_in, int YL_in, int YH_in, double DY_in, int LSY_in, double Tau0_in, double dTau_in, double LST_in, int Visflag_in, string filename_in) | |
~HydroinfoH5 () | |
void | clean_hydro_event () |
clean the memory | |
void | setHydroFiles (int XL_in, int XH_in, double DX_in, int LSX_in, int YL_in, int YH_in, double DY_in, int LSY_in, double Tau0_in, double dTau_in, double LST_in, int Visflag_in, string filename_in) |
void | writeGroupattribute (hid_t H5groupEventid) |
void | addGroupattributeInt (hid_t H5groupEventid, string attName, int attValue) |
void | addGroupattributeDouble (hid_t H5groupEventid, string attName, double attValue) |
void | writeHydroBlock (int Time_id, double **ed_in, double **sd_in, double **p_in, double **Temp_in, double **Vx_in, double **Vy_in, double **Pi00_in, double **Pi01_in, double **Pi02_in, double **Pi03_in, double **Pi11_in, double **Pi12_in, double **Pi13_in, double **Pi22_in, double **Pi23_in, double **Pi33_in, double **BulkPi_in) |
void | CSH5dumpBlockdata (hid_t group_id, const hsize_t *dims, string DatasetName, double **Dataset) |
void | readHydroinfoH5 (string filename, int bufferSize_in, int Visflag_in) |
void | readHydrogridInfo () |
void | printHydrogridInfo () |
int | readH5Attribute_int (hid_t id, string attributeName) |
double | readH5Attribute_double (hid_t id, string attributeName) |
void | readHydroinfoBuffered_total () |
void | readHydroinfoSingleframe (int frameIdx) |
void | readH5Dataset_double (hid_t id, string datasetName, double **dset_data) |
int | getNumberofFrames () |
double | getHydrogridDX () |
double | getHydrogridDY () |
double | getHydrogridDTau () |
double | getHydrogridTau0 () |
double | getHydrogridTaumax () |
double | getHydrogridNX () |
double | getHydrogridNY () |
double | getHydrogridX0 () |
double | getHydrogridY0 () |
double | getHydrogridXmax () |
double | getHydrogridYmax () |
void | getHydroinfoOnlattice (int frameIdx, int xIdx, int yIdx, hydrofluidCell *fluidCellptr) |
void | getHydroinfo (double tau, double x, double y, hydrofluidCell *fluidCellptr) |
void | setZero_fluidCell (hydrofluidCell *fluidCellptr) |
double | cubeInterpShell (int idx_x, int idx_y, int idx_z, double x, double y, double z, double ***dataset) |
double | cubeInterp (double x, double y, double z, double A000, double A100, double A010, double A110, double A001, double A101, double A011, double A111) |
Private Attributes | |
int | readinFlag |
int | outputFlag |
string | filename |
int | Visflag |
int | Buffersize |
hid_t | H5file_id |
hid_t | H5groupEventid |
int | grid_XL |
int | grid_XH |
int | grid_YL |
int | grid_YH |
int | grid_Framenum |
double | grid_X0 |
double | grid_Y0 |
double | grid_Xmax |
double | grid_Ymax |
double | grid_Tau0 |
double | grid_dTau |
double | grid_dx |
double | grid_dy |
double | grid_Taumax |
int | grid_LSX |
int | grid_LSY |
int | grid_LST |
int | LST_cur |
int | dimensionX |
int | dimensionY |
double *** | ed |
double *** | sd |
double *** | vx |
double *** | vy |
double *** | Temperature |
double *** | Pressure |
double *** | pi00 |
double *** | pi01 |
double *** | pi02 |
double *** | pi03 |
double *** | pi11 |
double *** | pi12 |
double *** | pi13 |
double *** | pi22 |
double *** | pi23 |
double *** | pi33 |
double *** | BulkPi |
Definition at line 19 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 19 of file Hydroinfo_h5.h
HydroinfoH5::HydroinfoH5 | ( | ) |
Definition at line 14 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 14 of file Hydroinfo_h5.cpp
HydroinfoH5::HydroinfoH5 | ( | string | filename_in, |
int | bufferSize_in, | ||
int | Visflag_in | ||
) |
Definition at line 19 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 19 of file Hydroinfo_h5.cpp
HydroinfoH5::HydroinfoH5 | ( | int | XL_in, |
int | XH_in, | ||
double | DX_in, | ||
int | LSX_in, | ||
int | YL_in, | ||
int | YH_in, | ||
double | DY_in, | ||
int | LSY_in, | ||
double | Tau0_in, | ||
double | dTau_in, | ||
double | LST_in, | ||
int | Visflag_in, | ||
string | filename_in | ||
) |
Definition at line 24 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 24 of file Hydroinfo_h5.cpp
HydroinfoH5::~HydroinfoH5 | ( | ) |
Definition at line 32 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 32 of file Hydroinfo_h5.cpp
void HydroinfoH5::addGroupattributeDouble | ( | hid_t | H5groupEventid, |
string | attName, | ||
double | attValue | ||
) |
Definition at line 178 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 178 of file Hydroinfo_h5.cpp
References utils::status.
void HydroinfoH5::addGroupattributeInt | ( | hid_t | H5groupEventid, |
string | attName, | ||
int | attValue | ||
) |
Definition at line 157 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 157 of file Hydroinfo_h5.cpp
References utils::status.
void HydroinfoH5::clean_hydro_event | ( | ) |
clean the memory
Definition at line 38 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 38 of file Hydroinfo_h5.cpp
void HydroinfoH5::CSH5dumpBlockdata | ( | hid_t | group_id, |
const hsize_t * | dims, | ||
string | DatasetName, | ||
double ** | Dataset | ||
) |
Definition at line 256 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 256 of file Hydroinfo_h5.cpp
References i, j, and utils::status.
double HydroinfoH5::cubeInterp | ( | double | x, |
double | y, | ||
double | z, | ||
double | A000, | ||
double | A100, | ||
double | A010, | ||
double | A110, | ||
double | A001, | ||
double | A101, | ||
double | A011, | ||
double | A111 | ||
) |
Definition at line 671 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 671 of file Hydroinfo_h5.cpp
References ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.
double HydroinfoH5::cubeInterpShell | ( | int | idx_x, |
int | idx_y, | ||
int | idx_z, | ||
double | x, | ||
double | y, | ||
double | z, | ||
double *** | dataset | ||
) |
Definition at line 663 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 663 of file Hydroinfo_h5.cpp
|
inline |
Definition at line 82 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 82 of file Hydroinfo_h5.h
References grid_dTau.
|
inline |
Definition at line 80 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 80 of file Hydroinfo_h5.h
References grid_dx.
|
inline |
Definition at line 81 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 81 of file Hydroinfo_h5.h
References grid_dy.
|
inline |
Definition at line 85 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 85 of file Hydroinfo_h5.h
|
inline |
Definition at line 86 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 86 of file Hydroinfo_h5.h
|
inline |
Definition at line 83 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 83 of file Hydroinfo_h5.h
References grid_Tau0.
|
inline |
Definition at line 84 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 84 of file Hydroinfo_h5.h
References grid_Taumax.
|
inline |
Definition at line 87 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 87 of file Hydroinfo_h5.h
References grid_X0.
|
inline |
Definition at line 89 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 89 of file Hydroinfo_h5.h
References grid_Xmax.
|
inline |
Definition at line 88 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 88 of file Hydroinfo_h5.h
References grid_Y0.
|
inline |
Definition at line 90 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 90 of file Hydroinfo_h5.h
References grid_Ymax.
void HydroinfoH5::getHydroinfo | ( | double | tau, |
double | x, | ||
double | y, | ||
hydrofluidCell * | fluidCellptr | ||
) |
Definition at line 590 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 590 of file Hydroinfo_h5.cpp
References hydrofluidCell::bulkPi, Acts::UnitConstants::e, hydrofluidCell::ed, eps, i, j, hydrofluidCell::pi, hydrofluidCell::pressure, hydrofluidCell::sd, hydrofluidCell::temperature, hydrofluidCell::vx, vx, hydrofluidCell::vy, and vy.
void HydroinfoH5::getHydroinfoOnlattice | ( | int | frameIdx, |
int | xIdx, | ||
int | yIdx, | ||
hydrofluidCell * | fluidCellptr | ||
) |
Definition at line 555 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 555 of file Hydroinfo_h5.cpp
References hydrofluidCell::bulkPi, hydrofluidCell::ed, hydrofluidCell::pi, hydrofluidCell::pressure, hydrofluidCell::sd, hydrofluidCell::temperature, hydrofluidCell::vx, vx, hydrofluidCell::vy, and vy.
|
inline |
Definition at line 79 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 79 of file Hydroinfo_h5.h
References grid_Framenum.
void HydroinfoH5::printHydrogridInfo | ( | ) |
Definition at line 411 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 411 of file Hydroinfo_h5.cpp
double HydroinfoH5::readH5Attribute_double | ( | hid_t | id, |
string | attributeName | ||
) |
Definition at line 445 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 445 of file Hydroinfo_h5.cpp
Referenced by InitialFromFile::ReadConfigs().
int HydroinfoH5::readH5Attribute_int | ( | hid_t | id, |
string | attributeName | ||
) |
Definition at line 434 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 434 of file Hydroinfo_h5.cpp
Referenced by InitialFromFile::ReadConfigs().
void HydroinfoH5::readH5Dataset_double | ( | hid_t | id, |
string | datasetName, | ||
double ** | dset_data | ||
) |
Definition at line 541 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 541 of file Hydroinfo_h5.cpp
References i, j, and utils::status.
void HydroinfoH5::readHydrogridInfo | ( | ) |
Definition at line 384 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 384 of file Hydroinfo_h5.cpp
References utils::status.
void HydroinfoH5::readHydroinfoBuffered_total | ( | ) |
Definition at line 456 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 456 of file Hydroinfo_h5.cpp
References i, utils::status, vx, and vy.
void HydroinfoH5::readHydroinfoH5 | ( | string | filename, |
int | bufferSize_in, | ||
int | Visflag_in | ||
) |
Definition at line 288 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 288 of file Hydroinfo_h5.cpp
void HydroinfoH5::readHydroinfoSingleframe | ( | int | frameIdx | ) |
Definition at line 498 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 498 of file Hydroinfo_h5.cpp
References utils::status, vx, and vy.
void HydroinfoH5::setHydroFiles | ( | int | XL_in, |
int | XH_in, | ||
double | DX_in, | ||
int | LSX_in, | ||
int | YL_in, | ||
int | YH_in, | ||
double | DY_in, | ||
int | LSY_in, | ||
double | Tau0_in, | ||
double | dTau_in, | ||
double | LST_in, | ||
int | Visflag_in, | ||
string | filename_in | ||
) |
Definition at line 103 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 103 of file Hydroinfo_h5.cpp
References filename, and utils::status.
void HydroinfoH5::setZero_fluidCell | ( | hydrofluidCell * | fluidCellptr | ) |
Definition at line 649 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 649 of file Hydroinfo_h5.cpp
References hydrofluidCell::bulkPi, hydrofluidCell::ed, i, j, hydrofluidCell::pi, hydrofluidCell::pressure, hydrofluidCell::sd, hydrofluidCell::temperature, hydrofluidCell::vx, and hydrofluidCell::vy.
void HydroinfoH5::writeGroupattribute | ( | hid_t | H5groupEventid | ) |
Definition at line 141 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 141 of file Hydroinfo_h5.cpp
void HydroinfoH5::writeHydroBlock | ( | int | Time_id, |
double ** | ed_in, | ||
double ** | sd_in, | ||
double ** | p_in, | ||
double ** | Temp_in, | ||
double ** | Vx_in, | ||
double ** | Vy_in, | ||
double ** | Pi00_in, | ||
double ** | Pi01_in, | ||
double ** | Pi02_in, | ||
double ** | Pi03_in, | ||
double ** | Pi11_in, | ||
double ** | Pi12_in, | ||
double ** | Pi13_in, | ||
double ** | Pi22_in, | ||
double ** | Pi23_in, | ||
double ** | Pi33_in, | ||
double ** | BulkPi_in | ||
) |
Definition at line 199 of file Hydroinfo_h5.cpp.
View newest version in sPHENIX GitHub at line 199 of file Hydroinfo_h5.cpp
References filename, and utils::status.
|
private |
Definition at line 28 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 28 of file Hydroinfo_h5.h
|
private |
Definition at line 45 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 45 of file Hydroinfo_h5.h
|
private |
Definition at line 41 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 41 of file Hydroinfo_h5.h
|
private |
Definition at line 41 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 41 of file Hydroinfo_h5.h
|
private |
Definition at line 42 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 42 of file Hydroinfo_h5.h
|
private |
Definition at line 25 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 25 of file Hydroinfo_h5.h
|
private |
Definition at line 35 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 35 of file Hydroinfo_h5.h
Referenced by getHydrogridDTau().
|
private |
Definition at line 35 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 35 of file Hydroinfo_h5.h
Referenced by getHydrogridDX().
|
private |
Definition at line 35 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 35 of file Hydroinfo_h5.h
Referenced by getHydrogridDY().
|
private |
Definition at line 32 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 32 of file Hydroinfo_h5.h
Referenced by getNumberofFrames().
|
private |
Definition at line 38 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 38 of file Hydroinfo_h5.h
|
private |
Definition at line 38 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 38 of file Hydroinfo_h5.h
|
private |
Definition at line 38 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 38 of file Hydroinfo_h5.h
|
private |
Definition at line 35 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 35 of file Hydroinfo_h5.h
Referenced by getHydrogridTau0().
|
private |
Definition at line 36 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 36 of file Hydroinfo_h5.h
Referenced by getHydrogridTaumax().
|
private |
Definition at line 33 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 33 of file Hydroinfo_h5.h
Referenced by getHydrogridX0().
|
private |
Definition at line 31 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 31 of file Hydroinfo_h5.h
Referenced by getHydrogridNX().
|
private |
Definition at line 31 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 31 of file Hydroinfo_h5.h
Referenced by getHydrogridNX().
|
private |
Definition at line 34 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 34 of file Hydroinfo_h5.h
Referenced by getHydrogridXmax().
|
private |
Definition at line 33 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 33 of file Hydroinfo_h5.h
Referenced by getHydrogridY0().
|
private |
Definition at line 31 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 31 of file Hydroinfo_h5.h
Referenced by getHydrogridNY().
|
private |
Definition at line 31 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 31 of file Hydroinfo_h5.h
Referenced by getHydrogridNY().
|
private |
Definition at line 34 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 34 of file Hydroinfo_h5.h
Referenced by getHydrogridYmax().
|
private |
Definition at line 29 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 29 of file Hydroinfo_h5.h
|
private |
Definition at line 29 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 29 of file Hydroinfo_h5.h
|
private |
Definition at line 39 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 39 of file Hydroinfo_h5.h
|
private |
Definition at line 23 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 23 of file Hydroinfo_h5.h
|
private |
Definition at line 43 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 43 of file Hydroinfo_h5.h
|
private |
Definition at line 43 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 43 of file Hydroinfo_h5.h
|
private |
Definition at line 43 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 43 of file Hydroinfo_h5.h
|
private |
Definition at line 43 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 43 of file Hydroinfo_h5.h
|
private |
Definition at line 43 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 43 of file Hydroinfo_h5.h
|
private |
Definition at line 43 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 43 of file Hydroinfo_h5.h
|
private |
Definition at line 43 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 43 of file Hydroinfo_h5.h
|
private |
Definition at line 44 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 44 of file Hydroinfo_h5.h
|
private |
Definition at line 44 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 44 of file Hydroinfo_h5.h
|
private |
Definition at line 44 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 44 of file Hydroinfo_h5.h
|
private |
Definition at line 42 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 42 of file Hydroinfo_h5.h
|
private |
Definition at line 22 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 22 of file Hydroinfo_h5.h
|
private |
Definition at line 42 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 42 of file Hydroinfo_h5.h
|
private |
Definition at line 42 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 42 of file Hydroinfo_h5.h
|
private |
Definition at line 27 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 27 of file Hydroinfo_h5.h
|
private |
Definition at line 42 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 42 of file Hydroinfo_h5.h
|
private |
Definition at line 42 of file Hydroinfo_h5.h.
View newest version in sPHENIX GitHub at line 42 of file Hydroinfo_h5.h