Skip to content

Commit f13e25e

Browse files
committed
Docs: fix bugs (broken links, missing examples)
1 parent d79fe71 commit f13e25e

File tree

10 files changed

+11
-22
lines changed

10 files changed

+11
-22
lines changed

Docs/source/developers/checksum.rst

-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ This relies on the function ``evaluate_checksum``:
2222

2323
.. autofunction:: checksumAPI.evaluate_checksum
2424

25-
Here's an example:
26-
27-
.. literalinclude:: ../../../Examples/Tests/embedded_circle/analysis.py
28-
:language: python
29-
3025
This can also be included as part of an existing analysis script.
3126

3227
How to evaluate checksums from the command line

Docs/source/developers/fields.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ Bilinear filter
119119

120120
The multi-pass bilinear filter (applied on the current density) is implemented in ``Source/Filter/``, and class ``WarpX`` holds an instance of this class in member variable ``WarpX::bilinear_filter``. For performance reasons (to avoid creating too many guard cells), this filter is directly applied in communication routines, see ``WarpX::AddCurrentFromFineLevelandSumBoundary`` above and
121121

122-
.. doxygenfunction:: WarpX::ApplyFilterMF(const amrex::Vector<std::array<std::unique_ptr<amrex::MultiFab>, 3>> &mfvec, int lev, int idim)
122+
.. doxygenfunction:: WarpX::ApplyFilterMF(const ablastr::fields::MultiLevelVectorField &mfvec, int lev, int idim)
123123

124-
.. doxygenfunction:: WarpX::SumBoundaryJ(const amrex::Vector<std::array<std::unique_ptr<amrex::MultiFab>, 3>> &current, int lev, int idim, const amrex::Periodicity &period)
124+
.. doxygenfunction:: WarpX::SumBoundaryJ(const ablastr::fields::MultiLevelVectorField &current, int lev, int idim, const amrex::Periodicity &period)
125125

126126
Godfrey's anti-NCI filter for FDTD simulations
127127
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Docs/source/developers/particles.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Main functions
8383

8484
.. doxygenfunction:: PhysicalParticleContainer::PushPX
8585

86-
.. doxygenfunction:: WarpXParticleContainer::DepositCurrent(amrex::Vector<std::array<std::unique_ptr<amrex::MultiFab>, 3>> &J, amrex::Real dt, amrex::Real relative_time)
86+
.. doxygenfunction:: WarpXParticleContainer::DepositCurrent(ablastr::fields::MultiLevelVectorField const &J, amrex::Real dt, amrex::Real relative_time)
8787

8888
.. note::
8989
The current deposition is used both by ``PhysicalParticleContainer`` and ``LaserParticleContainer``, so it is in the parent class ``WarpXParticleContainer``.

Docs/source/install/hpc/dane.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
Dane (LLNL)
44
=============
55

6-
The `Dane Intel CPU cluster <https://hpc.llnl.gov/hardware/compute-platforms/dane>`_ is located at LLNL.
6+
The `Dane Intel CPU cluster <https://hpc.llnl.gov/hardware/compute-platforms/dane>`__ is located at LLNL.
77

88

99
Introduction
1010
------------
1111

1212
If you are new to this system, **please see the following resources**:
1313

14-
* `LLNL user account <https://lc.llnl.gov`__ (login required)
14+
* `LLNL user account <https://lc.llnl.gov>`__ (login required)
1515
* `Jupyter service <https://lc.llnl.gov/jupyter>`__ (`documentation <https://lc.llnl.gov/confluence/display/LC/JupyterHub+and+Jupyter+Notebook>`__, login required)
16-
* `Production directories <https://hpc.llnl.gov/hardware/file-systems>`_:
16+
* `Production directories <https://hpc.llnl.gov/hardware/file-systems>`__:
1717

1818
* ``/p/lustre1/$(whoami)`` and ``/p/lustre2/$(whoami)``: personal directory on the parallel filesystem
1919
* Note that the ``$HOME`` directory and the ``/usr/workspace/$(whoami)`` space are NFS mounted and *not* suitable for production quality data generation.

Docs/source/install/hpc/lawrencium.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ And since Lawrencium does not yet provide a module for them, install ADIOS2, BLA
6969
cmake -S src/lapackpp -B src/lapackpp-v100-build -DCMAKE_CXX_STANDARD=17 -Dgpu_backend=cuda -Dbuild_tests=OFF -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON -DCMAKE_INSTALL_PREFIX=$HOME/sw/v100/lapackpp-master -Duse_cmake_find_lapack=ON -DBLAS_LIBRARIES=${LAPACK_DIR}/lib/libblas.a -DLAPACK_LIBRARIES=${LAPACK_DIR}/lib/liblapack.a
7070
cmake --build src/lapackpp-v100-build --target install --parallel 12
7171
72-
Optionally, download and install Python packages for :ref:`PICMI <usage-picmi>` or dynamic ensemble optimizations (:ref:`libEnsemble <libensemble>`):
72+
Optionally, download and install Python packages for :ref:`PICMI <usage-picmi>` or dynamic ensemble optimizations (`libEnsemble <https://libensemble.readthedocs.io/en/main/>`__):
7373

7474
.. code-block:: bash
7575

Docs/source/refs.bib

+1
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ @misc{Fallahi2020
458458
@article{VayFELA2009,
459459
title = {FULL ELECTROMAGNETIC SIMULATION OF FREE-ELECTRON LASER AMPLIFIER PHYSICS VIA THE LORENTZ-BOOSTED FRAME APPROACH},
460460
author = {Fawley, William M and Vay, Jean-Luc},
461+
journal = {},
461462
abstractNote = {Numerical simulation of some systems containing charged particles with highly relativistic directed motion can by speeded up by orders of magnitude by choice of the proper Lorentz-boosted frame[1]. A particularly good example is that of short wavelength free-electron lasers (FELs) in which a high energy electron beam interacts with a static magnetic undulator. In the optimal boost frame with Lorentz factor gamma_F , the red-shifted FEL radiation and blue shifted undulator have identical wavelengths and the number of required time-steps (presuming the Courant condition applies) decreases by a factor of 2(gamma_F)**2 for fully electromagnetic simulation. We have adapted the WARP code [2]to apply this method to several FEL problems involving coherent spontaneous emission (CSE) from pre-bunched ebeams, including that in a biharmonic undulator.},
462463
url = {https://www.osti.gov/biblio/964405},
463464
place = {United States},

Docs/source/theory/multiphysics/collisions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The process is also the same as for elastic scattering except the excitation ene
131131
Benchmarks
132132
----------
133133

134-
See the :ref:`MCC example <examples-mcc-turner>` for a benchmark of the MCC
134+
See the :ref:`MCC example <examples-capacitive-discharge>` for a benchmark of the MCC
135135
implementation against literature results.
136136

137137
Particle cooling due to elastic collisions

Docs/source/usage/examples.rst

-8
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ Microelectronics
6565
* `ARTEMIS manual <https://artemis-em.readthedocs.io>`__
6666

6767

68-
Nuclear Fusion
69-
--------------
70-
71-
.. note::
72-
73-
TODO
74-
75-
7668
Fundamental Plasma Physics
7769
--------------------------
7870

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../Examples/Physics_applications/thomson_parabola_spectrometer

Examples/Physics_applications/thomson_parabola_spectrometer/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The PICMI input file is not available for this example yet.
2828

2929
For `MPI-parallel <https://www.mpi-forum.org>`__ runs, prefix these lines with ``mpiexec -n 4 ...`` or ``srun -n 4 ...``, depending on the system.
3030

31-
.. literalinclude:: inputs
31+
.. literalinclude:: inputs_test_3d_thomson_parabola_spectrometer
3232
:language: ini
3333
:caption: You can copy this file from ``Examples/Physics_applications/thomson_parabola_spectrometer/inputs_test_3d_thomson_parabola_spectrometer``.
3434

0 commit comments

Comments
 (0)