Another attempt for code blocks in docs
@@ -143,6 +143,7 @@ Example vp3d file
"""""""""""""""""
.. code-block:: python
+
# Files:
#
# Note: the Grid file and Solution file fields do not have to be specified.
@@ -240,6 +241,7 @@ Read Options via CLI
""""""""""""""""""""
.. code-block:: python
+
# MDServer must be started in order grab the default Open options for the reader
OpenMDServer("localhost")
# Grab the default options
@@ -254,6 +256,7 @@ Read Options via CLI
Or, you can create your own subset of the options:
.. code-block:: python
+
opts = {'Multi Grid':1, "Solution (Q) File Name":"wbtr.bin"}
SetDefaultFileOpenOptions("PLOT3D", opts)
OpenDatabase(data_path("./WingBodyTail/wbtg.bin"), 0, "PLOT3D_1.0")
@@ -261,6 +264,7 @@ Or, you can create your own subset of the options:
Here are the defaults:
.. code-block:: python
+
>>> opt = GetDefaultFileOpenOptions("PLOT3D")
>>> print opt
{'File Format': 1, 'Double Precision': 0, 'Gamma (used for function calculation)': 1.4, 'IBlanking': 0,
