The Wayback Machine - http://web.archive.org/web/20200919193051/https://github.com/jlapeyre/gjlcxx_util
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
old
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Utility routines and classes for C/C++

These tools are [were] for things I use repeatedly, mostly for Monte Carlo simulations. My need for this code has been, for the most part, made obsolete by Julia.

See the comments in template headers cpp_headers/ for descriptions and usage.

Also, in c_cpp_problems/ I have recorded the solution to problems I encountered so that I don't have to solve them again.

Use

See for instance scripts/gjl_gen_header --man. This perl script reads a specification file of parameters (for, say, Monte Carlo) and writes a C++ class that allows setting the values and printing them in a nice way in the header of a data file.

Dependencies

Google C++ test framework. This is now available as a debian package

Build and Install

Build with make all. Test with make test.

See INSTALL for changing the following

library: We install a static library to /usr/local/lib/libgjlutils.a

headers: And put below /usr/local/include/

binaries: /usr/local/bin

About

c++ templates for physics simulations and sundry

Resources

License

Packages

No packages published
You can’t perform that action at this time.