Giter Site home page Giter Site logo

derekeverett / is3d Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 8.0 36.26 MB

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

Makefile 0.10% Shell 0.01% C++ 1.44% Cuda 0.27% C 0.04% Python 0.04% CMake 0.07% Mathematica 98.03%

is3d's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.