Reduced Thickness Event-by-event Nuclear Topology
Initial condition model for high-energy nuclear collisions.
Read the docs at qcd.phy.duke.edu/trento.
Heavy-ion collision initial condition model
License: MIT License
Reduced Thickness Event-by-event Nuclear Topology
Initial condition model for high-energy nuclear collisions.
Read the docs at qcd.phy.duke.edu/trento.
trento should automatically choose a reasonable grid size based on the collision system. Right now the default is 10 fm regardless of the system, which is ridiculously large for pp and pA. It's very easy to forget to reduce the grid size when switching systems.
trento classes already have enough information to do this, so it should be easy.
The --grid-max
option would of course remain as a user override.
Read nucleus configurations from HDF5 files.
Dear Sir,
I have installed " Boost". And I am trying to build trento. The terminal message of cmake ..
in the build folder is the following:
-- The CXX compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/local/lib/cmake/Boost-1.77.0/BoostConfig.cmake (found suitable version "1.77.0", minimum required is "1.50") found components: filesystem program_options system
-- HDF5 not found (missing: HDF5_INCLUDE_DIRS HDF5_CXX_LIB HDF5_C_LIB ZLIB, found:)
-- Build type: Release
-- Install prefix: /home/kakashi/.local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kakashi/ALL_CODES/trento-master/build
(I did not install the HDF5 dependency as it was optional.)
And then after make install
, I get the following:
[ 10%] Building CXX object src/CMakeFiles/libtrento.dir/collider.cxx.o
[ 20%] Building CXX object src/CMakeFiles/libtrento.dir/event.cxx.o
[ 30%] Building CXX object src/CMakeFiles/libtrento.dir/hdf5_utils.cxx.o
/home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx: In function ‘bool trento::hdf5::filename_is_hdf5(const boost::filesystem::path&)’:
/home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx:20:79: error: no matching function for call to ‘find(std::initializer_list<const char*>::const_iterator, std::initializer_list<const char*>::const_iterator, boost::filesystem::path)’
20 | auto result = std::find(hdf5_exts.begin(), hdf5_exts.end(), path.extension());
| ^
In file included from /usr/include/c++/9/bits/locale_facets.h:48,
from /usr/include/c++/9/bits/basic_ios.h:37,
from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/ostream:38,
from /usr/local/include/boost/system/detail/error_code.hpp:25,
from /usr/local/include/boost/system/detail/error_category_impl.hpp:15,
from /usr/local/include/boost/system/error_category.hpp:11,
from /usr/local/include/boost/filesystem/path_traits.hpp:14,
from /usr/local/include/boost/filesystem/path.hpp:21,
from /usr/local/include/boost/filesystem.hpp:16,
from /home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx:9:
/usr/include/c++/9/bits/streambuf_iterator.h:373:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)’
373 | find(istreambuf_iterator<_CharT> __first,
| ^~~~
/usr/include/c++/9/bits/streambuf_iterator.h:373:5: note: template argument deduction/substitution failed:
/home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx:20:79: note: mismatched types ‘std::istreambuf_iterator<_CharT>’ and ‘const char* const*’
20 | auto result = std::find(hdf5_exts.begin(), hdf5_exts.end(), path.extension());
| ^
make[2]: *** [src/CMakeFiles/libtrento.dir/build.make:104: src/CMakeFiles/libtrento.dir/hdf5_utils.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:165: src/CMakeFiles/libtrento.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
I tried search for this error but couldn't solved it.
I tried installing trento in another computer, but I received the same error.
Could you please help me resolve this.
The TrENTo link has been updated to point to the TrENTo GitHub repository while the TrENTo website remains unreachable. This issue is a reminder to restore the TrENTo website link when the site is again available.
trento needs a deuteron projectile type in order to model d+Au collisions at RHIC. This should be fairly straightforward: just sample a radius from the Hulthén wavefunction as described in the PHOBOS Glauber model.
The README is just a placeholder. This is a reminder to complete the actual sphinx-generated documentation site.
Currently, trento requires the user to explicitly set the cross section. This is annoying, since the cross section changes with beam energy and the experimental values are sometimes hard to find.
The interface should provide a --beam-energy
option, and the code should interpolate a set of experimental points and choose an appropriate cross section. The --cross-section
option would still be available to allow the user to override the interpolation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.