Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Python API in the Manual #200

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ Usage
:hidden:

usage/how_to_run
usage/parameters
usage/python
usage/parameters
usage/examples
usage/workflows

Expand Down
14 changes: 9 additions & 5 deletions docs/source/usage/parameters.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.. _running-cpp-parameters:

Input Parameters
================
Parameters: Inputs File
=======================

This documents on how to use ImpactX with an inputs file (``impactx input_file.in``).

.. note::
The AMReX parser (see :ref:`running-cpp-parameters-parser`) is used for the right-hand-side of all input parameters that consist of one or more integers or floats, so expressions like ``<species_name>.density_max = "2.+1."`` and/or using user-defined constants are accepted.
Expand Down Expand Up @@ -356,11 +358,13 @@ Numerics and algorithms
* ``algo.particle_shape`` (``integer``; ``1``, ``2``, or ``3``)
The order of the shape factors (splines) for the macro-particles along all spatial directions: `1` for linear, `2` for quadratic, `3` for cubic.
Low-order shape factors result in faster simulations, but may lead to more noisy results.
High-order shape factors are computationally more expensive, but may increase the overall accuracy of the results. For production runs it is generally safer to use high-order shape factors, such as cubic order.
High-order shape factors are computationally more expensive, but may increase the overall accuracy of the results.
For production runs it is generally safer to use high-order shape factors, such as cubic order.

* ``algo.space_charge`` (``boolean``, optional, default: ``true``)
Whether to calculate space charge effects.
This is in-development. At the moment, this flag only activates coordinate transformations and charge deposition.
This is in-development.
At the moment, this flag only activates coordinate transformations and charge deposition.

.. _running-cpp-parameters-diagnostics:

Expand All @@ -376,7 +380,7 @@ Diagnostics and output
Enabling this flag will write diagnostics every step and slice step

* ``diag.file_min_digits`` (``integer``, optional, default: ``6``)
The minimum number of digits used for the iteration number appended to the diagnostic file names.
The minimum number of digits used for the step number appended to the diagnostic file names.

.. _running-cpp-parameters-diagnostics-reduced:

Expand Down
Loading