Skip to content

Commit 8135da3

Browse files
committed
update devsim documentation index
1 parent 17c6387 commit 8135da3

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

pydoc/devsim.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ def equation (**kwargs):
276276
In order to set the node volumes for integration of the ``edge_volume_model``, it is possible to do something like this:
277277
278278
..
279-
ds.edge_model(device="device", region="region", name="EdgeNodeVolume", equation="0.5*SurfaceArea*EdgeLength")
280-
ds.set_parameter(name="edge_node0_volume_model", value="EdgeNodeVolume")
281-
ds.set_parameter(name="edge_node1_volume_model", value="EdgeNodeVolume")
279+
devsim.edge_model(device="device", region="region", name="EdgeNodeVolume", equation="0.5*SurfaceArea*EdgeLength")
280+
devsim.set_parameter(name="edge_node0_volume_model", value="EdgeNodeVolume")
281+
devsim.set_parameter(name="edge_node1_volume_model", value="EdgeNodeVolume")
282282
283283
'''
284284
pass
@@ -517,7 +517,7 @@ def add_db_entry (**kwargs):
517517
Notes
518518
-----
519519
520-
The :meth:`ds.save_db` command is used to commit these added entries permanently to the database.
520+
The :meth:`devsim.save_db` command is used to commit these added entries permanently to the database.
521521
'''
522522
pass
523523

@@ -625,7 +625,7 @@ def get_parameter_list (**kwargs):
625625
Notes
626626
-----
627627
628-
Note that the ``device`` and ``region`` options are optional. If the region is not specified, the parameter is retrieved for the entire device. If the device is not specified, the parameter is retrieved for all devices. Unlike the :meth:`ds.getParameter`, parameter names on the the device are not retrieved if they do not exist on the region. Similarly, the parameter names over all devices are not retrieved if they do not exist on the device.
628+
Note that the ``device`` and ``region`` options are optional. If the region is not specified, the parameter is retrieved for the entire device. If the device is not specified, the parameter is retrieved for all devices. Unlike the :meth:`devsim.getParameter`, parameter names on the the device are not retrieved if they do not exist on the region. Similarly, the parameter names over all devices are not retrieved if they do not exist on the device.
629629
'''
630630
pass
631631

@@ -1237,7 +1237,7 @@ def cylindrical_edge_couple (**kwargs):
12371237
- ``ElementCylindricalEdgeCouple`` (Element Edge Model)
12381238
- ``CylindricalEdgeCouple`` (Edge Model)
12391239
1240-
The :meth:`ds.set_parameter` must be used to set
1240+
The :meth:`devsim.set_parameter` must be used to set
12411241
12421242
- ``raxis_variable``, the variable (``x`` or ``y``) which is the radial axis variable in the cylindrical coordinate system
12431243
- ``raxis_zero``, the location of the z axis for the radial axis variable
@@ -1270,7 +1270,7 @@ def cylindrical_node_volume (**kwargs):
12701270
12711271
The ``ElementCylindricalNodeVolume@en0`` and ``ElementCylindricalNodeVolume@en1`` represent the node volume at each end of the element edge.
12721272
1273-
The :meth:`ds.set_parameter` must be used to set
1273+
The :meth:`devsim.set_parameter` must be used to set
12741274
12751275
- ``raxis_variable``, the variable (``x`` or ``y``) which is the radial axis variable in the cylindrical coordinate system
12761276
- ``raxis_zero``, the location of the z axis for the radial axis variable
@@ -1300,7 +1300,7 @@ def cylindrical_surface_area (**kwargs):
13001300
13011301
and is the cylindrical surface area along each contact and interface node in the device region.
13021302
1303-
The :meth:`ds.set_parameter` must be used to set
1303+
The :meth:`devsim.set_parameter` must be used to set
13041304
13051305
- ``raxis_variable``, the variable (``x`` or ``y``) which is the radial axis variable in the cylindrical coordinate system
13061306
- ``raxis_zero``, the location of the z axis for the radial axis variable
@@ -1419,13 +1419,13 @@ def edge_average_model (**kwargs):
14191419
14201420
..
14211421
1422-
ds.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient")
1422+
devsim.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient")
14231423
14241424
and the derivatives ``ElectricField:Potential@n0`` and ``ElectricField:Potential@n1`` are then created from
14251425
14261426
..
14271427
1428-
ds.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient", derivative="Potential")
1428+
devsim.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient", derivative="Potential")
14291429
'''
14301430
pass
14311431

@@ -1451,7 +1451,7 @@ def edge_from_node_model (**kwargs):
14511451
14521452
..
14531453
1454-
ds.edge_from_node_model(device=device, region=region, node_model="Potential")
1454+
devsim.edge_from_node_model(device=device, region=region, node_model="Potential")
14551455
14561456
'''
14571457
pass
@@ -1484,7 +1484,7 @@ def edge_model (**kwargs):
14841484
- ``model_y_onNode``
14851485
- ``model_z_onNode`` (3D)
14861486
1487-
This averaging scheme does not produce accurate results, and it is recommended to use the :meth:`ds.element_from_edge_model` to create components better suited for visualization. See :ref:`ch__visualization` for more information about creating data files for external visualization programs.
1487+
This averaging scheme does not produce accurate results, and it is recommended to use the :meth:`devsim.element_from_edge_model` to create components better suited for visualization. See :ref:`ch__visualization` for more information about creating data files for external visualization programs.
14881488
'''
14891489
pass
14901490

@@ -1980,7 +1980,7 @@ def vector_gradient (**kwargs):
19801980
- ``model_grady`` (2D and 3D)
19811981
- ``model_gradz`` (3D)
19821982
1983-
It is important not to use these models for simulation, since DEVSIM, does not have a way of evaluating the derivatives of these models. The models can be used for integrating the impedance field, and other postprocessing. The :meth:`ds.element_from_edge_model` command can be used to create gradients for use in a simulation.
1983+
It is important not to use these models for simulation, since DEVSIM, does not have a way of evaluating the derivatives of these models. The models can be used for integrating the impedance field, and other postprocessing. The :meth:`devsim.element_from_edge_model` command can be used to create gradients for use in a simulation.
19841984
'''
19851985
pass
19861986

pydoc/equationCommands.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
In order to set the node volumes for integration of the ``edge_volume_model``, it is possible to do something like this:
4242
4343
..
44-
ds.edge_model(device="device", region="region", name="EdgeNodeVolume", equation="0.5*SurfaceArea*EdgeLength")
45-
ds.set_parameter(name="edge_node0_volume_model", value="EdgeNodeVolume")
46-
ds.set_parameter(name="edge_node1_volume_model", value="EdgeNodeVolume")
44+
devsim.edge_model(device="device", region="region", name="EdgeNodeVolume", equation="0.5*SurfaceArea*EdgeLength")
45+
devsim.set_parameter(name="edge_node0_volume_model", value="EdgeNodeVolume")
46+
devsim.set_parameter(name="edge_node1_volume_model", value="EdgeNodeVolume")
4747
4848
''',
4949
"parameters" : (

pydoc/materialCommands.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"name" : "get_parameter_list",
2828
"description" : "Get list of parameter names on region, device, or globally",
2929
"long_description" : r'''
30-
Note that the ``device`` and ``region`` options are optional. If the region is not specified, the parameter is retrieved for the entire device. If the device is not specified, the parameter is retrieved for all devices. Unlike the :meth:`ds.getParameter`, parameter names on the the device are not retrieved if they do not exist on the region. Similarly, the parameter names over all devices are not retrieved if they do not exist on the device.
30+
Note that the ``device`` and ``region`` options are optional. If the region is not specified, the parameter is retrieved for the entire device. If the device is not specified, the parameter is retrieved for all devices. Unlike the :meth:`devsim.getParameter`, parameter names on the the device are not retrieved if they do not exist on the region. Similarly, the parameter names over all devices are not retrieved if they do not exist on the device.
3131
''',
3232
"parameters" : (
3333
device_option_optional,
@@ -99,7 +99,7 @@
9999
"name" : "add_db_entry",
100100
"description" : "Adds an entry to the database",
101101
"long_description" : r'''
102-
The :meth:`ds.save_db` command is used to commit these added entries permanently to the database.
102+
The :meth:`devsim.save_db` command is used to commit these added entries permanently to the database.
103103
''',
104104
"parameters" : (
105105
("material", "Material name requested. ``global`` refers to all regions whose material does not have the parameter name specified", required, string, None, None),

pydoc/modelCommands.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
- ``ElementCylindricalEdgeCouple`` (Element Edge Model)
4646
- ``CylindricalEdgeCouple`` (Edge Model)
4747
48-
The :meth:`ds.set_parameter` must be used to set
48+
The :meth:`devsim.set_parameter` must be used to set
4949
5050
- ``raxis_variable``, the variable (``x`` or ``y``) which is the radial axis variable in the cylindrical coordinate system
5151
- ``raxis_zero``, the location of the z axis for the radial axis variable
@@ -69,7 +69,7 @@
6969
7070
The ``ElementCylindricalNodeVolume@en0`` and ``ElementCylindricalNodeVolume@en1`` represent the node volume at each end of the element edge.
7171
72-
The :meth:`ds.set_parameter` must be used to set
72+
The :meth:`devsim.set_parameter` must be used to set
7373
7474
- ``raxis_variable``, the variable (``x`` or ``y``) which is the radial axis variable in the cylindrical coordinate system
7575
- ``raxis_zero``, the location of the z axis for the radial axis variable
@@ -90,7 +90,7 @@
9090
9191
and is the cylindrical surface area along each contact and interface node in the device region.
9292
93-
The :meth:`ds.set_parameter` must be used to set
93+
The :meth:`devsim.set_parameter` must be used to set
9494
9595
- ``raxis_variable``, the variable (``x`` or ``y``) which is the radial axis variable in the cylindrical coordinate system
9696
- ``raxis_zero``, the location of the z axis for the radial axis variable
@@ -147,13 +147,13 @@
147147
148148
..
149149
150-
ds.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient")
150+
devsim.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient")
151151
152152
and the derivatives ``ElectricField:Potential@n0`` and ``ElectricField:Potential@n1`` are then created from
153153
154154
..
155155
156-
ds.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient", derivative="Potential")
156+
devsim.edge_average_model(device=device, region=region, node_model="Potential", edge_model="ElecticField", average_type="negative_gradient", derivative="Potential")
157157
''',
158158
"parameters" : (
159159
("device", device_option_text, required, string, None, None),
@@ -178,7 +178,7 @@
178178
179179
..
180180
181-
ds.edge_from_node_model(device=device, region=region, node_model="Potential")
181+
devsim.edge_from_node_model(device=device, region=region, node_model="Potential")
182182
183183
''',
184184
"parameters" : (
@@ -197,7 +197,7 @@
197197
- ``model_y_onNode``
198198
- ``model_z_onNode`` (3D)
199199
200-
This averaging scheme does not produce accurate results, and it is recommended to use the :meth:`ds.element_from_edge_model` to create components better suited for visualization. See :ref:`ch__visualization` for more information about creating data files for external visualization programs.
200+
This averaging scheme does not produce accurate results, and it is recommended to use the :meth:`devsim.element_from_edge_model` to create components better suited for visualization. See :ref:`ch__visualization` for more information about creating data files for external visualization programs.
201201
''',
202202
"parameters" : (
203203
("device", device_option_text, required, string, None, None),
@@ -502,7 +502,7 @@
502502
- ``model_grady`` (2D and 3D)
503503
- ``model_gradz`` (3D)
504504
505-
It is important not to use these models for simulation, since DEVSIM, does not have a way of evaluating the derivatives of these models. The models can be used for integrating the impedance field, and other postprocessing. The :meth:`ds.element_from_edge_model` command can be used to create gradients for use in a simulation.
505+
It is important not to use these models for simulation, since DEVSIM, does not have a way of evaluating the derivatives of these models. The models can be used for integrating the impedance field, and other postprocessing. The :meth:`devsim.element_from_edge_model` command can be used to create gradients for use in a simulation.
506506
''',
507507
"parameters" : (
508508
("device", device_option_text, required, string, None, None),

0 commit comments

Comments
 (0)