Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Brick.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Brick.h
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 #ifndef BRICK_H
17 #define BRICK_H
18 
19 #include "FluidDynamics.h"
20 
21 using namespace Jetscape;
22 
23 class Brick : public FluidDynamics {
24  // this is wrapper class for a simple brick
25  // so that it can be used within the JETSCAPE framework
26 private:
27  double T_brick;
28  double brick_L;
29  double start_time;
31 
32  // Allows the registration of the module so that it is available to be used by the Jetscape framework.
34 
35 public:
36  Brick();
37  ~Brick();
38 
39  void InitializeHydro(Parameter parameter_list);
40 
41  void EvolveHydro();
42  void GetHydroInfo(Jetscape::real t, Jetscape::real x, Jetscape::real y,
44  std::unique_ptr<FluidCellInfo> &fluid_cell_info_ptr);
45 
46  void GetHyperSurface(Jetscape::real T_cut,
47  SurfaceCellInfo *surface_list_ptr){};
48 
49  void InitTask();
50  //virtual void Exec();
51 };
52 
53 #endif // BRICK_H