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: doc/Sphinx/namelist.rst
+22-20Lines changed: 22 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1034,8 +1034,9 @@ Each particle injector has to be defined in a ``ParticleInjector`` block::
1034
1034
Particle Merging
1035
1035
^^^^^^^^^^^^^^^^
1036
1036
1037
-
The macro-particle merging method is documented in the :doc:`corresponding page <particle_merging>`.
1038
-
It is defined in the ``Species`` block::
1037
+
The macro-particle merging method is documented in
1038
+
the :doc:`corresponding page <particle_merging>`.
1039
+
It is optionnally specified in the ``Species`` block::
1039
1040
1040
1041
Species(
1041
1042
....
@@ -1055,19 +1056,20 @@ It is defined in the ``Species`` block::
1055
1056
1056
1057
.. py:data:: merging_method
1057
1058
1058
-
:default: ``None``
1059
+
:default: ``"none"``
1059
1060
1060
1061
The particle merging method to use:
1061
1062
1062
-
* ``none``: the merging process is not activated
1063
-
* ``vranic_cartesian``: merging process using the method of M. Vranic with a cartesian momentumspace decomposition
1064
-
* ``vranic_spherical``: merging process using the method of M. Vranic with a spherical momentumspace decomposition
1063
+
* ``"none"``: no merging
1064
+
* ``"vranic_cartesian"``: method of M. Vranic with a cartesian momentum-space decomposition
1065
+
* ``"vranic_spherical"``: method of M. Vranic with a spherical momentum-space decomposition
1065
1066
1066
1067
.. py:data:: merge_every
1067
1068
1068
1069
:default: ``0``
1069
1070
1070
-
The particle merging time selection (:ref:`time selection <TimeSelections>`).
1071
+
Number of timesteps between each merging event
1072
+
**or** a :ref:`time selection <TimeSelections>`.
1071
1073
1072
1074
.. py:data:: min_particles_per_cell
1073
1075
@@ -1091,38 +1093,38 @@ It is defined in the ``Species`` block::
1091
1093
1092
1094
:default: ``[16,16,16]``
1093
1095
1094
-
The momentum space discretization.
1096
+
A list of 3 integers defining the number of sub-groups in each direction
1097
+
for the momentum-space discretization.
1095
1098
1096
1099
.. py:data:: merge_discretization_scale
1097
1100
1098
-
:default: ``linear``
1101
+
:default: ``"linear"``
1099
1102
1100
-
The momentum discretization scale. The scale can be ``linear`` or ``log``.
1101
-
The ``log`` scale only works with the spherical discretization for the moment.
1102
-
In logarithmic scale, Smilei needs a minimum momentum value to avoid 0.
1103
-
This value is provided by the parameter ``merge_min_momentum``.
1104
-
By default, this value is set to :math:`10^{-5}`.
1103
+
The momentum discretization scale:: ``"linear"`` or ``"log"``.
1104
+
The ``"log"`` scale only works with the spherical discretization at the moment.
1105
1105
1106
1106
.. py:data:: merge_min_momentum
1107
1107
1108
1108
:default: ``1e-5``
1109
1109
1110
-
:red:`[for experts]` The minimum momentum value when the log scale is chosen (``merge_discretization_scale = log``).
1111
-
To set a minimum value is compulsory to avoid the potential 0 value in the log domain.
1110
+
:red:`[for experts]` The minimum momentum value when the log scale
1111
+
is chosen (``merge_discretization_scale = log``).
1112
+
This avoids a potential 0 value in the log domain.
1112
1113
1113
1114
.. py:data:: merge_min_momentum_cell_length
1114
1115
1115
1116
:default: ``[1e-10,1e-10,1e-10]``
1116
1117
1117
-
:red:`[for experts]` The minimum momentum cell length for the discretization.
1118
-
If the specified discretization induces smaller momentum cell length,
1119
-
then the number of momentum cell (momentum cell size) is set to 1 in this direction.
1118
+
:red:`[for experts]` The minimum sub-group length for the momentum-space
1119
+
discretization (below which the number of sub-groups is set to 1).
1120
1120
1121
1121
.. py:data:: merge_accumulation_correction
1122
1122
1123
1123
:default: ``True``
1124
1124
1125
-
:red:`[for experts]` Activation of the accumulation correction (see :ref:`vranic_accululation_effect` for more information). The correction only works in linear scale.
1125
+
:red:`[for experts]` Activates the accumulation correction
1126
+
(see :ref:`vranic_accululation_effect` for more information).
- Although the code can inject a single species, we recommend to use injectors to inject neutral plasmas. This means that positive and negative species should be simultaneously injected at the same boundary. To strengthen neutrality, species can be created at the same position.
0 commit comments