Skip to content

Commit

Permalink
Merge pull request #337 from VirtualPlanetaryLaboratory/HelpFix
Browse files Browse the repository at this point in the history
Help fix
  • Loading branch information
RoryBarnes authored Jun 7, 2021
2 parents e728feb + fc26c67 commit 956199e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
Binary file added docs/VPLanetFlowChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/architecture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ unphysical, e.g. eccentricities less than 0. Each of these checks must only
apply to an individual option. More complicated checks are handled
in Verify.

:note::
.. note::

Some arrays and matrices are allocated prior to the ReadOptions call.

Expand Down Expand Up @@ -78,7 +78,7 @@ options can be input in a wide range of units, recording the state in system
units allows users to determine if they have input something incorrectly, and
also helps developers identify bugs.

:note::
.. note::

If a user requests an output with a negative sign, which forces a specific
unit, then the value in the log file will not be SI, but the custom units
Expand Down Expand Up @@ -106,7 +106,7 @@ system of equations that are required based on the options. The integration is
broken down into five steps: Auxiliary Properties (sometimes shortened to
AuxProps), One Step, Output, Force Behavior, and Halt.

:note::
.. note::

If the user does not select a forward or backward integration, but does elect
to write a log file, then the code will calculate all the initial conditions
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ are available in separate repositories.
vplot
parametersweep
tutorials
Workshop Lectures <http://faculty.washington.edu/rkb9/vplanet/Workshop21/>
developers
authors
repos
Expand Down
7 changes: 5 additions & 2 deletions docs/option.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ should be set to 0 as shown. Otherwise, set the value to equal the sum of module
bits, such as is done for the inclination:

.. code-block:: bash
options[OPT_INC].iModuleBit = DISTORB + SPINBODY;
In other words, each module is assigned a unique integer that is a power of 2 so
Expand All @@ -80,13 +81,15 @@ parameter that is used with the -H command line option, e.g. the verbosity
benefits from a bit more explanation:

.. code-block:: bash
sprintf(options[OPT_VERBOSE].cLongDescr,
sprintf(options[OPT_VERBOSE].cLongDescr,
"Set how much text is written to the screen. 0 = no output, 1 = only\n"
"errors, 2 = progress updates, 3 = statements about input choices, 4 =\n"
"information about unit choices, 5 = all possible output. Note that levels\n"
"0 and 5 can be set at execution with the -q and -v options, respectively."
:note::
.. note::
Any field that is omitted will be set to the default values that are defined
in output.c:InitializeOutput.
Expand Down
2 changes: 1 addition & 1 deletion docs/output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ angle" requires a bit more explanation for a typical user:
"the vernal equinox. This angle is a \"dog-leg\" angle as shown in Fig. 30\n"
"of Barnes et al. (2020)."
:note::
.. note::
Any field that is omitted will be set to the default values that are defined
in output.c:InitializeOutput.
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VPLanet Tutorials
=================
Tutorials
=========

Please view the following pages for written descriptions of how to:

Expand Down
4 changes: 2 additions & 2 deletions src/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
1) Add integer definition here
2) Add new option properties in InitializeOptions
3) Write new fnReadOptions function
3) If necessary, modify the ReadOptions subroutine
4) If necessary, modify the WriteLog subroutine
4) If necessary, modify the ReadOptions subroutine
5) If necessary, modify the Verify process
*/

Expand Down

0 comments on commit 956199e

Please sign in to comment.