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

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

+ Inheritance diagram for CLVisc:
+ Collaboration diagram for CLVisc:

Public Member Functions

 CLVisc ()
 
 ~CLVisc ()
 
void InitializeHydro (Parameter parameter_list)
 
void EvolveHydro ()
 
void GetHydroInfo (Jetscape::real t, Jetscape::real x, Jetscape::real y, Jetscape::real z, std::unique_ptr< FluidCellInfo > &fluid_cell_info_ptr)
 
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 double GetEventPlaneAngle ()
 
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

std::unique_ptr< clvisc::CLVischydro_
 
int doCooperFrye
 
double initial_condition_scale_factor
 

Static Private Attributes

static RegisterJetScapeModule
< CLVisc
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 25 of file CLViscWrapper.h.

View newest version in sPHENIX GitHub at line 25 of file CLViscWrapper.h

Constructor & Destructor Documentation

CLVisc::CLVisc ( )

Definition at line 31 of file CLViscWrapper.cc.

View newest version in sPHENIX GitHub at line 31 of file CLViscWrapper.cc

References Jetscape::NOT_START, and SetId().

+ Here is the call graph for this function:

CLVisc::~CLVisc ( )

Definition at line 36 of file CLViscWrapper.cc.

View newest version in sPHENIX GitHub at line 36 of file CLViscWrapper.cc

Member Function Documentation

void CLVisc::EvolveHydro ( )
virtual

Default function to evolve the hydrodynamics. It can be overridden by different modules.

Reimplemented from Jetscape::FluidDynamics.

Definition at line 86 of file CLViscWrapper.cc.

View newest version in sPHENIX GitHub at line 86 of file CLViscWrapper.cc

References cfg, dtau, dy, Jetscape::FINISHED, ambiguity_solver_full_chain::idx, Jetscape::INITIALIZED, JSINFO, nx, ny, and VERBOSE.

void CLVisc::GetHydroInfo ( Jetscape::real  t,
Jetscape::real  x,
Jetscape::real  y,
Jetscape::real  z,
std::unique_ptr< FluidCellInfo > &  fluid_cell_info_ptr 
)
virtual

Retrieves the hydro information at a given space-time point. It throws a InvalidSpaceTimeRange message when (t or tau, x, y, z or eta) is out of the evolution history range.

Parameters
timeTime or tau coordinate.
xSpace coordinate.
ySpace coordinate.
zSpace or eta coordinate.
fluid_cell_info_ptrA pointer to the FluidCellInfo class.

Reimplemented from Jetscape::FluidDynamics.

Definition at line 144 of file CLViscWrapper.cc.

View newest version in sPHENIX GitHub at line 144 of file CLViscWrapper.cc

References eta, Jetscape::FINISHED, and tau.

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

Definition at line 45 of file CLViscWrapper.h.

View newest version in sPHENIX GitHub at line 45 of file CLViscWrapper.h

void CLVisc::InitializeHydro ( Parameter  parameter_list)
virtual

Member Data Documentation

int CLVisc::doCooperFrye
private

Definition at line 28 of file CLViscWrapper.h.

View newest version in sPHENIX GitHub at line 28 of file CLViscWrapper.h

std::unique_ptr<clvisc::CLVisc> CLVisc::hydro_
private

Definition at line 27 of file CLViscWrapper.h.

View newest version in sPHENIX GitHub at line 27 of file CLViscWrapper.h

double CLVisc::initial_condition_scale_factor
private

Definition at line 31 of file CLViscWrapper.h.

View newest version in sPHENIX GitHub at line 31 of file CLViscWrapper.h

RegisterJetScapeModule< CLVisc > CLVisc::reg
staticprivate

Definition at line 34 of file CLViscWrapper.h.

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


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