Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HydroFromFile Class Reference

#include <JETSCAPE/blob/main/src/hydro/HydroFromFile.h>

+ Inheritance diagram for HydroFromFile:
+ Collaboration diagram for HydroFromFile:

Public Member Functions

 HydroFromFile ()
 
 ~HydroFromFile ()
 
void clean_hydro_event ()
 clean up hydro event
 
void InitializeHydro (Parameter parameter_list)
 This function initials hydro parameters and read in a hydro event.
 
void read_in_hydro_event (string VISH_filename, int buffer_size, int load_viscous)
 This function load a VISHNew hydro event.
 
void read_in_hydro_event (string input_file, string hydro_ideal_file, int nskip_tau)
 This function load a MUSIC hydro event.
 
void read_in_hydro_event (string input_file, string preEq_file, string hydro_ideal_file, int nskip_tau)
 This function load a PreEq event and a MUSIC hydro event.
 
void EvolveHydro ()
 This function is a dummy function.
 
void GetHydroInfo (Jetscape::real t, Jetscape::real x, Jetscape::real y, Jetscape::real z, std::unique_ptr< FluidCellInfo > &fluid_cell_info_ptr)
 
double GetEventPlaneAngle ()
 
void set_hydro_event_idx (int idx_in)
 
int get_hydro_event_idx ()
 
void GetHyperSurface (Jetscape::real T_cut, SurfaceCellInfo *surface_list_ptr)
 
- Public Member Functions inherited from Jetscape::FluidDynamics
 FluidDynamics ()
 
virtual ~FluidDynamics ()
 
virtual void Init ()
 
virtual void Exec ()
 
virtual void Clear ()
 
ParameterGetParameterList ()
 
virtual void CollectHeader (weak_ptr< JetScapeWriter > w)
 
virtual void GetTemperature (double t, double x, double y, double z, double &mT)
 
virtual void GetHydroCell (double t, double x, double y, double z, std::unique_ptr< FluidCellInfo > &fCell)
 
int GetHydroStatus () const
 
void StoreHydroEvolutionHistory (std::unique_ptr< FluidCellInfo > &fluid_cell_info_ptr)
 
void clear_up_evolution_data ()
 
void GetHydroStartTime (double &tau0)
 
Jetscape::real GetHydroEndTime () const
 
Jetscape::real GetHydroFreezeOutTemperature () const
 
void PrintFluidCellInformation (FluidCellInfo *fluid_cell_info_ptr)
 
void FindAConstantTemperatureSurface (Jetscape::real T_sw, std::vector< SurfaceCellInfo > &surface_cells)
 
virtual Jetscape::real GetEnergyDensity (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z)
 
virtual Jetscape::real GetEntropyDensity (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z)
 
virtual Jetscape::real GetTemperature (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z)
 
virtual Jetscape::real GetQgpFraction (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z)
 
virtual void add_a_liquefier (std::shared_ptr< LiquefierBase > new_liquefier)
 
void get_source_term (Jetscape::real tau, Jetscape::real x, Jetscape::real y, Jetscape::real eta, std::array< Jetscape::real, 4 > jmu) const
 
virtual void UpdateEnergyDeposit (int t, double edop)
 slots for "jet" signals (future)
 
virtual void GetEnergyDensity (int t, double &edensity)
 slots for "jet" signals (future)
 
const EvolutionHistoryget_bulk_info () const
 
- Public Member Functions inherited from Jetscape::JetScapeModuleBase
 JetScapeModuleBase ()
 
 JetScapeModuleBase (string m_name)
 
virtual ~JetScapeModuleBase ()
 
void SetXMLMainFileName (string m_name)
 
string GetXMLMainFileName ()
 
void SetXMLUserFileName (string m_name)
 
string GetXMLUserFileName ()
 
shared_ptr< std::mt19937 > GetMt19937Generator ()
 
tinyxml2::XMLElementGetXMLElement (std::initializer_list< const char * > path, bool isRequired=true)
 
std::string GetXMLElementText (std::initializer_list< const char * > path, bool isRequired=true)
 
int GetXMLElementInt (std::initializer_list< const char * > path, bool isRequired=true)
 
double GetXMLElementDouble (std::initializer_list< const char * > path, bool isRequired=true)
 
- Public Member Functions inherited from Jetscape::JetScapeTask
 JetScapeTask ()
 
virtual ~JetScapeTask ()
 
virtual void Finish ()
 
virtual void ExecuteTasks ()
 
virtual void ExecuteTask ()
 
virtual void InitTask ()
 
virtual void InitTasks ()
 
virtual void ClearTasks ()
 
virtual void ClearTask ()
 
virtual void FinishTask ()
 
virtual void FinishTasks ()
 
virtual void WriteTasks (weak_ptr< JetScapeWriter > w)
 
virtual void WriteTask (weak_ptr< JetScapeWriter > w)
 
virtual void CollectHeaders (weak_ptr< JetScapeWriter > w)
 
virtual void Add (shared_ptr< JetScapeTask > m_tasks)
 
virtual const int GetMyTaskNumber () const
 
const vector< shared_ptr
< JetScapeTask > > 
GetTaskList () const
 
shared_ptr< JetScapeTaskGetTaskAt (int i)
 
void EraseTaskLast ()
 
void EraseTaskAt (int i)
 
void ResizeTaskList (int i)
 
void ClearTaskList ()
 
int GetNumberOfTasks ()
 
const bool GetActive () const
 
void SetActive (bool m_active_exec)
 
void SetId (string m_id)
 
const string GetId () const
 
const shared_ptr
< JetScapeModuleMutex
GetMutex () const
 
void SetMutex (shared_ptr< JetScapeModuleMutex > m_mutex)
 
- Public Member Functions inherited from sigslot::has_slots< sigslot::multi_threaded_local >
 has_slots ()
 
 has_slots (const has_slots &hs)
 
void signal_connect (_signal_base< sigslot::multi_threaded_local > *sender)
 
void signal_disconnect (_signal_base< sigslot::multi_threaded_local > *sender)
 
virtual ~has_slots ()
 
void disconnect_all ()
 

Private Attributes

int flag_read_in_multiple_hydro_
 
int hydro_event_idx_
 
int load_viscous_
 
int hydro_type_
 
int nskip_tau_
 
double T_c_
 
Hydroinfo_MUSIChydroinfo_MUSIC_ptr
 
double PreEq_tau0_
 
double PreEq_tauf_
 
Hydroinfo_MUSIChydroinfo_PreEq_ptr
 

Static Private Attributes

static RegisterJetScapeModule
< HydroFromFile
reg
 

Additional Inherited Members

- Static Public Member Functions inherited from Jetscape::JetScapeModuleBase
static int GetCurrentEvent ()
 
static void IncrementCurrentEvent ()
 
- Protected Attributes inherited from Jetscape::FluidDynamics
Jetscape::real hydro_tau_0
 
Jetscape::real hydro_tau_max
 
Jetscape::real hydro_freeze_out_temperature
 
HydroStatus hydro_status
 
std::shared_ptr< InitialStateini
 
std::shared_ptr
< PreequilibriumDynamics
pre_eq_ptr
 
double eta
 
bool boost_invariant_
 
Parameter parameter_list
 
EvolutionHistory bulk_info
 
std::weak_ptr< LiquefierBaseliquefier_ptr
 

Detailed Description

Definition at line 30 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 30 of file HydroFromFile.h

Constructor & Destructor Documentation

HydroFromFile::HydroFromFile ( )

Definition at line 34 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 34 of file HydroFromFile.cc

References Jetscape::NOT_START, and SetId().

+ Here is the call graph for this function:

HydroFromFile::~HydroFromFile ( )

Definition at line 41 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 41 of file HydroFromFile.cc

Member Function Documentation

void HydroFromFile::clean_hydro_event ( )

clean up hydro event

Definition at line 239 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 239 of file HydroFromFile.cc

References JSINFO, and Jetscape::NOT_START.

void HydroFromFile::EvolveHydro ( )
virtual

This function is a dummy function.

Reimplemented from Jetscape::FluidDynamics.

Definition at line 151 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 151 of file HydroFromFile.cc

References Acts::UnitConstants::e, filename, Jetscape::FINISHED, perf_headwind::input_file, and JSWARN.

int HydroFromFile::get_hydro_event_idx ( )
inline

Definition at line 89 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 89 of file HydroFromFile.h

double HydroFromFile::GetEventPlaneAngle ( )
virtual

Generated event plane angle To be overwritten by implementations that have such information.

Reimplemented from Jetscape::FluidDynamics.

Definition at line 354 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 354 of file HydroFromFile.cc

References dummy, centProxy::inputfile, and v2.

void HydroFromFile::GetHyperSurface ( Jetscape::real  T_cut,
SurfaceCellInfo surface_list_ptr 
)
inline

Definition at line 90 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 90 of file HydroFromFile.h

void HydroFromFile::InitializeHydro ( Parameter  parameter_list)
virtual

This function initials hydro parameters and read in a hydro event.

this function loads the hydro files

Reimplemented from Jetscape::FluidDynamics.

Definition at line 44 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 44 of file HydroFromFile.cc

References Jetscape::INITIALIZED, JSDEBUG, JSWARN, physmon_simulation::s, VERBOSE, and verbose.

void HydroFromFile::read_in_hydro_event ( string  VISH_filename,
int  buffer_size,
int  load_viscous 
)

This function load a VISHNew hydro event.

Definition at line 94 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 94 of file HydroFromFile.cc

References Jetscape::FINISHED, and JSINFO.

void HydroFromFile::read_in_hydro_event ( string  input_file,
string  hydro_ideal_file,
int  nskip_tau 
)

This function load a MUSIC hydro event.

Definition at line 106 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 106 of file HydroFromFile.cc

References Jetscape::FINISHED, and JSINFO.

void HydroFromFile::read_in_hydro_event ( string  input_file,
string  preEq_file,
string  hydro_ideal_file,
int  nskip_tau 
)

This function load a PreEq event and a MUSIC hydro event.

Definition at line 130 of file HydroFromFile.cc.

View newest version in sPHENIX GitHub at line 130 of file HydroFromFile.cc

References Jetscape::FINISHED, and JSINFO.

void HydroFromFile::set_hydro_event_idx ( int  idx_in)
inline

Definition at line 88 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 88 of file HydroFromFile.h

Member Data Documentation

int HydroFromFile::flag_read_in_multiple_hydro_
private

Definition at line 34 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 34 of file HydroFromFile.h

int HydroFromFile::hydro_event_idx_
private

Definition at line 35 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 35 of file HydroFromFile.h

int HydroFromFile::hydro_type_
private

Definition at line 38 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 38 of file HydroFromFile.h

Hydroinfo_MUSIC* HydroFromFile::hydroinfo_MUSIC_ptr
private

Definition at line 46 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 46 of file HydroFromFile.h

Hydroinfo_MUSIC* HydroFromFile::hydroinfo_PreEq_ptr
private

Definition at line 50 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 50 of file HydroFromFile.h

int HydroFromFile::load_viscous_
private

Definition at line 37 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 37 of file HydroFromFile.h

int HydroFromFile::nskip_tau_
private

Definition at line 40 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 40 of file HydroFromFile.h

double HydroFromFile::PreEq_tau0_
private

Definition at line 48 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 48 of file HydroFromFile.h

double HydroFromFile::PreEq_tauf_
private

Definition at line 49 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 49 of file HydroFromFile.h

RegisterJetScapeModule< HydroFromFile > HydroFromFile::reg
staticprivate

Definition at line 53 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 53 of file HydroFromFile.h

double HydroFromFile::T_c_
private

Definition at line 41 of file HydroFromFile.h.

View newest version in sPHENIX GitHub at line 41 of file HydroFromFile.h


The documentation for this class was generated from the following files: