From e7d82f89cd15a3ac21d867905b858397cc4386ab Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 19 Nov 2015 13:11:51 +0000 Subject: [PATCH] Updated example of snapshots with Python scripting. --- docs/source/geometry_snapshots.rst | 2 +- docs/source/input.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/geometry_snapshots.rst b/docs/source/geometry_snapshots.rst index 57c45b8c..83738fcf 100644 --- a/docs/source/geometry_snapshots.rst +++ b/docs/source/geometry_snapshots.rst @@ -39,7 +39,7 @@ Snapshot files The ``#snapshot:`` command produces an ImageData (.vti) snapshot file for each time instance requested. .. tip:: - You can take advantage of Python scripting to easily create a series of snapshots. For example, to create 30 snapshots starting at time 0.1ns until 3ns in intervals of 0.1ns, use the following code snippet in your input file. Replace `x1 y1 z1 x2 y2 z2 dx dy dz` accordingly. + You can take advantage of Python scripting to easily create a series of snapshots. For example, to create 30 snapshots starting at time 0.1ns until 3ns in intervals of 0.1ns, use the following code snippet in your input file. Replace ``x1 y1 z1 x2 y2 z2 dx dy dz`` accordingly. .. code-block:: none diff --git a/docs/source/input.rst b/docs/source/input.rst index d48e953a..7a37f510 100644 --- a/docs/source/input.rst +++ b/docs/source/input.rst @@ -242,7 +242,7 @@ or For example to save a snapshot of the electromagnetic fields in the model at a simulated time of 3 nanoseconds use: ``#snapshot: 0 0 0 1 1 1 0.1 0.1 0.1 3e-9 snap1`` .. tip:: - You can take advantage of Python scripting to easily create a series of snapshots. For example, to create 30 snapshots starting at time 0.1ns until 3ns in intervals of 0.1ns, use the following code snippet in your input file. Replace `x1 y1 z1 x2 y2 z2 dx dy dz` accordingly. + You can take advantage of Python scripting to easily create a series of snapshots. For example, to create 30 snapshots starting at time 0.1ns until 3ns in intervals of 0.1ns, use the following code snippet in your input file. Replace ``x1 y1 z1 x2 y2 z2 dx dy dz`` accordingly. .. code-block:: none