Skip to content

ucb-sejits/pygmg2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PYGMG -- HPGMG in Python

This is a simple python reference implementation of the HPGMG project

Build Status Coverage Status

Quick Start

How to get things up and running from the command line. This assumes you have a working version python running and accessible from the shell and that you have installed pip and it works too. Given all that, from the shell:

git clone https://github.com/ucb-sejits/pygmg.git
cd pygmg
pip install -e .

You are now ready to run, first use the run script with --help to see the options. And then do a simple run to see what happens.

./run_finite_volume --help
./run_finite_volume 4 -d 2 -nv 20

Using iPython

Once you have it running as above, a good way to visualize what is happening is to us ipython. From the command line.

ipython notebook

This creates a local web service running on localhost:8888 (on a laptop or desktop this command will usually take you to the browser. Select the notebooks folder and then try the SimpleSolver-HeatMap-2D notebook. It is set up to show intermediate files to provide visual clues as to whether things are working properly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages