Skip to content
/ sparsehub Public

Solves the linear advection equation for multiple materials at once.

License

Notifications You must be signed in to change notification settings

lanl/sparsehub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparsehub

Sparsehub solves the linear advection equation for multiple materials at once.

Build Instructions

git clone [email protected]:charest/sparsehub
cd sparsehub
mkdir build
cd build
cmake ../.
make

Running Problems

To run a sampe problem:

./sparsehub ../examples/input.inp

You can use different sparse data represenations us=ing the '-l' command line argument. For example,

./sparsehub ../examples/input.inp -l 2

will run the problem using compressed row storage. Currently, dense (0), fixed-bandwith (1), and compressed row (2) storage is available.

Command Line Arguments

./sparsehub -h

help: sparsehub [-h] [-l LAYOUT] [FILENAME]

Sparsehub solves the advection equation using a sparse matrix representation of the data.

Options:
  -h              Display this help message.
  -l LAYOUT       Specify the sparse layout type [0=dense (default), 1=fixed bandwith, 2=compressed row].

Arguments:
  FILENAME        The input file name.

About

Solves the linear advection equation for multiple materials at once.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published