From 0ef1f959783a7dee2a4f4de50ad738591dbb12bf Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 5 Mar 2021 08:02:53 -0600 Subject: [PATCH] Fix broken links, use https over http, replace redirects --- docs/source/devguide/styleguide.rst | 2 +- docs/source/devguide/tests.rst | 4 +-- docs/source/devguide/user-input.rst | 6 ++-- docs/source/devguide/workflow.rst | 8 +++--- docs/source/index.rst | 4 +-- docs/source/io_formats/data_wmp.rst | 2 +- docs/source/io_formats/mgxs_library.rst | 2 +- docs/source/methods/cross_sections.rst | 8 +++--- docs/source/methods/geometry.rst | 2 +- docs/source/methods/neutron_physics.rst | 14 +++++----- docs/source/methods/parallelization.rst | 20 ++++++------- docs/source/methods/photon_physics.rst | 2 +- docs/source/pythonapi/index.rst | 6 ++-- docs/source/quickinstall.rst | 18 ++++++------ docs/source/usersguide/beginners.rst | 9 +++--- docs/source/usersguide/cross_sections.rst | 2 +- docs/source/usersguide/geometry.rst | 2 +- docs/source/usersguide/install.rst | 34 +++++++++++------------ docs/source/usersguide/materials.rst | 22 +++++++-------- docs/source/usersguide/parallel.rst | 6 ++-- docs/source/usersguide/plots.rst | 4 +-- docs/source/usersguide/processing.rst | 2 +- docs/source/usersguide/scripts.rst | 6 ++-- examples/jupyter/cad-based-geometry.ipynb | 6 ++-- examples/jupyter/mdgxs-part-i.ipynb | 6 ++-- examples/jupyter/mdgxs-part-ii.ipynb | 2 +- examples/jupyter/mg-mode-part-i.ipynb | 4 +-- examples/jupyter/mgxs-part-i.ipynb | 6 ++-- examples/jupyter/mgxs-part-ii.ipynb | 8 +++--- examples/jupyter/mgxs-part-iii.ipynb | 6 ++-- examples/jupyter/nuclear-data.ipynb | 2 +- examples/jupyter/post-processing.ipynb | 2 +- examples/jupyter/search.ipynb | 2 +- 33 files changed, 115 insertions(+), 114 deletions(-) diff --git a/docs/source/devguide/styleguide.rst b/docs/source/devguide/styleguide.rst index a46744a3f..bfe2ac35f 100644 --- a/docs/source/devguide/styleguide.rst +++ b/docs/source/devguide/styleguide.rst @@ -215,7 +215,7 @@ Documentation ------------- Classes, structs, and functions are to be annotated for the `Doxygen -`_ documentation generation tool. Use the ``\`` form of +`_ documentation generation tool. Use the ``\`` form of Doxygen commands, e.g., ``\brief`` instead of ``@brief``. ------ diff --git a/docs/source/devguide/tests.rst b/docs/source/devguide/tests.rst index b26f5c762..d55713062 100644 --- a/docs/source/devguide/tests.rst +++ b/docs/source/devguide/tests.rst @@ -14,7 +14,7 @@ functions/classes in the OpenMC Python API. Prerequisites ------------- -- The test suite relies on the third-party `pytest `_ +- The test suite relies on the third-party `pytest `_ package. To run either or both the regression and unit test suites, it is assumed that you have OpenMC fully installed, i.e., the :ref:`scripts_openmc` executable is available on your :envvar:`PATH` and the :mod:`openmc` Python @@ -46,7 +46,7 @@ To execute the test suite, go to the ``tests/`` directory and run:: pytest If you want to collect information about source line coverage in the Python API, -you must have the `pytest-cov `_ plugin +you must have the `pytest-cov `_ plugin installed and run:: pytest --cov=../openmc --cov-report=html diff --git a/docs/source/devguide/user-input.rst b/docs/source/devguide/user-input.rst index db0bcdad8..0bde0fb05 100644 --- a/docs/source/devguide/user-input.rst +++ b/docs/source/devguide/user-input.rst @@ -65,7 +65,7 @@ developer or send a message to the `developers mailing list`_. .. _property attribute: https://docs.python.org/3.6/library/functions.html#property .. _XML Schema Part 2: http://www.w3.org/TR/xmlschema-2/ .. _boolean: http://www.w3.org/TR/xmlschema-2/#boolean -.. _RELAX NG: http://relaxng.org/ -.. _compact syntax: http://relaxng.org/compact-tutorial-20030326.html -.. _trang: http://www.thaiopensource.com/relaxng/trang.html +.. _RELAX NG: https://relaxng.org/ +.. _compact syntax: https://relaxng.org/compact-tutorial-20030326.html +.. _trang: https://relaxng.org/jclark/trang.html .. _developers mailing list: https://groups.google.com/forum/?fromgroups=#!forum/openmc-dev diff --git a/docs/source/devguide/workflow.rst b/docs/source/devguide/workflow.rst index 976e9b117..3d8d2e827 100644 --- a/docs/source/devguide/workflow.rst +++ b/docs/source/devguide/workflow.rst @@ -122,11 +122,11 @@ can interfere with virtual environments. .. _git: http://git-scm.com/ .. _GitHub: https://github.com/ -.. _git flow: http://nvie.com/git-model -.. _valgrind: http://valgrind.org/ +.. _git flow: https://nvie.com/git-model +.. _valgrind: https://www.valgrind.org/ .. _style guide: https://docs.openmc.org/en/latest/devguide/styleguide.html -.. _pull request: https://help.github.com/articles/using-pull-requests +.. _pull request: https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests .. _openmc-dev/openmc: https://github.com/openmc-dev/openmc -.. _paid plan: https://github.com/plans +.. _paid plan: https://github.com/pricing .. _Bitbucket: https://bitbucket.org .. _pip: https://pip.pypa.io/en/stable/ diff --git a/docs/source/index.rst b/docs/source/index.rst index ce3c5f77e..3b2f5b053 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -13,8 +13,8 @@ programming model. OpenMC was originally developed by members of the `Computational Reactor Physics Group `_ at the `Massachusetts Institute of Technology -`_ starting in 2011. Various universities, laboratories, and -other organizations now contribute to the development of OpenMC. For more +`_ starting in 2011. Various universities, laboratories, +and other organizations now contribute to the development of OpenMC. For more information on OpenMC, feel free to post a message on the `OpenMC Discourse Forum `_. diff --git a/docs/source/io_formats/data_wmp.rst b/docs/source/io_formats/data_wmp.rst index e7261f3fb..c93eb2776 100644 --- a/docs/source/io_formats/data_wmp.rst +++ b/docs/source/io_formats/data_wmp.rst @@ -49,4 +49,4 @@ Windowed Multipole Library Format windows[i, 1] are, respectively, the indexes (1-based) of the first and last pole in window i. -.. _h5py: http://docs.h5py.org/en/latest/ +.. _h5py: https://docs.h5py.org/en/latest/ diff --git a/docs/source/io_formats/mgxs_library.rst b/docs/source/io_formats/mgxs_library.rst index 4129ed4ba..f7f5387a4 100644 --- a/docs/source/io_formats/mgxs_library.rst +++ b/docs/source/io_formats/mgxs_library.rst @@ -21,7 +21,7 @@ nuclides or materials. The current version of the multi-group library file format is 1.0. -.. _HDF5: http://www.hdfgroup.org/HDF5/ +.. _HDF5: https://www.hdfgroup.org/solutions/hdf5/ .. _mgxs_lib_spec: diff --git a/docs/source/methods/cross_sections.rst b/docs/source/methods/cross_sections.rst index dc42d33de..c6d1f44f4 100644 --- a/docs/source/methods/cross_sections.rst +++ b/docs/source/methods/cross_sections.rst @@ -269,12 +269,12 @@ or even isotropic scattering. .. _logarithmic mapping technique: https://laws.lanl.gov/vhosts/mcnp.lanl.gov/pdf_files/la-ur-14-24530.pdf -.. _Hwang: http://www.ans.org/pubs/journals/nse/a_16381 +.. _Hwang: https://doi.org/10.13182/NSE87-A16381 .. _Josey: https://doi.org/10.1016/j.jcp.2015.08.013 .. _WMP Library: https://github.com/mit-crpg/WMP_Library -.. _MCNP: http://mcnp.lanl.gov +.. _MCNP: https://mcnp.lanl.gov .. _Serpent: http://montecarlo.vtt.fi -.. _NJOY: http://t2.lanl.gov/codes.shtml -.. _ENDF/B data: http://www.nndc.bnl.gov/endf +.. _NJOY: https://www.njoy21.io/NJOY21/ +.. _ENDF/B data: https://www.nndc.bnl.gov/endf/b8.0/ .. _Leppanen: https://doi.org/10.1016/j.anucene.2009.03.019 .. _algorithms: http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package diff --git a/docs/source/methods/geometry.rst b/docs/source/methods/geometry.rst index 38d9eb172..04e3456c4 100644 --- a/docs/source/methods/geometry.rst +++ b/docs/source/methods/geometry.rst @@ -962,6 +962,6 @@ surface is known as in :ref:`reflection`. .. _constructive solid geometry: https://en.wikipedia.org/wiki/Constructive_solid_geometry .. _surfaces: https://en.wikipedia.org/wiki/Surface -.. _MCNP: http://mcnp.lanl.gov +.. _MCNP: https://mcnp.lanl.gov .. _Serpent: http://montecarlo.vtt.fi .. _Monte Carlo Performance benchmark: https://github.com/mit-crpg/benchmarks/tree/master/mc-performance/openmc diff --git a/docs/source/methods/neutron_physics.rst b/docs/source/methods/neutron_physics.rst index 5961283fa..774575b46 100644 --- a/docs/source/methods/neutron_physics.rst +++ b/docs/source/methods/neutron_physics.rst @@ -1695,7 +1695,7 @@ another. .. _SIGMA1 method: https://doi.org/10.13182/NSE76-1 -.. _scaled interpolation: http://www.ans.org/pubs/journals/nse/a_26575 +.. _scaled interpolation: https://doi.org/10.13182/NSE73-A26575 .. _probability table method: https://doi.org/10.13182/NSE72-3 @@ -1703,23 +1703,23 @@ another. .. _Foderaro: http://hdl.handle.net/1721.1/1716 -.. _OECD: http://www.oecd-nea.org/tools/abstract/detail/NEA-1792 +.. _OECD: https://www.oecd-nea.org/tools/abstract/detail/NEA-1792 .. _NJOY: https://www.njoy21.io/NJOY2016/ -.. _PREPRO: http://www-nds.iaea.org/ndspub/endf/prepro/ +.. _PREPRO: https://www-nds.iaea.org/ndspub/endf/prepro/ .. _endf102: https://www.oecd-nea.org/dbdata/data/manual-endf/endf102.pdf -.. _Monte Carlo Sampler: https://laws.lanl.gov/vhosts/mcnp.lanl.gov/pdf_files/la-9721.pdf +.. _Monte Carlo Sampler: https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-09721-MS -.. _LA-UR-14-27694: http://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-14-27694 +.. _LA-UR-14-27694: https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-14-27694 -.. _MC21: http://www.osti.gov/bridge/servlets/purl/903083-HT5p1o/903083.pdf +.. _MC21: https://www.osti.gov/biblio/903083 .. _Romano: https://doi.org/10.1016/j.cpc.2014.11.001 -.. _Sutton and Brown: http://www.osti.gov/bridge/product.biblio.jsp?osti_id=307911 +.. _Sutton and Brown: https://www.osti.gov/biblio/307911 .. _lectures: https://laws.lanl.gov/vhosts/mcnp.lanl.gov/pdf_files/la-ur-05-4983.pdf diff --git a/docs/source/methods/parallelization.rst b/docs/source/methods/parallelization.rst index 5bf090a2b..29748807a 100644 --- a/docs/source/methods/parallelization.rst +++ b/docs/source/methods/parallelization.rst @@ -251,8 +251,8 @@ depending on how many nodes are communicating and the size of the message. Using multiple algorithms allows one to minimize latency for small messages and minimize bandwidth for long messages. -We will focus here on the implementation of broadcast in the MPICH2_ -implementation. For short messages, MPICH2 uses a `binomial tree`_ algorithm. In +We will focus here on the implementation of broadcast in the MPICH_ +implementation. For short messages, MPICH uses a `binomial tree`_ algorithm. In this algorithm, the root process sends the data to one node in the first step, and then in the subsequent, both the root and the other node can send the data to other nodes. Thus, it takes a total of :math:`\lceil \log_2 p \rceil` steps @@ -266,7 +266,7 @@ to complete the communication. The time to complete the communication is This algorithm works well for short messages since the latency term scales logarithmically with the number of nodes. However, for long messages, an algorithm that has lower bandwidth has been proposed by Barnett_ and implemented -in MPICH2. Rather than using a binomial tree, the broadcast is divided into a +in MPICH. Rather than using a binomial tree, the broadcast is divided into a scatter and an allgather. The time to complete the scatter is :math:` \log_2 p \: \alpha + \frac{p-1}{p} N\beta` using a binomial tree algorithm. The allgather is performed using a ring algorithm that completes in :math:`p-1) \alpha + @@ -613,7 +613,7 @@ is actually independent of the number of nodes: .. _Brissenden and Garlick: https://doi.org/10.1016/0306-4549(86)90095-2 -.. _MPICH2: http://www.mcs.anl.gov/mpi/mpich +.. _MPICH: http://www.mpich.org .. _binomial tree: https://www.mcs.anl.gov/~thakur/papers/ijhpca-coll.pdf @@ -629,19 +629,19 @@ is actually independent of the number of nodes: .. _message-passing interface: https://en.wikipedia.org/wiki/Message_Passing_Interface -.. _PVM: http://www.csm.ornl.gov/pvm/pvm_home.html +.. _PVM: https://www.csm.ornl.gov/pvm/pvm_home.html -.. _MPI: http://www.mcs.anl.gov/research/projects/mpi/ +.. _MPI: https://www.mcs.anl.gov/research/projects/mpi/ .. _embarrassingly parallel: https://en.wikipedia.org/wiki/Embarrassingly_parallel -.. _sends: http://www.mcs.anl.gov/research/projects/mpi/www/www3/MPI_Send.html +.. _sends: https://www.mpich.org//static/docs/latest/www3/MPI_Send.html -.. _broadcasts: http://www.mcs.anl.gov/research/projects/mpi/www/www3/MPI_Bcast.html +.. _broadcasts: https://www.mpich.org//static/docs/latest/www3/MPI_Bcast.html -.. _scatter: http://www.mcs.anl.gov/research/projects/mpi/www/www3/MPI_Scatter.html +.. _scatter: https://www.mpich.org//static/docs/latest/www3/MPI_Scatter.html -.. _allgather: http://www.mcs.anl.gov/research/projects/mpi/www/www3/MPI_Allgather.html +.. _allgather: https://www.mpich.org//static/docs/latest/www3/MPI_Allgather.html .. _Cauchy distribution: https://en.wikipedia.org/wiki/Cauchy_distribution diff --git a/docs/source/methods/photon_physics.rst b/docs/source/methods/photon_physics.rst index 7c4733ff4..bc912b943 100644 --- a/docs/source/methods/photon_physics.rst +++ b/docs/source/methods/photon_physics.rst @@ -1069,6 +1069,6 @@ emitted photon. .. _Kaltiaisenaho: https://aaltodoc.aalto.fi/bitstream/handle/123456789/21004/master_Kaltiaisenaho_Toni_2016.pdf -.. _Salvat: http://www.oecd-nea.org/globalsearch/download.php?doc=77434 +.. _Salvat: https://www.oecd-nea.org/globalsearch/download.php?doc=77434 .. _Sternheimer: https://doi.org/10.1103/PhysRevB.26.6067 diff --git a/docs/source/pythonapi/index.rst b/docs/source/pythonapi/index.rst index 7f67f95ce..0656e6c80 100644 --- a/docs/source/pythonapi/index.rst +++ b/docs/source/pythonapi/index.rst @@ -7,8 +7,8 @@ Python API OpenMC includes a rich Python API that enables programmatic pre- and post-processing. The easiest way to begin using the API is to take a look at the :ref:`examples`. This assumes that you are already familiar with Python and -common third-party packages such as `NumPy `_. If you -have never used Python before, the prospect of learning a new code *and* a +common third-party packages such as `NumPy `_. If you have +never used Python before, the prospect of learning a new code *and* a programming language might sound daunting. However, you should keep in mind that there are many substantial benefits to using the Python API, including: @@ -28,7 +28,7 @@ there are many substantial benefits to using the Python API, including: For those new to Python, there are many good tutorials available online. We recommend going through the modules from `Codecademy `_ and/or the `Scipy lectures -`_. +`_. The full API documentation serves to provide more information on a given module or class. diff --git a/docs/source/quickinstall.rst b/docs/source/quickinstall.rst index 2b815734a..5078b5d64 100644 --- a/docs/source/quickinstall.rst +++ b/docs/source/quickinstall.rst @@ -12,7 +12,7 @@ OpenMC, see :ref:`usersguide_install` in the User's Manual. Installing on Linux/Mac with conda-forge ---------------------------------------- -`Conda `_ is an open source package management +`Conda `_ is an open source package management system and environment management system for installing multiple versions of software packages and their dependencies and switching easily between them. If you have `conda` installed on your system, OpenMC can be installed via the @@ -25,16 +25,16 @@ you have `conda` installed on your system, OpenMC can be installed via the To list the versions of OpenMC that are available on the `conda-forge` channel, in your terminal window or an Anaconda Prompt run: -.. code-block:: sh +.. code-block:: sh conda search openmc - + OpenMC can then be installed with: .. code-block:: sh conda create -n openmc-env openmc - + This will install OpenMC in a conda environment called `openmc-env`. To activate the environment, run: @@ -69,7 +69,7 @@ Now OpenMC should be recognized within the repository and can be installed: Binary packages from this PPA may exist for earlier versions of Ubuntu, but they are no longer supported. -.. _Personal Package Archive: https://launchpad.net/~paulromano/+archive/staging +.. _Personal Package Archive: https://launchpad.net/~paulromano/+archive/ubuntu/staging .. _APT package manager: https://help.ubuntu.com/community/AptGet/Howto ------------------------------------------- @@ -112,7 +112,7 @@ To install the latest OpenMC with the Python API, use the following command: For more information about customizations including MPI, see the :ref:`detailed installation instructions using Spack `. Once installed, environment/lmod modules can be generated or Spack's `load` feature -can be used to access the installed packages. +can be used to access the installed packages. .. _Spack: https://spack.readthedocs.io/en/latest/ .. _setup guide: https://spack.readthedocs.io/en/latest/getting_started.html @@ -139,9 +139,9 @@ Installing from Source on Linux or Mac OS X All OpenMC source code is hosted on `GitHub `_. If you have `git `_, the `gcc `_ compiler suite, -`CMake `_, and `HDF5 `_ -installed, you can download and install OpenMC by entering the following -commands in a terminal: +`CMake `_, and `HDF5 +`_ installed, you can download and +install OpenMC be entering the following commands in a terminal: .. code-block:: sh diff --git a/docs/source/usersguide/beginners.rst b/docs/source/usersguide/beginners.rst index 257458fa9..eef927b84 100644 --- a/docs/source/usersguide/beginners.rst +++ b/docs/source/usersguide/beginners.rst @@ -113,7 +113,7 @@ or Mac OS X (also Unix-derived), `this tutorial commonly-used commands. To reap the full benefits of OpenMC, you should also have basic proficiency in -the use of `Python `_, as OpenMC includes a rich Python +the use of `Python `_, as OpenMC includes a rich Python API that offers many usability improvements over dealing with raw XML input files. @@ -126,8 +126,9 @@ at the git documentation website. The `OpenMC source code`_ and documentation are hosted at `GitHub`_. In order to receive updates to the code directly, submit `bug reports`_, and perform other development tasks, you may want to sign up for a free account on GitHub. Once you have an account, you can follow `these -instructions `_ on how to set up -your computer for using GitHub. +instructions +`_ on +how to set up your computer for using GitHub. If you are new to nuclear engineering, you may want to review the NRC's `Reactor Concepts Manual`_. This manual describes the basics of nuclear power for @@ -149,7 +150,7 @@ and `Volume II`_. You may also find it helpful to review the following terms: .. _discretization: https://en.wikipedia.org/wiki/Discretization .. _constructive solid geometry: https://en.wikipedia.org/wiki/Constructive_solid_geometry .. _git: http://git-scm.com/ -.. _git tutorials: http://git-scm.com/documentation +.. _git tutorials: https://git-scm.com/doc .. _Reactor Concepts Manual: http://www.tayloredge.com/periodic/trivia/ReactorConcepts.pdf .. _Volume I: https://www.standards.doe.gov/standards-documents/1000/1019-bhdbk-1993-v1 .. _Volume II: https://www.standards.doe.gov/standards-documents/1000/1019-bhdbk-1993-v2 diff --git a/docs/source/usersguide/cross_sections.rst b/docs/source/usersguide/cross_sections.rst index bc5b3436f..58bf1a293 100644 --- a/docs/source/usersguide/cross_sections.rst +++ b/docs/source/usersguide/cross_sections.rst @@ -260,7 +260,7 @@ For an example of how to create a multi-group library, see the `example notebook .. _MCNP: https://mcnp.lanl.gov .. _Serpent: http://montecarlo.vtt.fi .. _ENDF/B: https://www.nndc.bnl.gov/endf/b7.1/acefiles.html -.. _JEFF: http://www.oecd-nea.org/dbdata/jeff/jeff33/ +.. _JEFF: https://www.oecd-nea.org/dbdata/jeff/jeff33/ .. _TENDL: https://tendl.web.psi.ch/tendl_2017/tendl2017.html .. _Seltzer and Berger: https://doi.org/10.1016/0092-640X(86)90014-8 .. _NIST ESTAR database: https://physics.nist.gov/PhysRefData/Star/Text/ESTAR.html diff --git a/docs/source/usersguide/geometry.rst b/docs/source/usersguide/geometry.rst index 18bdf94b5..c8e5fd99f 100644 --- a/docs/source/usersguide/geometry.rst +++ b/docs/source/usersguide/geometry.rst @@ -261,7 +261,7 @@ lowest-level cell at that location:: As you are building a geometry, it is also possible to display a plot of single universe using the :meth:`Universe.plot` method. This method requires that you -have `matplotlib `_ installed. +have `matplotlib `_ installed. .. _usersguide_lattices: diff --git a/docs/source/usersguide/install.rst b/docs/source/usersguide/install.rst index 274d4c66a..549f8b1b0 100644 --- a/docs/source/usersguide/install.rst +++ b/docs/source/usersguide/install.rst @@ -71,7 +71,7 @@ Now OpenMC should be recognized within the repository and can be installed: Binary packages from this PPA may exist for earlier versions of Ubuntu, but they are no longer supported. -.. _Personal Package Archive: https://launchpad.net/~paulromano/+archive/staging +.. _Personal Package Archive: https://launchpad.net/~paulromano/+archive/ubuntu/staging .. _APT package manager: https://help.ubuntu.com/community/AptGet/Howto .. _install-spack: @@ -242,9 +242,9 @@ Prerequisites .. _gcc: https://gcc.gnu.org/ -.. _CMake: http://www.cmake.org -.. _OpenMPI: http://www.open-mpi.org -.. _MPICH: http://www.mpich.org +.. _CMake: https://cmake.org +.. _OpenMPI: https://www.open-mpi.org +.. _MPICH: https://www.mpich.org .. _HDF5: https://www.hdfgroup.org/solutions/hdf5/ .. _DAGMC: https://svalinn.github.io/DAGMC/index.html @@ -256,10 +256,10 @@ directly from GitHub or, if you have the git_ version control software installed on your computer, you can use git to obtain the source code. The latter method has the benefit that it is easy to receive updates directly from the GitHub repository. GitHub has a good set of `instructions -`_ for how to set up git to work -with GitHub since this involves setting up ssh_ keys. With git installed and -setup, the following command will download the full source code from the GitHub -repository:: +`_ for +how to set up git to work with GitHub since this involves setting up ssh_ keys. +With git installed and setup, the following command will download the full +source code from the GitHub repository:: git clone --recurse-submodules https://github.com/openmc-dev/openmc.git @@ -408,8 +408,8 @@ Compiling on Windows 10 Recent versions of Windows 10 include a subsystem for Linux that allows one to run Bash within Ubuntu running in Windows. First, follow the installation guide -`here `_ to get -Bash on Ubuntu on Windows setup. Once you are within bash, obtain the necessary +`here `_ to get Bash +on Ubuntu on Windows setup. Once you are within bash, obtain the necessary :ref:`prerequisites ` via ``apt``. Finally, follow the :ref:`instructions for compiling on linux `. @@ -494,7 +494,7 @@ distributions. .. admonition:: Required :class: error - `NumPy `_ + `NumPy `_ NumPy is used extensively within the Python API for its powerful N-dimensional array. @@ -502,7 +502,7 @@ distributions. SciPy's special functions, sparse matrices, and spatial data structures are used for several optional features in the API. - `pandas `_ + `pandas `_ Pandas is used to generate tally DataFrames as demonstrated in an `example notebook <../examples/pandas-dataframes.ipynb>`_. @@ -511,14 +511,14 @@ distributions. various HDF5 files, h5py is needed to provide access to data within these files from Python. - `Matplotlib `_ + `Matplotlib `_ Matplotlib is used to providing plotting functionality in the API like the :meth:`Universe.plot` method and the :func:`openmc.plot_xs` function. `uncertainties `_ Uncertainties are used for decay data in the :mod:`openmc.data` module. - `lxml `_ + `lxml `_ lxml is used for the :ref:`scripts_validate` script and various other parts of the Python API. @@ -530,11 +530,11 @@ distributions. parallel runs. This package is needed if you plan on running depletion simulations in parallel using MPI. - `Cython `_ + `Cython `_ Cython is used for resonance reconstruction for ENDF data converted to :class:`openmc.data.IncidentNeutron`. - `vtk `_ + `vtk `_ The Python VTK bindings are needed to convert voxel and track files to VTK format. @@ -588,7 +588,7 @@ schemas.xml file in your own OpenMC source directory. .. _GNU Emacs: http://www.gnu.org/software/emacs/ .. _validation: https://en.wikipedia.org/wiki/XML_validation -.. _RELAX NG: http://relaxng.org/ +.. _RELAX NG: https://relaxng.org/ .. _ctest: https://cmake.org/cmake/help/latest/manual/ctest.1.html .. _Conda: https://conda.io/en/latest/ .. _pip: https://pip.pypa.io/en/stable/ diff --git a/docs/source/usersguide/materials.rst b/docs/source/usersguide/materials.rst index 85584a6c4..8b43f1a2a 100644 --- a/docs/source/usersguide/materials.rst +++ b/docs/source/usersguide/materials.rst @@ -45,7 +45,7 @@ This method can also accept case-insensitive element names such as :: mat.add_element('aluminium', 1.0) - + Internally, OpenMC stores data on the atomic masses and natural abundances of all known isotopes and then uses this data to determine what isotopes should be added to the material. When the material is later exported to XML for use by the @@ -105,7 +105,7 @@ you would need to add hydrogen and oxygen to a material and then assign the Naming Conventions ------------------ -OpenMC uses the GND_ naming convention for nuclides, metastable states, and +OpenMC uses the GNDS_ naming convention for nuclides, metastable states, and compounds: :Nuclides: ``SymA`` where "A" is the mass number (e.g., ``Fe56``) @@ -122,7 +122,7 @@ compounds: ENDF/B-VII.1! If you are adding an element via :meth:`Material.add_element`, just use ``Sym``. -.. _GND: https://www.oecd-nea.org/science/wpec/sg38/Meetings/2016_May/tlh4gnd-main.pdf +.. _GNDS: https://www.oecd-nea.org/jcms/pl_39689/specifications-for-the-generalised-nuclear-database-structure-gnds ----------- Temperature @@ -160,26 +160,26 @@ Material Mixtures ----------------- In OpenMC it is possible to mix any number of materials to create a new material -with the correct nuclide composition and density. The +with the correct nuclide composition and density. The :meth:`Material.mix_materials` method takes a list of materials and -a list of their mixing fractions. Mixing fractions can be provided as atomic +a list of their mixing fractions. Mixing fractions can be provided as atomic fractions, weight fractions, or volume fractions. The fraction type -can be specified by passing 'ao', 'wo', or 'vo' as the third argument, respectively. -For example, assuming the required materials have already been defined, a MOX +can be specified by passing 'ao', 'wo', or 'vo' as the third argument, respectively. +For example, assuming the required materials have already been defined, a MOX material with 3% plutonium oxide by weight could be created using the following: :: mox = openmc.Material.mix_materials([uo2, puo2], [0.97, 0.03], 'wo') -It should be noted that, if mixing fractions are specifed as atomic or weight +It should be noted that, if mixing fractions are specifed as atomic or weight fractions, the supplied fractions should sum to one. If the fractions are specified -as volume fractions, and the sum of the fractions is less than one, then the remaining -fraction is set as void material. +as volume fractions, and the sum of the fractions is less than one, then the remaining +fraction is set as void material. .. warning:: Materials with :math:`S(\alpha,\beta)` thermal scattering data cannot be used in :meth:`Material.mix_materials`. However, thermal - scattering data can be added to a material created by + scattering data can be added to a material created by :meth:`Material.mix_materials`. -------------------- diff --git a/docs/source/usersguide/parallel.rst b/docs/source/usersguide/parallel.rst index 1cbb09401..be4189604 100644 --- a/docs/source/usersguide/parallel.rst +++ b/docs/source/usersguide/parallel.rst @@ -8,8 +8,8 @@ If you are running a simulation on a computer with multiple cores, multiple sockets, or multiple nodes (i.e., a cluster), you can benefit from the fact that OpenMC is able to use all available hardware resources if configured correctly. OpenMC is capable of using both distributed-memory (`MPI -`_) and shared-memory (`OpenMP -`_) parallelism. If you are on a single-socket +`_) and shared-memory (`OpenMP +`_) parallelism. If you are on a single-socket workstation or a laptop, using shared-memory parallelism is likely sufficient. On a multi-socket node, cluster, or supercomputer, chances are you will need to use both distributed-memory (across nodes) and shared-memory @@ -49,7 +49,7 @@ Distributed-Memory Parallelism (MPI) MPI defines a library specification for message-passing between processes. There are two major implementations of MPI, `OpenMPI `_ and -`MPICH `_. Both implementations are known to work with +`MPICH `_. Both implementations are known to work with OpenMC; there is no obvious reason to prefer one over the other. Building OpenMC with support for MPI requires that you have one of these implementations installed on your system. For instructions on obtaining MPI, see diff --git a/docs/source/usersguide/plots.rst b/docs/source/usersguide/plots.rst index a10f370d6..109a8b549 100644 --- a/docs/source/usersguide/plots.rst +++ b/docs/source/usersguide/plots.rst @@ -97,7 +97,7 @@ derivatives: ``sudo apt install imagemagick``). Images are then converted like: convert myplot.ppm myplot.png -Alternatively, if you're working within a `Jupyter `_ +Alternatively, if you're working within a `Jupyter `_ Notebook or QtConsole, you can use the :func:`openmc.plot_inline` to run OpenMC in plotting mode and display the resulting plot within the notebook. @@ -122,7 +122,7 @@ should be three items long, e.g.:: The voxel plot data is written to an :ref:`HDF5 file `. The voxel file can subsequently be converted into a standard mesh format that can be viewed in -`ParaView `_, `VisIt +`ParaView `_, `VisIt `_, etc. This typically will compress the size of the file significantly. The provided :ref:`scripts_voxel` script can convert the HDF5 voxel file to VTK formats. Once diff --git a/docs/source/usersguide/processing.rst b/docs/source/usersguide/processing.rst index 9652a51ca..e61ba33bf 100644 --- a/docs/source/usersguide/processing.rst +++ b/docs/source/usersguide/processing.rst @@ -54,7 +54,7 @@ Getting Data into MATLAB There is currently no front-end utility to dump tally data to MATLAB files, but the process is straightforward. First extract the data using the Python API via ``openmc.statepoint`` and then use the `Scipy MATLAB IO routines -`_ to save to a MAT +`_ to save to a MAT file. Note that all arrays that are accessible in a statepoint are already in NumPy arrays that can be reshaped and dumped to MATLAB in one step. diff --git a/docs/source/usersguide/scripts.rst b/docs/source/usersguide/scripts.rst index 56dfe0d9f..b10e74f93 100644 --- a/docs/source/usersguide/scripts.rst +++ b/docs/source/usersguide/scripts.rst @@ -110,8 +110,8 @@ otherwise. This script generates an HDF5 file called ``compton_profiles.h5`` that contains Compton profile data using an existing data library from `Geant4 -`_. Note that OpenMC includes this data file by default -so it should not be necessary in practice to generate it yourself. +`_. Note that OpenMC includes this data file by +default so it should not be necessary in practice to generate it yourself. .. _scripts_depletion_chain: @@ -250,7 +250,7 @@ Message Description When OpenMC generates :ref:`voxel plots `, they are in an :ref:`HDF5 format ` that is not terribly useful by itself. The ``openmc-voxel-to-vtk`` script converts a voxel HDF5 file to a `VTK -`_ file. To run this script, you will need to have the VTK +`_ file. To run this script, you will need to have the VTK Python bindings installed. To convert a voxel file, simply provide the path to the file: diff --git a/examples/jupyter/cad-based-geometry.ipynb b/examples/jupyter/cad-based-geometry.ipynb index 5f84ae5e5..9fa56f6fb 100644 --- a/examples/jupyter/cad-based-geometry.ipynb +++ b/examples/jupyter/cad-based-geometry.ipynb @@ -5,7 +5,7 @@ "metadata": {}, "source": [ "# Using CAD-Based Geometries\n", - "In this notebook we'll be exploring how to use CAD-based geometries in OpenMC via the [DagMC](https://svalinn.github.io/DAGMC/index.html) toolkit. The models we'll be using in this notebook have already been created using [Trelis](https://www.csimsoft.com/trelis) and faceted into a surface mesh represented as `.h5m` files in the [Mesh Oriented DatABase](https://press3.mcs.anl.gov/sigma/moab-library/) format. We'll be retrieving these files using the function below.\n", + "In this notebook we'll be exploring how to use CAD-based geometries in OpenMC via the [DagMC](https://svalinn.github.io/DAGMC/index.html) toolkit. The models we'll be using in this notebook have already been created using [Trelis](https://coreform.com/products/trelisnew/) and faceted into a surface mesh represented as `.h5m` files in the [Mesh Oriented DatABase](https://sigma.mcs.anl.gov/moab-library/) format. We'll be retrieving these files using the function below.\n", "\n" ] }, @@ -93,7 +93,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Let's download the DAGMC model. These models come in the form of triangle surface meshes stored using the the Mesh Oriented datABase ([MOAB](https://press3.mcs.anl.gov/sigma/moab-library/)) in an HDF5 file with the extension `.h5m`. An example of a coarse triangle mesh looks like:" + "Let's download the DAGMC model. These models come in the form of triangle surface meshes stored using the the Mesh Oriented datABase ([MOAB](https://sigma.mcs.anl.gov/moab-library/)) in an HDF5 file with the extension `.h5m`. An example of a coarse triangle mesh looks like:" ] }, { @@ -234,7 +234,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "**Note:** Applying tally filters in DagMC models requires prior knowledge of the model. Here, we know that the fuel cell's volume ID in the CAD sofware is 1. To identify cells without use of CAD software, load them into the [OpenMC plotter](https://github.com/openmc/plotter) where cell, material, and volume IDs can be identified for native both OpenMC and DagMC geometries." + "**Note:** Applying tally filters in DagMC models requires prior knowledge of the model. Here, we know that the fuel cell's volume ID in the CAD sofware is 1. To identify cells without use of CAD software, load them into the [OpenMC plotter](https://github.com/openmc-dev/plotter) where cell, material, and volume IDs can be identified for native both OpenMC and DagMC geometries." ] }, { diff --git a/examples/jupyter/mdgxs-part-i.ipynb b/examples/jupyter/mdgxs-part-i.ipynb index cda79d30a..ea1dd7bcd 100644 --- a/examples/jupyter/mdgxs-part-i.ipynb +++ b/examples/jupyter/mdgxs-part-i.ipynb @@ -89,7 +89,7 @@ "\n", "$$\\nu_d \\sigma_{n,x,k,g} = \\frac{\\int_{E_{g}}^{E_{g-1}}\\mathrm{d}E'\\int_{\\mathbf{r} \\in V_{k}}\\mathrm{d}\\mathbf{r} \\nu_d \\sigma_{f,x}(\\mathbf{r},E')\\Phi(\\mathbf{r},E')}{\\int_{E_{g}}^{E_{g-1}}\\mathrm{d}E'\\int_{\\mathbf{r} \\in V_{k}}\\mathrm{d}\\mathbf{r}\\Phi(\\mathbf{r},E')}$$\n", "\n", - "This scalar flux-weighted average microscopic cross section is computed by `openmc.mgxs` for only the delayed-nu-fission and delayed neutron fraction reaction type at the moment. These double integrals are stochastically computed with OpenMC's tally system - in particular, [filters](https://docs.openmc.org/en/stable/usersguide/tallies.html#filters) on the energy range and spatial zone (material, cell, universe, or mesh) define the bounds of integration for both numerator and denominator." + "This scalar flux-weighted average microscopic cross section is computed by `openmc.mgxs` for only the delayed-nu-fission and delayed neutron fraction reaction type at the moment. These double integrals are stochastically computed with OpenMC's tally system - in particular, [filters](../usersguide/tallies.rst#filters) on the energy range and spatial zone (material, cell, universe, or mesh) define the bounds of integration for both numerator and denominator." ] }, { @@ -702,7 +702,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Since the `openmc.mgxs` module uses [tally arithmetic](https://mit-crpg.github.io/openmc/pythonapi/examples/tally-arithmetic.html) under-the-hood, the cross section is stored as a \"derived\" `Tally` object. This means that it can be queried and manipulated using all of the same methods supported for the `Tally` class in the OpenMC Python API. For example, we can construct a [Pandas](http://pandas.pydata.org/) `DataFrame` of the multi-group cross section data." + "Since the `openmc.mgxs` module uses [tally arithmetic](tally-arithmetic.ipynb) under-the-hood, the cross section is stored as a \"derived\" `Tally` object. This means that it can be queried and manipulated using all of the same methods supported for the `Tally` class in the OpenMC Python API. For example, we can construct a [Pandas](https://pandas.pydata.org/) `DataFrame` of the multi-group cross section data." ] }, { @@ -1077,7 +1077,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Finally, we illustrate how one can leverage OpenMC's [tally arithmetic](https://mit-crpg.github.io/openmc/pythonapi/examples/tally-arithmetic.html) data processing feature with `MGXS` objects. The `openmc.mgxs` module uses tally arithmetic to compute multi-group cross sections with automated uncertainty propagation. Each `MGXS` object includes an `xs_tally` attribute which is a \"derived\" `Tally` based on the tallies needed to compute the cross section type of interest. These derived tallies can be used in subsequent tally arithmetic operations. For example, we can use tally artithmetic to compute the delayed neutron precursor concentrations using the `Beta`, `DelayedNuFissionXS`, and `DecayRate` objects. The delayed neutron precursor concentrations are modeled using the following equations:\n", + "Finally, we illustrate how one can leverage OpenMC's [tally arithmetic](tally-arithmetic.ipynb) data processing feature with `MGXS` objects. The `openmc.mgxs` module uses tally arithmetic to compute multi-group cross sections with automated uncertainty propagation. Each `MGXS` object includes an `xs_tally` attribute which is a \"derived\" `Tally` based on the tallies needed to compute the cross section type of interest. These derived tallies can be used in subsequent tally arithmetic operations. For example, we can use tally artithmetic to compute the delayed neutron precursor concentrations using the `Beta`, `DelayedNuFissionXS`, and `DecayRate` objects. The delayed neutron precursor concentrations are modeled using the following equations:\n", "\n", "$$\\frac{\\partial}{\\partial t} C_{k,d} (t) = \\int_{0}^{\\infty}\\mathrm{d}E'\\int_{\\mathbf{r} \\in V_{k}}\\mathrm{d}\\mathbf{r} \\beta_{k,d} (t) \\nu_d \\sigma_{f,x}(\\mathbf{r},E',t)\\Phi(\\mathbf{r},E',t) - \\lambda_{d} C_{k,d} (t) $$\n", "\n", diff --git a/examples/jupyter/mdgxs-part-ii.ipynb b/examples/jupyter/mdgxs-part-ii.ipynb index bb9538456..1c996c82a 100644 --- a/examples/jupyter/mdgxs-part-ii.ipynb +++ b/examples/jupyter/mdgxs-part-ii.ipynb @@ -652,7 +652,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Finally, we illustrate how one can leverage OpenMC's [tally arithmetic](https://mit-crpg.github.io/openmc/pythonapi/examples/tally-arithmetic.html) data processing feature with `MGXS` objects. The `openmc.mgxs` module uses tally arithmetic to compute multi-group cross sections with automated uncertainty propagation. Each `MGXS` object includes an `xs_tally` attribute which is a \"derived\" `Tally` based on the tallies needed to compute the cross section type of interest. These derived tallies can be used in subsequent tally arithmetic operations. For example, we can use tally artithmetic to compute the delayed neutron precursor concentrations using the `Beta` and `DelayedNuFissionXS` objects. The delayed neutron precursor concentrations are modeled using the following equations:\n", + "Finally, we illustrate how one can leverage OpenMC's [tally arithmetic](tally-arithmetic.ipynb) data processing feature with `MGXS` objects. The `openmc.mgxs` module uses tally arithmetic to compute multi-group cross sections with automated uncertainty propagation. Each `MGXS` object includes an `xs_tally` attribute which is a \"derived\" `Tally` based on the tallies needed to compute the cross section type of interest. These derived tallies can be used in subsequent tally arithmetic operations. For example, we can use tally artithmetic to compute the delayed neutron precursor concentrations using the `Beta` and `DelayedNuFissionXS` objects. The delayed neutron precursor concentrations are modeled using the following equations:\n", "\n", "$$\\frac{\\partial}{\\partial t} C_{k,d} (t) = \\int_{0}^{\\infty}\\mathrm{d}E'\\int_{\\mathbf{r} \\in V_{k}}\\mathrm{d}\\mathbf{r} \\beta_{k,d} (t) \\nu_d \\sigma_{f,x}(\\mathbf{r},E',t)\\Phi(\\mathbf{r},E',t) - \\lambda_{d} C_{k,d} (t) $$\n", "\n", diff --git a/examples/jupyter/mg-mode-part-i.ipynb b/examples/jupyter/mg-mode-part-i.ipynb index a4f3822f2..c393ecc41 100644 --- a/examples/jupyter/mg-mode-part-i.ipynb +++ b/examples/jupyter/mg-mode-part-i.ipynb @@ -5,7 +5,7 @@ "metadata": {}, "source": [ "# Multigroup Mode Part I: Introduction\n", - "This Notebook illustrates the usage of OpenMC's multi-group calculational mode with the Python API. This example notebook creates and executes the 2-D [C5G7](https://www.oecd-nea.org/science/docs/2003/nsc-doc2003-16.pdf) benchmark model using the `openmc.MGXSLibrary` class to create the supporting data library on the fly." + "This Notebook illustrates the usage of OpenMC's multi-group calculational mode with the Python API. This example notebook creates and executes the 2-D [C5G7](https://www.oecd-nea.org/jcms/pl_17882) benchmark model using the `openmc.MGXSLibrary` class to create the supporting data library on the fly." ] }, { @@ -38,7 +38,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "We will now create the multi-group library using data directly from Appendix A of the [C5G7](https://www.oecd-nea.org/science/docs/2003/nsc-doc2003-16.pdf) benchmark documentation. All of the data below will be created at 294K, consistent with the benchmark.\n", + "We will now create the multi-group library using data directly from Appendix A of the [C5G7](https://www.oecd-nea.org/jcms/pl_17882) benchmark documentation. All of the data below will be created at 294K, consistent with the benchmark.\n", "\n", "This notebook will first begin by setting the group structure and building the groupwise data for UO2. As you can see, the cross sections are input in the order of increasing groups (or decreasing energy).\n", "\n", diff --git a/examples/jupyter/mgxs-part-i.ipynb b/examples/jupyter/mgxs-part-i.ipynb index 62a9b70b1..3d5711adc 100644 --- a/examples/jupyter/mgxs-part-i.ipynb +++ b/examples/jupyter/mgxs-part-i.ipynb @@ -88,7 +88,7 @@ "\n", "$$\\sigma_{n,x,k,g} = \\frac{\\int_{E_{g}}^{E_{g-1}}\\mathrm{d}E'\\int_{\\mathbf{r} \\in V_{k}}\\mathrm{d}\\mathbf{r}\\sigma_{n,x}(\\mathbf{r},E')\\Phi(\\mathbf{r},E')}{\\int_{E_{g}}^{E_{g-1}}\\mathrm{d}E'\\int_{\\mathbf{r} \\in V_{k}}\\mathrm{d}\\mathbf{r}\\Phi(\\mathbf{r},E')}$$\n", "\n", - "This scalar flux-weighted average microscopic cross section is computed by `openmc.mgxs` for most multi-group cross sections, including total, absorption, and fission reaction types. These double integrals are stochastically computed with OpenMC's tally system - in particular, [filters](http://openmc.readthedocs.io/en/latest/usersguide/tallies.html#filters) on the energy range and spatial zone (material, cell or universe) define the bounds of integration for both numerator and denominator." + "This scalar flux-weighted average microscopic cross section is computed by `openmc.mgxs` for most multi-group cross sections, including total, absorption, and fission reaction types. These double integrals are stochastically computed with OpenMC's tally system - in particular, [filters](../usersguide/tallies.rst#filters) on the energy range and spatial zone (material, cell or universe) define the bounds of integration for both numerator and denominator." ] }, { @@ -712,7 +712,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Since the `openmc.mgxs` module uses [tally arithmetic](http://openmc.readthedocs.io/en/latest/examples/tally-arithmetic.html) under-the-hood, the cross section is stored as a \"derived\" `Tally` object. This means that it can be queried and manipulated using all of the same methods supported for the `Tally` class in the OpenMC Python API. For example, we can construct a [Pandas](http://pandas.pydata.org/) `DataFrame` of the multi-group cross section data." + "Since the `openmc.mgxs` module uses [tally arithmetic](../examples/tally-arithmetic.rst) under-the-hood, the cross section is stored as a \"derived\" `Tally` object. This means that it can be queried and manipulated using all of the same methods supported for the `Tally` class in the OpenMC Python API. For example, we can construct a [Pandas](https://pandas.pydata.org/) `DataFrame` of the multi-group cross section data." ] }, { @@ -817,7 +817,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Finally, we illustrate how one can leverage OpenMC's [tally arithmetic](http://openmc.readthedocs.io/en/latest/examples/tally-arithmetic.html) data processing feature with `MGXS` objects. The `openmc.mgxs` module uses tally arithmetic to compute multi-group cross sections with automated uncertainty propagation. Each `MGXS` object includes an `xs_tally` attribute which is a \"derived\" `Tally` based on the tallies needed to compute the cross section type of interest. These derived tallies can be used in subsequent tally arithmetic operations. For example, we can use tally artithmetic to confirm that the `TotalXS` is equal to the sum of the `AbsorptionXS` and `ScatterXS` objects." + "Finally, we illustrate how one can leverage OpenMC's [tally arithmetic](../examples/tally-arithmetic.rst) data processing feature with `MGXS` objects. The `openmc.mgxs` module uses tally arithmetic to compute multi-group cross sections with automated uncertainty propagation. Each `MGXS` object includes an `xs_tally` attribute which is a \"derived\" `Tally` based on the tallies needed to compute the cross section type of interest. These derived tallies can be used in subsequent tally arithmetic operations. For example, we can use tally artithmetic to confirm that the `TotalXS` is equal to the sum of the `AbsorptionXS` and `ScatterXS` objects." ] }, { diff --git a/examples/jupyter/mgxs-part-ii.ipynb b/examples/jupyter/mgxs-part-ii.ipynb index dd5b21a55..495f01211 100644 --- a/examples/jupyter/mgxs-part-ii.ipynb +++ b/examples/jupyter/mgxs-part-ii.ipynb @@ -9,12 +9,12 @@ "\n", "* Creation of multi-group cross sections on a **heterogeneous geometry**\n", "* Calculation of cross sections on a **nuclide-by-nuclide basis**\n", - "* The use of **[tally precision triggers](http://docs.openmc.org/en/latest/io_formats/settings.html#trigger-element)** with multi-group cross sections\n", + "* The use of **[tally precision triggers](../io_formats/settings.rst#trigger-element)** with multi-group cross sections\n", "* Built-in features for **energy condensation** in downstream data processing\n", "* The use of the **`openmc.data`** module to plot continuous-energy vs. multi-group cross sections\n", "* **Validation** of multi-group cross sections with **[OpenMOC](https://mit-crpg.github.io/OpenMOC/)**\n", "\n", - "**Note:** This Notebook was created using [OpenMOC](https://mit-crpg.github.io/OpenMOC/) to verify the multi-group cross-sections generated by OpenMC. You must install [OpenMOC](https://mit-crpg.github.io/OpenMOC/) on your system in order to run this Notebook in its entirety. In addition, this Notebook illustrates the use of [Pandas](http://pandas.pydata.org/) `DataFrames` to containerize multi-group cross section data." + "**Note:** This Notebook was created using [OpenMOC](https://mit-crpg.github.io/OpenMOC/) to verify the multi-group cross-sections generated by OpenMC. You must install [OpenMOC](https://mit-crpg.github.io/OpenMOC/) on your system in order to run this Notebook in its entirety. In addition, this Notebook illustrates the use of [Pandas](https://pandas.pydata.org/) `DataFrames` to containerize multi-group cross section data." ] }, { @@ -264,7 +264,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Next, we showcase the use of OpenMC's [tally precision trigger](http://openmc.readthedocs.io/en/latest/io_formats/settings.html#trigger-element) feature in conjunction with the `openmc.mgxs` module. In particular, we will assign a tally trigger of 1E-2 on the standard deviation for each of the tallies used to compute multi-group cross sections." + "Next, we showcase the use of OpenMC's [tally precision trigger](../io_formats/settings.rst#trigger-element) feature in conjunction with the `openmc.mgxs` module. In particular, we will assign a tally trigger of 1E-2 on the standard deviation for each of the tallies used to compute multi-group cross sections." ] }, { @@ -745,7 +745,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Although a printed report is nice, it is not scalable or flexible. Let's extract the microscopic cross section data for the moderator as a [Pandas](http://pandas.pydata.org/) `DataFrame` ." + "Although a printed report is nice, it is not scalable or flexible. Let's extract the microscopic cross section data for the moderator as a [Pandas](https://pandas.pydata.org/) `DataFrame` ." ] }, { diff --git a/examples/jupyter/mgxs-part-iii.ipynb b/examples/jupyter/mgxs-part-iii.ipynb index b05dbabd5..d75255d73 100644 --- a/examples/jupyter/mgxs-part-iii.ipynb +++ b/examples/jupyter/mgxs-part-iii.ipynb @@ -12,7 +12,7 @@ "* **Validation** of multi-group cross sections with **[OpenMOC](https://mit-crpg.github.io/OpenMOC/)**\n", "* Steady-state pin-by-pin **fission rates comparison** between OpenMC and [OpenMOC](https://mit-crpg.github.io/OpenMOC/)\n", "\n", - "**Note:** This Notebook was created using [OpenMOC](https://mit-crpg.github.io/OpenMOC/) to verify the multi-group cross-sections generated by OpenMC. You must install [OpenMOC](https://mit-crpg.github.io/OpenMOC/) on your system to run this Notebook in its entirety. In addition, this Notebook illustrates the use of [Pandas](http://pandas.pydata.org/) `DataFrames` to containerize multi-group cross section data." + "**Note:** This Notebook was created using [OpenMOC](https://mit-crpg.github.io/OpenMOC/) to verify the multi-group cross-sections generated by OpenMC. You must install [OpenMOC](https://mit-crpg.github.io/OpenMOC/) on your system to run this Notebook in its entirety. In addition, this Notebook illustrates the use of [Pandas](https://pandas.pydata.org/) `DataFrames` to containerize multi-group cross section data." ] }, { @@ -811,7 +811,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The `NuFissionXS` object supports all of the methods described previously in the `openmc.mgxs` tutorials, such as [Pandas](http://pandas.pydata.org/) `DataFrames`:\n", + "The `NuFissionXS` object supports all of the methods described previously in the `openmc.mgxs` tutorials, such as [Pandas](https://pandas.pydata.org/) `DataFrames`:\n", "Note that since so few histories were simulated, we should expect a few division-by-error errors as some tallies have not yet scored any results." ] }, @@ -994,7 +994,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The HDF5 store will contain the numerical multi-group cross section data indexed by domain, nuclide and cross section type. Some data workflows may be optimized by storing and retrieving binary representations of the `MGXS` objects in the `Library`. This feature is supported through the `Library.dump_to_file(...)` and `Library.load_from_file(...)` routines which use Python's [`pickle`](https://docs.python.org/2/library/pickle.html) module. This is illustrated as follows." + "The HDF5 store will contain the numerical multi-group cross section data indexed by domain, nuclide and cross section type. Some data workflows may be optimized by storing and retrieving binary representations of the `MGXS` objects in the `Library`. This feature is supported through the `Library.dump_to_file(...)` and `Library.load_from_file(...)` routines which use Python's [`pickle`](https://docs.python.org/3/library/pickle.html) module. This is illustrated as follows." ] }, { diff --git a/examples/jupyter/nuclear-data.ipynb b/examples/jupyter/nuclear-data.ipynb index c63c24a17..30d2c09f0 100644 --- a/examples/jupyter/nuclear-data.ipynb +++ b/examples/jupyter/nuclear-data.ipynb @@ -900,7 +900,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "If had [Cython](http://cython.org/) installed when you built/installed OpenMC, you should be able to evaluate resonant cross sections from ENDF data directly, i.e., OpenMC will reconstruct resonances behind the scenes for you." + "If had [Cython](https://cython.org/) installed when you built/installed OpenMC, you should be able to evaluate resonant cross sections from ENDF data directly, i.e., OpenMC will reconstruct resonances behind the scenes for you." ] }, { diff --git a/examples/jupyter/post-processing.ipynb b/examples/jupyter/post-processing.ipynb index d31af5831..8d9e10966 100644 --- a/examples/jupyter/post-processing.ipynb +++ b/examples/jupyter/post-processing.ipynb @@ -567,7 +567,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The statepoint file actually stores the sum and sum-of-squares for each tally bin from which the mean and variance can be calculated as described [here](http://openmc.readthedocs.io/en/latest/methods/tallies.html#variance). The sum and sum-of-squares can be accessed using the ``sum`` and ``sum_sq`` properties:" + "The statepoint file actually stores the sum and sum-of-squares for each tally bin from which the mean and variance can be calculated as described [here](../methods/tallies.rst#variance). The sum and sum-of-squares can be accessed using the ``sum`` and ``sum_sq`` properties:" ] }, { diff --git a/examples/jupyter/search.ipynb b/examples/jupyter/search.ipynb index a71272641..d2163f8e2 100644 --- a/examples/jupyter/search.ipynb +++ b/examples/jupyter/search.ipynb @@ -36,7 +36,7 @@ "\n", "To perform the search we will use the `openmc.search_for_keff` function. This function requires a different function be defined which creates an parametrized model to analyze. This model is required to be stored in an `openmc.model.Model` object. The first parameter of this function will be modified during the search process for our critical eigenvalue.\n", "\n", - "Our model will be a pin-cell from the [Multi-Group Mode Part II](http://docs.openmc.org/en/latest/examples/mg-mode-part-ii.html) assembly, except this time the entire model building process will be contained within a function, and the Boron concentration will be parametrized." + "Our model will be a pin-cell from the [Multi-Group Mode Part II](mg-mode-part-ii.ipynb) assembly, except this time the entire model building process will be contained within a function, and the Boron concentration will be parametrized." ] }, {