-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.. _tutorials_python: | ||
|
||
====== | ||
Python | ||
====== | ||
|
||
These examples show how to use AMReX from Python. | ||
AMReX applications can also be interfaced to Python with the same logic. | ||
|
||
In order to build the Python tutorials, add ``-DTUTORIAL_PYTHON=ON`` to the CMake configuration options. | ||
Then install with ``cmake --build build --target pip_install``. | ||
|
||
Examples: | ||
|
||
- ``GuidedTutorials/MultiFab/main.py`` | ||
|
||
Please see `pyAMReX <https://github.com/AMReX-Codes/pyamrex/>`__ for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters