Skip to content

PyTorch and NumPy implementation of the physical operators (gradient, divergence, curl, laplacian) in Finite Difference formulation over rectangular cartesian grids.

License

Notifications You must be signed in to change notification settings

gbogopolsky/fdm-operators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdm-operators

PyTorch and NumPy implementation of the physical operators (gradient, divergence, curl, laplacian) in Finite Difference formulation over rectangular cartesian grids.

Tests

Tests are implemented in pytest. To run them, call pytest from the root directory.
Each test script can also generate the verification plots, e.g. by calling python tests/test_divergence.py from the root directory.

About

PyTorch and NumPy implementation of the physical operators (gradient, divergence, curl, laplacian) in Finite Difference formulation over rectangular cartesian grids.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages