Skip to main content

Solvers of Conservation Laws

Project description

SOLVCON is a collection of conservation-law solvers that use the space-time Conservation Element and Solution Element (CESE) method.

Install

Clone the hg repository from https://bitbucket.org/solvcon/solvcon:

$ hg clone https://bitbucket.org/solvcon/solvcon

SOLVCON needs the following packages: gcc 4.3+ (clang on OSX works as well), SCons 2+, Python 2.7, Cython 0.16+, Numpy 1.5+, LAPACK, NetCDF 4+, SCOTCH 6.0+, Nose 1.0+, Paramiko 1.14+, boto 2.29.1+, gmsh 2.5+, and VTK 5.6+.

In the contrib/ directory, you can find the scripts for installing these dependencies:

The binary part of SOLVCON should be built with SCons:

$ scons scmods

Then add the installation path to the environment variables $PATH and $PYTHONPATH.

Additional build and tests:

  • Building document requires Sphinx 1.1.2+, Sphinxcontrib issue tracker 0.11, and graphviz 2.28+. Once the binary of SOLVCON is built, the following commands can build the document:

    $ cd doc
    $ make html
    

    The built document will be available at doc/build/html/.

  • Unit tests should be run with Nose:

    $ nosetests
    
  • Another set of tests are collected in ftests/ directory, and can be run with:

    $ nosetests ftests/*
    

    Some tests in ftests/ involve remote procedure call (RPC) that uses ssh. You need to set up the public key authentication to properly run them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for SOLVCON, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size SOLVCON-0.1.4.tar.gz (1.5 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page