Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/clvisc_wrapper/include/bulkinfo.h>
Public Member Functions | |
BulkInfo (int nx, int ny, int nz, int nx_skip, int ny_skip, int neta_skip, const OpenclBackend &backend, const std::string &compile_option) | |
void | add_data (const cl::Buffer &d_ev, const cl::Buffer &d_shear_pi, const cl::Buffer &d_bulk_pi, const cl::Image2D &eos_table) |
void | save (const std::string &fpath) |
const std::vector< float > & | get_data () |
const std::vector< std::string > & | get_data_info () |
Private Attributes | |
int | nx_ |
int | ny_ |
int | neta_ |
int | nx_skip_ |
int | ny_skip_ |
int | neta_skip_ |
OpenclBackend | backend_ |
std::string | compile_option_ |
cl::Kernel | kernel_bulk3d_ |
std::vector< float > | bulk_data_ |
std::vector< std::string > | data_info_ |
cl::Buffer | d_bulk3d_1step_ |
std::vector< float > | h_bulk3d_1step_ |
int | nx_out_ |
int | ny_out_ |
int | neta_out_ |
Definition at line 53 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 53 of file bulkinfo.h
clvisc::BulkInfo::BulkInfo | ( | int | nx, |
int | ny, | ||
int | nz, | ||
int | nx_skip, | ||
int | ny_skip, | ||
int | neta_skip, | ||
const OpenclBackend & | backend, | ||
const std::string & | compile_option | ||
) |
tell jetscape what data is stored in std::vector<float> bulk_data_
Definition at line 52 of file bulkinfo.cc.
View newest version in sPHENIX GitHub at line 52 of file bulkinfo.cc
References backend_, clvisc::OpenclBackend::BuildProgram(), compile_option_, clvisc::OpenclBackend::CreateBuffer(), d_bulk3d_1step_, data_info_, check_license::err(), ErrorMessage(), h_bulk3d_1step_, kernel_bulk3d_, neta_, neta_out_, neta_skip_, nx_, nx_out_, nx_skip_, ny_, ny_out_, and ny_skip_.
void clvisc::BulkInfo::add_data | ( | const cl::Buffer & | d_ev, |
const cl::Buffer & | d_shear_pi, | ||
const cl::Buffer & | d_bulk_pi, | ||
const cl::Image2D & | eos_table | ||
) |
Definition at line 98 of file bulkinfo.cc.
View newest version in sPHENIX GitHub at line 98 of file bulkinfo.cc
References backend_, bulk_data_, d_bulk3d_1step_, clvisc::OpenclBackend::enqueue_copy(), clvisc::OpenclBackend::enqueue_run(), h_bulk3d_1step_, kernel_bulk3d_, neta_out_, cl::NullRange, nx_out_, ny_out_, and cl::Kernel::setArg().
Referenced by clvisc::CLVisc::evolve().
const std::vector< float > & clvisc::BulkInfo::get_data | ( | ) |
Definition at line 116 of file bulkinfo.cc.
View newest version in sPHENIX GitHub at line 116 of file bulkinfo.cc
References bulk_data_.
const std::vector< std::string > & clvisc::BulkInfo::get_data_info | ( | ) |
Definition at line 120 of file bulkinfo.cc.
View newest version in sPHENIX GitHub at line 120 of file bulkinfo.cc
References data_info_.
void clvisc::BulkInfo::save | ( | const std::string & | fpath | ) |
Definition at line 124 of file bulkinfo.cc.
View newest version in sPHENIX GitHub at line 124 of file bulkinfo.cc
References bulk_data_, data_info_, fout, ambiguity_solver_full_chain::idx, neta_out_, nx_out_, and ny_out_.
|
private |
Definition at line 60 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 60 of file bulkinfo.h
Referenced by add_data(), and BulkInfo().
|
private |
Definition at line 65 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 65 of file bulkinfo.h
Referenced by add_data(), get_data(), and save().
|
private |
Definition at line 61 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 61 of file bulkinfo.h
Referenced by BulkInfo().
|
private |
Definition at line 68 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 68 of file bulkinfo.h
Referenced by add_data(), and BulkInfo().
|
private |
Definition at line 66 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 66 of file bulkinfo.h
Referenced by BulkInfo(), get_data_info(), and save().
|
private |
Definition at line 69 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 69 of file bulkinfo.h
Referenced by add_data(), and BulkInfo().
|
private |
Definition at line 63 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 63 of file bulkinfo.h
Referenced by add_data(), and BulkInfo().
|
private |
Definition at line 56 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 56 of file bulkinfo.h
Referenced by BulkInfo().
|
private |
Definition at line 73 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 73 of file bulkinfo.h
Referenced by add_data(), BulkInfo(), and save().
|
private |
Definition at line 59 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 59 of file bulkinfo.h
Referenced by BulkInfo().
|
private |
Definition at line 56 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 56 of file bulkinfo.h
Referenced by BulkInfo().
|
private |
Definition at line 71 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 71 of file bulkinfo.h
Referenced by add_data(), BulkInfo(), and save().
|
private |
Definition at line 57 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 57 of file bulkinfo.h
Referenced by BulkInfo().
|
private |
Definition at line 56 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 56 of file bulkinfo.h
Referenced by BulkInfo().
|
private |
Definition at line 72 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 72 of file bulkinfo.h
Referenced by add_data(), BulkInfo(), and save().
|
private |
Definition at line 58 of file bulkinfo.h.
View newest version in sPHENIX GitHub at line 58 of file bulkinfo.h
Referenced by BulkInfo().