From e94d8266521584c2bf96b6675a1079d45916c4e8 Mon Sep 17 00:00:00 2001 From: "Eric T. Johnson" Date: Tue, 12 Mar 2024 17:42:48 -0400 Subject: [PATCH] Add cross-ref to section about creating new derived variables (#2772) It took me a little while to find where this is in the docs. --- Docs/source/creating_a_problem.rst | 4 +++- Docs/source/io.rst | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Docs/source/creating_a_problem.rst b/Docs/source/creating_a_problem.rst index 84d471fa9e..9490845a70 100644 --- a/Docs/source/creating_a_problem.rst +++ b/Docs/source/creating_a_problem.rst @@ -200,7 +200,9 @@ each of these in the main source tree. problem which refines a rectangular region (fuel layer) based on a density parameter and the H mass fraction. -- ``Problem_Derives.H``, ``Problem_Derive.H``, and ``Problem_Derives.cpp`` + .. _problem_derives: + +- ``Problem_Derives.H``, ``Problem_Derive.H``, and ``Problem_Derive.cpp`` Together, these provide a mechanism to create derived quantities that can be stored in the plotfile. ``Problem_Derives.H`` diff --git a/Docs/source/io.rst b/Docs/source/io.rst index 2054eb4e1c..e9dc10993c 100644 --- a/Docs/source/io.rst +++ b/Docs/source/io.rst @@ -397,6 +397,8 @@ Derived variables problem-specific plotfile variables ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +See the section on :ref:`Problem_Derives.H ` for more details about defining your own plotfile variables. + +-----------------------------------+---------------------------------------------------+--------------------------------------+ | variable name | description | units | +===================================+===================================================+======================================+