Skip to content

Commit 025e22a

Browse files
committed
more docs
1 parent a3c42c3 commit 025e22a

File tree

3 files changed

+75
-23
lines changed

3 files changed

+75
-23
lines changed

Docs/source/build_system.rst

+69-23
Original file line numberDiff line numberDiff line change
@@ -98,34 +98,84 @@ controlled by a number of make variables.
9898
will tell you what EOS is being used.
9999

100100

101+
The following control whether certain physics modules are included in
102+
the build process. Note: an EOS and network are always required.
103+
These can be set to ``TRUE`` to enable and ``FALSE`` to disable.
104+
disable specific features.
101105

106+
* ``USE_CONDUCTIVITY`` : determines whether a conductivity routine
107+
should be included in the list of build packages. If enabled, this
108+
also defines the ``CONDUCTIVITY`` preprocessor variable. Default:
109+
``FALSE``.
102110

103-
USE_CONDUCTIVITY
104-
USE_NEUTRINOS
105-
USE_SCREENING
106-
USE_RATES
107-
USE_REACT
108-
USE_NONAKA_PLOT
111+
* ``USE_NEUTRINOS`` : determines whether a neutrino cooling term
112+
should be applied in the reaction network energy generation
113+
equation. See :ref:`neutrino_loss`. The default is set by each
114+
individual network.
109115

110-
USE_SIMPLIFIED_SDC
111-
USE_TRUE_SDC
116+
* ``USE_NET_NET`` : determines whether the self-consistent NSE
117+
infrastructure is included in the build. See
118+
:ref:`self_consistent_nse`. No default is set.
119+
120+
* ``USE_NSE_TABLE`` : determines whether the tabular NSE
121+
infrastructure is included in the build. See :ref:`tabulated_nse`.
122+
No default is set.
123+
124+
* ``USE_RATES`` : for templated reaction networks (see
125+
:ref:`sec:templated_rhs`) determines whether we include the
126+
``rates/`` set of reaction rates in the build system. Also defines
127+
the ``RATES`` preprocessor variable. The default is set by each of
128+
the templated networks separately.
129+
130+
* ``USE_REACT`` : determines whether we need to include any of the
131+
source related to reaction networks or integrators and sets the
132+
``REACTIONS`` preprocessor variable. Note: even if this is set to
133+
``TRUE``, the ``network_properties.H`` file is still generated. No
134+
default is set.
135+
136+
* ``USE_SCREENING`` : determines whether the screening routines are
137+
included in the list of build packages. If enabled, this also
138+
defines the ``SCREENING`` preprocessor variable which is used in
139+
some networks to disable screening completely. Note: it is also
140+
possible to set the screening routine to ``null`` which would have
141+
the same effect (see :ref:`sec:screening`). The default is set by
142+
each individual network.
143+
144+
145+
The following control the choice of implementation for the different physics modules:
146+
147+
148+
* ``CONDUCTIVITY_DIR`` : the name of the conductivity implementation to use,
149+
relative to ``Microphysics/conductivity/``.
150+
151+
* ``EOS_DIR`` : the name of the EOS to use, relative to ``Microphysics/EOS/``.
152+
153+
* ``INTEGRATOR_DIR`` : the name of the integrator to use, relative to
154+
``Microphysics/integration/``.
155+
156+
* ``NETWORK_DIR`` : the name of the network to use, relative to ``Microphysics/networks/``.
157+
If ``general_null`` is chosen, then the inputs file is determined by
158+
either ``GENERAL_NET_INPUTS`` or ``NETWORK_INPUTS`` (see :ref:`sec:networks:general_null`).
159+
160+
* ``OPACITY_DIR`` : the name of the opacity implementation to use, relative
161+
to ``Microphysics/opacity/``.
162+
163+
* ``SCREEN_METHOD`` : the name of the screening implementation to use. The choices
164+
are listed in :ref:`sec:screening`.
165+
166+
167+
The following control the time-integration method used by the reaction
168+
network integration:
169+
170+
* ``USE_SIMPLIFIED_SDC``
171+
172+
* ``USE_TRUE_SDC``
112173

113-
SCREEN_METHOD
114174

115-
USE_AUX_THERMO
116175

117-
EOS_DIR
118-
OPACITY_DIR
119-
NETWORK_DIR
120-
CONDUCTIVITY_DIR
121176

122-
GENERAL_NET_INPUTS
123-
NETWORK_INPUTS
124177

125-
USE_NSE_TABLE
126-
USE_NET_NET
127178

128-
USE_RAD
129179

130180
Targets
131181
=======
@@ -143,7 +193,3 @@ clean
143193
runtime parameters
144194

145195
buildInfo
146-
147-
148-
Querying the build variables
149-
============================

Docs/source/networks.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _sec:networks:
2+
13
***************************
24
Available Reaction Networks
35
***************************
@@ -25,6 +27,8 @@ Microphysics knows the properties of the fluid.
2527
<https://pynucastro.github.io/>`_ using the ``AmrexAstroCxxNetwork``
2628
class.
2729

30+
.. _sec:networks:general_null:
31+
2832
``general_null``
2933
================
3034

Docs/source/screening.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _sec:screening:
2+
13
***************************
24
Screening of Reaction Rates
35
***************************

0 commit comments

Comments
 (0)