Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:02

0001 /*******************************************************************************
0002  * Copyright (c) The JETSCAPE Collaboration, 2018
0003  *
0004  * Modular, task-based framework for simulating all aspects of heavy-ion collisions
0005  * 
0006  * For the list of contributors see AUTHORS.
0007  *
0008  * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
0009  *
0010  * or via email to bugs.jetscape@gmail.com
0011  *
0012  * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
0013  * See COPYING for details.
0014  ******************************************************************************/
0015 
0016 #ifndef BRICK_H
0017 #define BRICK_H
0018 
0019 #include "FluidDynamics.h"
0020 
0021 using namespace Jetscape;
0022 
0023 class Brick : public FluidDynamics {
0024   // this is wrapper class for a simple brick
0025   // so that it can be used within the JETSCAPE framework
0026 private:
0027   double T_brick;
0028   double brick_L;
0029   double start_time;
0030   bool bjorken_expansion_on;
0031 
0032   // Allows the registration of the module so that it is available to be used by the Jetscape framework.
0033   static RegisterJetScapeModule<Brick> reg;
0034 
0035 public:
0036   Brick();
0037   ~Brick();
0038 
0039   void InitializeHydro(Parameter parameter_list);
0040 
0041   void EvolveHydro();
0042   void GetHydroInfo(Jetscape::real t, Jetscape::real x, Jetscape::real y,
0043                     Jetscape::real z,
0044                     std::unique_ptr<FluidCellInfo> &fluid_cell_info_ptr);
0045 
0046   void GetHyperSurface(Jetscape::real T_cut,
0047                        SurfaceCellInfo *surface_list_ptr){};
0048 
0049   void InitTask();
0050   //virtual void Exec();
0051 };
0052 
0053 #endif // BRICK_H