@@ -15,8 +15,8 @@ discretization. The basic theory of such methods is discussed in
1515 methods for converting between the two data centerings.
1616
1717
18- `` mesh.patch ` ` implementation and use
19- -------------------------------------
18+ :mod: ` mesh.patch <mesh.patch> ` implementation and use
19+ -----------------------------------------------------
2020
2121We import the basic mesh functionality as:
2222
@@ -36,14 +36,16 @@ There are several main objects in the patch class that we interact with:
3636
3737* :func: `patch.CellCenterData2d <mesh.patch.CellCenterData2d> `: this
3838 is the main data object—it holds cell-centered data on a grid. To
39- build a ``CellCenterData2d `` object you need to pass in the ``Grid2d ``
40- object that defines the mesh. The ``CellCenterData2d `` object then
39+ build a :func: `patch.CellCenterData2d <mesh.patch.CellCenterData2d> `
40+ object you need to pass in the :func: `patch.Grid2d <mesh.patch.Grid2d> `
41+ object that defines the mesh. The
42+ :func: `patch.CellCenterData2d <mesh.patch.CellCenterData2d> ` object then
4143 allocates storage for the unknowns that live on the grid. This class
4244 also provides methods to fill boundary conditions, retrieve the data
4345 in different fashions, and read and write the object from/to disk.
4446
4547* :func: `fv.FV2d <mesh.fv.FV2d> `: this is a special class derived from
46- `` patch.CellCenterData2d ` ` that implements some extra functions
48+ :func: ` patch.CellCenterData2d <mesh.patch.CellCenterData2d> ` that implements some extra functions
4749 needed to convert between cell-center data and averages with
4850 fourth-order accuracy.
4951
@@ -99,14 +101,14 @@ Jupyter notebook
99101
100102A Jupyter notebook that illustrates some of the basics of working with
101103the grid is provided as :ref: `mesh-examples.ipynb `. This will
102- demonstrate, for example, how to use the `` ArrayIndexer ` ` methods to
104+ demonstrate, for example, how to use the :func: ` ArrayIndexer <mesh.array_indexer.ArrayIndexer> ` methods to
103105construct differences.
104106
105107
106108Tests
107109-----
108110
109- The actual filling of the boundary conditions is done by the `` fill_BC() ` `
111+ The actual filling of the boundary conditions is done by the :func: ` fill_BC <mesh.patch.CellCenterData2d.fill_BC> `
110112method. The script ``bc_demo.py `` tests the various types of boundary
111113conditions by initializing a small grid with sequential data, filling
112114the BCs, and printing out the results.
0 commit comments