LipeiDu / iS3D

This code can read in a freeze out surface from 2+1D or 3+1D viscous hydro codes (cpu-vh, gpu-vh) or viscous anisotropic hydro codes (cpu-vah) and calculate 3D particle spectra. It can perform numerical integration to find the smooth particle spectra, or perform sampling for a particle list. It is accelerated via OpenMP and CUDA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iS3D (c) Mike McNelis, Derek Everett, Sameed Pervaiz and Lipei Du.

Purpose

This code can read in a freeze out surface from 3+1D viscous hydro or anisotropic viscous hydro and calculate 3D smooth particle spectra or a sampled particle list. The structure is based on iSpectra, the Cooper Frye code in the iEBE heavy ion event generator (Chun Shen, Zhi Qiu).

Installation

To compile iS3D, one can do

mkdir build && cd build
cmake ..
make
make install

Usage

To run iS3D

./iS3D

or

sh runCPU.sh <num_threads>

where <num_threads> is the number of cpu threads.

The freezeout surface is read from input/surface.dat, or from memory depending on how the wrapper is called. By default, input/surface.dat contains a toy freezeout surface with one cell. See parameters.dat for a list of compatible formats.

The results will be written in the results directory, so this directory must exist at runtime.

About

This code can read in a freeze out surface from 2+1D or 3+1D viscous hydro codes (cpu-vh, gpu-vh) or viscous anisotropic hydro codes (cpu-vah) and calculate 3D particle spectra. It can perform numerical integration to find the smooth particle spectra, or perform sampling for a particle list. It is accelerated via OpenMP and CUDA.

License:MIT License


Languages

Language:Mathematica 98.0%Language:C++ 1.4%Language:Cuda 0.6%Language:Python 0.0%Language:Makefile 0.0%Language:C 0.0%Language:CMake 0.0%Language:Shell 0.0%