Skip to content

lanl/shoccs

Repository files navigation

Stable High-Order Cut-Cell Solver (shoccs)

This cartesian cut-cell solver is the code counterpart for the numerical algorithm given in the cut cell paper. Currently, the documentation is woefully incomplete but there are several .lua example files demonstrating how one could run the code.

The code makes heavy use of concepts and range-v3 to explore the possiblity of a ranges based dsl for numerical software.

Building

shoccs depends on lua, sol2, Catch2, range-v3, fmt, pugixml, spdlog, and cxxopts. The libraries can all be installed from shoccs-tpl. Assuming all the libraries have been installed in /some/dir/shoccs-tpl and the present repository has been cloned into /other/dir/shoccs, shoccs can be built using cmake:

    $ cd /other/dir/shoccs
    $ cmake -Bbuild -H. -DSHOCCS_TPL_DIR=/some/dir/shoccs-tpl
    $ cd build && make

If enabled, the tests can be run via ctest

Misc

Copyright assertion C20039