Skip to content

pyamg/pyamg-testbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyamg-testbed

Experimental testbed for PyAMG with various matrix generators

installation

From source directory,

$ pip install .

usage

Install any dependencies for your testbed (like PyMFEM or FireDrake)

$ pip install pymfem

Call testbed for your example to generate matrices

>>> from pyamg import testbed as tb
>>> meshpath = tb.__path__[0] + '/mfem_adv_diff/inline-quad.mesh'
>>> args = {'gamma' : 0.1, 'meshfile' : meshpath, 'order' : 1} 
>>> data = tb.get_mat(tb.examples.mfem_adv_diff, 0, **args)
>>> print(data.keys())
>>> print(data['docstring'])

add new testbed matrix example

See matrices.py

About

Experimental testbed for PyAMG with various matrix generators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages