-
Notifications
You must be signed in to change notification settings - Fork 3
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
4 changed files
with
40 additions
and
3 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 |
---|---|---|
@@ -1,4 +1,22 @@ | ||
OPM Common Python Documentation | ||
=============================== | ||
|
||
Note on Import Paths | ||
-------------------- | ||
|
||
In this documentation, you may notice that some classes are referenced with their full import paths (e.g., opm.io.deck.DeckItem), while others are shown with just the class name. This distinction reflects how these classes are structured within the package: | ||
|
||
- Fully Qualified Paths: Classes displayed with their full import paths can be directly imported from their respective modules. For example: | ||
.. code-block:: python | ||
from opm.io.deck import DeckItem | ||
- Simplified Class Names: Classes displayed with just their names, e.g. Connectoin, are intended for internal use or may require additional context when importing. Refer to the specific module documentation for the correct import path if needed. | ||
|
||
This structure allows for a organized and modular package, helping to easily access commonly used classes while maintaining clarity for internal components. | ||
|
||
Documentation | ||
------------- | ||
|
||
.. opm_common_docstrings:: |
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
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
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 |
---|---|---|
@@ -1,4 +1,18 @@ | ||
OPM Simulators Python Documentation | ||
=================================== | ||
|
||
Note on Import Paths | ||
-------------------- | ||
|
||
In this documentation, the BlackOilSimulator class is referenced with its full import path, i.e., opm.simulators.BlackOilSimulator. This reflects how the BlackOilSimulator class can be imported: | ||
|
||
.. code-block:: python | ||
from opm.simulators import BlackOilSimulator | ||
Documentation | ||
------------- | ||
|
||
|
||
.. opm_simulators_docstrings:: |