You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Docs/source/developers/checksum.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The checksum module is located in ``Regression/Checksum/``, and the benchmarks a
9
9
10
10
For more details on the implementation, the Python files in ``Regression/Checksum/`` should be well documented.
11
11
12
-
From a user point of view, you should only need to use ``checksumAPI.py``. It contains Python functions that can be imported and used from an analysis Python script. It can also be executed directly as a Python script. Here are recipies for the main tasks related to checksum regression tests in WarpX CI.
12
+
From a user point of view, you should only need to use ``checksumAPI.py``. It contains Python functions that can be imported and used from an analysis Python script. It can also be executed directly as a Python script. Here are recipes for the main tasks related to checksum regression tests in WarpX CI.
13
13
14
14
Include a checksum regression test in an analysis Python script
Copy file name to clipboardexpand all lines: Docs/source/developers/repo_organization.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ All WarpX header files need to be specified relative to the ``Source/`` director
41
41
By default, in a ``MyName.cpp`` source file we do not include headers already included in ``MyName.H``. Besides this exception, if a function or a class
42
42
is used in a source file, the header file containing its declaration must be included, unless the inclusion of a facade header is more appropriate. This is
43
43
sometimes the case for AMReX headers. For instance ``AMReX_GpuLaunch.H`` is a façade header for ``AMReX_GpuLaunchFunctsC.H`` and ``AMReX_GpuLaunchFunctsG.H``, which
44
-
contain respectively the CPU and the GPU implemetation of some methods, and which should not be included directly.
44
+
contain respectively the CPU and the GPU implementation of some methods, and which should not be included directly.
45
45
Whenever possible, forward declarations headers are included instead of the actual headers, in order to save compilation time (see dedicated section below). In WarpX forward
46
46
declaration headers have the suffix ``*_fwd.H``, while in AMReX they have the suffix ``*Fwd.H``.
47
47
The include order (see `PR #874 <https://github.com/ECP-WarpX/WarpX/pull/874#issuecomment-607038803>`__ and `PR #1947 <https://github.com/ECP-WarpX/WarpX/pull/1947>`__) and `proper quotation marks <https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html>`__ are:
Copy file name to clipboardexpand all lines: Docs/source/developers/warning_logger.rst
+3-3
Original file line number
Diff line number
Diff line change
@@ -47,15 +47,15 @@ Each entry of warning list respects the following format:
47
47
.. code-block:: sh
48
48
49
49
* --> [PRIORITY] [TOPIC] [raised COUNTER]
50
-
* MULTILINE MESSAGGE
51
-
* MULTILINE MESSAGGE
50
+
* MULTILINE MESSAGE
51
+
* MULTILINE MESSAGE
52
52
* @ Raised by: WHICH_RANKS
53
53
54
54
where:
55
55
56
56
* ``[PRIORITY]`` can be ``[! ]`` (low priority), ``[!! ]`` (medium priority) or ``[!!!]`` (high priority). It indicates the importance of the warning.
57
57
* ``[TOPIC]`` indicates which part of the code is concerned by the warning (e.g., particles, laser, parallelization...)
58
-
* ``MULTILINE MESSAGGE`` is an arbitrary text message. It can span multiple-lines. Text is wrapped automatically.
58
+
* ``MULTILINE MESSAGE`` is an arbitrary text message. It can span multiple-lines. Text is wrapped automatically.
59
59
* ``COUNTER`` indicates the number of times the warning was raised **across all the MPI ranks**. This means that if we run WarpX with 2048 MPI ranks and each rank raises the same warning once, the displayed message will be ``[raised 2048 times]``. Possible values are ``once``, ``twice``, ``XX times``
60
60
* ``WHICH_RANKS`` can be either ``ALL`` or a sequence of rank IDs. It is the list of the MPI ranks which have raised the warning message.
Copy file name to clipboardexpand all lines: Docs/source/glossary.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Abbreviations
17
17
* **AMR:** adaptive mesh-refinement
18
18
* **BC:** boundary condition (of a simulation)
19
19
* **BCK:** `Benkler-Chavannes-Kuster <https://ieeexplore.ieee.org/document/1638381>`__ method, a stabilization technique for small cells in the electromagnetic solver
20
-
* **BTD:** backtransformed diagnosics, a method to collect data for analysis from a *boosted frame* simulation
20
+
* **BTD:** backtransformed diagnostics, a method to collect data for analysis from a *boosted frame* simulation
21
21
* **CEX:** charge-exchange collisions
22
22
* **CFL:** the Courant-Friedrichs-Lewy condition, a numerical parameter for the numerical convergence of PDE solvers
23
23
* **CI:** continuous integration, automated tests that we perform before a proposed code-change is accepted; see PR
* ``$HOME``: per-user directory, use only for inputs, source and scripts; backed up (25GB default quota)
20
-
* ``/scatch/``: `production directory <https://docs.it4i.cz/karolina/storage/#scratch-file-system>`__; very fast for parallel jobs (20TB default)
20
+
* ``/scratch/``: `production directory <https://docs.it4i.cz/karolina/storage/#scratch-file-system>`__; very fast for parallel jobs (20TB default)
21
21
22
22
23
23
.. _building-karolina-preparation:
@@ -143,7 +143,7 @@ Use the following :ref:`cmake commands <building-cmake>` to compile the applicat
143
143
144
144
Now, you can :ref:`submit Karolina compute jobs <running-cpp-karolina>` for WarpX :ref:`Python (PICMI) scripts <usage-picmi>` (:ref:`example scripts <usage-examples>`).
145
145
Or, you can use the WarpX executables to submit Karolina jobs (:ref:`example inputs <usage-examples>`).
146
-
For executables, you can reference their location in your :ref:`job script <running-cpp-karolina>` or copy them to a location in ``/scatch/``.
146
+
For executables, you can reference their location in your :ref:`job script <running-cpp-karolina>` or copy them to a location in ``/scratch/``.
Copy file name to clipboardexpand all lines: Docs/source/latex_theory/AMR/AMR.tex
+1-1
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ \subsection{Electrostatic}
53
53
% \caption{Snapshot from a 3D self-consistent simulation of the injector in the High Current Experiment shows the beam emerging from the source at low energy (blue) and being accelerated (green-yellow-orange) and transported in a four quadrupole front end. The automatic layout of the mesh refinement patches from a 2D axisymmetric simulation of the source area shows 2 levels of refinement, concentrating the finer meshes around the emitter (white curve surface) and the beam edge (dark blue).}
54
54
% \label{fig:ESHCX}
55
55
%\end{figure}
56
-
%Automatic remeshing has been implemented in WarpX following the procedure described in \cite{Vaynim2005}, refining on criteria based on measures of local charge density magnitude and gradients. AMR WarpX simulations were applied to the modeling of the front end injector of the High Current Experiment (HCX) \cite{Prostprstab2005}, and provided the first numerically converged estimates of phase space beam distorsions, which directly affects beam quality \cite{Vaypop04}. Fig.~\ref{fig:ESHCX} shows snapshots from 2D axisymmetric simulation of the souce area illustrating the automatic placement of refined patches, and 3D simulation of the full injector showing the beam generation, acceleration and transport.
56
+
%Automatic remeshing has been implemented in WarpX following the procedure described in \cite{Vaynim2005}, refining on criteria based on measures of local charge density magnitude and gradients. AMR WarpX simulations were applied to the modeling of the front end injector of the High Current Experiment (HCX) \cite{Prostprstab2005}, and provided the first numerically converged estimates of phase space beam distorsions, which directly affects beam quality \cite{Vaypop04}. Fig.~\ref{fig:ESHCX} shows snapshots from 2D axisymmetric simulation of the source area illustrating the automatic placement of refined patches, and 3D simulation of the full injector showing the beam generation, acceleration and transport.
57
57
58
58
\subsection{Electromagnetic}
59
59
The method that is used for electrostatic mesh refinement is not directly applicable to electromagnetic calculations. As was shown in section 3.4 of \cite{Vayjcp01}, refinement schemes relying solely on interpolation between coarse and fine patches lead to the reflection with amplification of the short wavelength modes that fall below the cutoff of the Nyquist frequency of the coarse grid. Unless these modes are damped heavily or prevented from occurring at their source, they may affect particle motion and their effect can escalate if trapped within a patch, via multiple successive reflections with amplification.
Copy file name to clipboardexpand all lines: Docs/source/usage/how_to_run.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Where ``<run_directory>`` by the actual path to the run directory.
25
25
-------------
26
26
27
27
If you installed warpX with a :ref:`package manager <install-users>`, a ``warpx``-prefixed executable will be available as a regular system command to you.
28
-
Depending on the choosen build options, the name is suffixed with more details.
28
+
Depending on the chosen build options, the name is suffixed with more details.
The vebosity used for MLMG solver for space-charge fields calculation. Currently
158
+
The verbosity used for MLMG solver for space-charge fields calculation. Currently
159
159
MLMG solver looks for verbosity levels from 0-5. A higher number results in more
160
160
verbose output.
161
161
@@ -369,7 +369,7 @@ Domain Boundary Conditions
369
369
370
370
* ``Absorbing``: Particles leaving the boundary will be deleted.
371
371
372
-
* ``Periodic``: Particles leaving the boundary will re-enter from the opposite boundary. The field boundary condition must be consistenly set to periodic and both lower and upper boundaries must be periodic.
372
+
* ``Periodic``: Particles leaving the boundary will re-enter from the opposite boundary. The field boundary condition must be consistently set to periodic and both lower and upper boundaries must be periodic.
373
373
374
374
* ``Reflecting``: Particles leaving the boundary are reflected from the boundary back into the domain.
375
375
When ``boundary.reflect_all_velocities`` is false, the sign of only the normal velocity is changed, otherwise the sign of all velocities are changed.
@@ -861,7 +861,7 @@ Particle initialization
861
861
``<species_name>.ux``, ``<species_name>.uy`` and ``<species_name>.uz``, the normalized
862
862
momenta in the x, y and z direction respectively, which are all ``0.`` by default.
863
863
864
-
* ``uniform``: uniform probability distribution between a minumum and a maximum value.
864
+
* ``uniform``: uniform probability distribution between a minimum and a maximum value.
865
865
The x, y and z directions are sampled independently and the final momentum space is a cuboid.
866
866
The parameters that control the minimum and maximum domain of the distribution
867
867
are ``<species_name>.u<x,y,z>_min`` and ``<species_name>.u<x,y,z>_max`` in each
* ``fluids.species_names`` (`strings`, separated by spaces)
1191
1191
Defines the names of each fluid species. It is a required input to create and evolve fluid species using the cold relativistic fluid equations.
1192
1192
Most of the parameters described in the section "Particle initialization" can also be used to initialize fluid properties (e.g. initial density distribution).
1193
-
For fluid-specific inputs we use `<fluid_pecies_name>` as a placeholder. Also see external fields
1193
+
For fluid-specific inputs we use `<fluid_species_name>` as a placeholder. Also see external fields
1194
1194
for how to specify these for fluids as the function names differ.
1195
1195
1196
1196
.. _running-cpp-parameters-laser:
@@ -1726,7 +1726,7 @@ WarpX provides several particle collision models, using varying degrees of appro
1726
1726
total number of physical particle remains the same). This can improve
1727
1727
the statistics of the simulation, in the case where fusion reactions are very rare.
1728
1728
More specifically, in a fusion reaction between two macroparticles with weight ``w_1`` and ``w_2``,
1729
-
the weight of the product macroparticles will be ``min(w_1,w_2)/fusion_multipler``.
1729
+
the weight of the product macroparticles will be ``min(w_1,w_2)/fusion_multiplier``.
1730
1730
(And the weights of the reactant macroparticles are reduced correspondingly after the reaction.)
1731
1731
See `Higginson et al. (JCP 388, 439-453, 2019) <https://doi.org/10.1016/j.jcp.2019.03.020>`__
1732
1732
for more details. The default value of ``fusion_multiplier`` is 1.
@@ -2299,7 +2299,7 @@ Additional parameters
2299
2299
2300
2300
* ``warpx.shared_tilesize`` (list of `int`) optional (default `6 6 8` in 3D; `14 14` in 2D; `1s` otherwise)
2301
2301
Used to tune performance when ``do_shared_mem_current_deposition`` or
2302
-
``do_shared_mem_charge_depostion`` is enabled. ``shared_tilesize`` is the
2302
+
``do_shared_mem_charge_deposition`` is enabled. ``shared_tilesize`` is the
2303
2303
size of the temporary buffer allocated in shared memory for a threadblock.
2304
2304
A larger tilesize requires more shared memory, but gives more work to each
2305
2305
threadblock, which can lead to higher occupancy, and allows for more
0 commit comments