Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NullPreDynamics.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file NullPreDynamics.cc
1 /*******************************************************************************
2  * Copyright (c) The JETSCAPE Collaboration, 2018
3  *
4  * Modular, task-based framework for simulating all aspects of heavy-ion collisions
5  *
6  * For the list of contributors see AUTHORS.
7  *
8  * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
9  *
10  * or via email to bugs.jetscape@gmail.com
11  *
12  * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
13  * See COPYING for details.
14  ******************************************************************************/
15 
16 #include <stdio.h>
17 #include <sys/stat.h>
18 
19 #include <cstring>
20 
21 #include "JetScapeLogger.h"
22 #include "NullPreDynamics.h"
23 
24 // Register the module with the base class
26 
29  SetId("NullPreDynamics");
30 }
31 
33  VERBOSE(2) << "Initialize energy density profile in NullPreDynamics ...";
34  // grab initial energy density from vector from initial state module
35  std::vector<double> energy_density = ini->GetEntropyDensityDistribution();
38  VERBOSE(2) << "running NullPreDynamics ...";
39  for (auto const &e_local : energy_density) {
40  e_.push_back(e_local);
41  P_.push_back(e_local / 3.);
42  utau_.push_back(1.);
43  ux_.push_back(0.);
44  uy_.push_back(0.);
45  ueta_.push_back(0.);
46  pi00_.push_back(0.);
47  pi01_.push_back(0.);
48  pi02_.push_back(0.);
49  pi03_.push_back(0.);
50  pi11_.push_back(0.);
51  pi12_.push_back(0.);
52  pi13_.push_back(0.);
53  pi22_.push_back(0.);
54  pi23_.push_back(0.);
55  pi33_.push_back(0.);
56  bulk_Pi_.push_back(0.);
57  }
59  }
60 }