Skip to content
Snippets Groups Projects
Commit 2a943b6a authored by Mark Meredith's avatar Mark Meredith
Browse files

Fix formatting

parent 5fff4546
No related branches found
No related tags found
1 merge request!3Mr/cmake fetch
...@@ -4,16 +4,16 @@ Monitors ...@@ -4,16 +4,16 @@ Monitors
======== ========
The following inputs must be preceded by "amr" and control whether to compute The following inputs must be preceded by "amr" and control whether to compute
monitors, i.e., spatial averages, and how often to output the results. monitors, i.e., spatial averages, and how often to output the results.
n is the number of monitors implicitly defined by the size of avg_region_x_w. n is the number of monitors implicitly defined by the size of avg_region_x_w.
+------------------+-----------------------------------------------------------------------+-------------+-----------+ +------------------+-----------------------------------------------------------------------+-------------+-----------+
| | Description | Type | Default | | | Description | Type | Default |
+==================+=======================================================================+=============+===========+ +==================+=======================================================================+=============+===========+
| avg_int | Interval, in number of CFD dt's, to write output | Int | -1 | | avg_int | Interval, in number of CFD dt's, to write output | Int | -1 |
+------------------+-----------------------------------------------------------------------+-------------+-----------+ +------------------+-----------------------------------------------------------------------+-------------+-----------+
| avg_file | Base file name which is appended with the data type (vel_p_, p_g_, | String | avg_region| | avg_file | Base file name which is appended with the data type (vel_p, p_g, | String | avg_region|
| | ep_g_ or vel_g_), the number of this type of averaging, and the .csv | | | | | ep_g or vel_g), the number of this type of averaging, and the .csv | | |
| | file extension | | | | | file extension | | |
+------------------+-----------------------------------------------------------------------+-------------+-----------+ +------------------+-----------------------------------------------------------------------+-------------+-----------+
| avg_vel_p | Average and save particle velocity (if 1) | n*Int | 0 | | avg_vel_p | Average and save particle velocity (if 1) | n*Int | 0 |
...@@ -36,6 +36,3 @@ n is the number of monitors implicitly defined by the size of avg_region_x_w. ...@@ -36,6 +36,3 @@ n is the number of monitors implicitly defined by the size of avg_region_x_w.
+------------------+-----------------------------------------------------------------------+-------------+-----------+ +------------------+-----------------------------------------------------------------------+-------------+-----------+
| avg_region_z_t | Upper bound of averaging region in z-direction | n*Real | None | | avg_region_z_t | Upper bound of averaging region in z-direction | n*Real | None |
+------------------+-----------------------------------------------------------------------+-------------+-----------+ +------------------+-----------------------------------------------------------------------+-------------+-----------+
...@@ -27,12 +27,12 @@ The following inputs must be preceded by "geometry." ...@@ -27,12 +27,12 @@ The following inputs must be preceded by "geometry."
The following inputs must be preceded by "mfix." The following inputs must be preceded by "mfix."
+----------------------+-------------------------------------------------------------------------+-------------+--------+ +----------------------+-------------------------------------------------------------------------+----------+-----------+
| | Description | Type | Default | | | Description | Type | Default |
+======================+=========================================================================+==========+===========+ +======================+=========================================================================+==========+===========+
| geometry | Which type of EB geometry are we using? | String | | | geometry | Which type of EB geometry are we using? | String | |
+----------------------+-------------------------------------------------------------------------+----------+-----------+ +----------------------+-------------------------------------------------------------------------+----------+-----------+
| levelset__refinement | Refinement factor of levelset resolution relative to level 0 resolution | Int | 1 ! | levelset__refinement | Refinement factor of levelset resolution relative to level 0 resolution | Int | 1 |
+----------------------+-------------------------------------------------------------------------+----------+-----------+ +----------------------+-------------------------------------------------------------------------+----------+-----------+
Setting basic EB walls can be specified by inputs preceded by "xlo", "xhi", "ylo", "yhi", "zlo", and "zhi" Setting basic EB walls can be specified by inputs preceded by "xlo", "xhi", "ylo", "yhi", "zlo", and "zhi"
......
...@@ -9,23 +9,23 @@ ...@@ -9,23 +9,23 @@
Load Balancing Load Balancing
-------------- --------------
The process of load balancing is typically independent of the process of grid creation; The process of load balancing is typically independent of the process of grid creation;
the inputs to load balancing are a given set of grids with a set of weights the inputs to load balancing are a given set of grids with a set of weights
assigned to each grid. (The exception to this is the KD-tree approach in which the assigned to each grid. (The exception to this is the KD-tree approach in which the
grid creation process is governed by trying to balance the work in each grid.) grid creation process is governed by trying to balance the work in each grid.)
Single-level load balancing algorithms are sequentially applied to each AMR level independently, Single-level load balancing algorithms are sequentially applied to each AMR level independently,
and the resulting distributions are mapped onto the ranks taking into account the weights and the resulting distributions are mapped onto the ranks taking into account the weights
already assigned to them (assign heaviest set of grids to the least loaded rank) already assigned to them (assign heaviest set of grids to the least loaded rank)
Options supported by AMReX include: Options supported by AMReX include:
- Knapsack: the default weight of a grid in the knapsack algorithm is the number of grid cells, - Knapsack: the default weight of a grid in the knapsack algorithm is the number of grid cells,
but AMReX supports the option to pass an array of weights – one per grid – or alternatively but AMReX supports the option to pass an array of weights – one per grid – or alternatively
to pass in a MultiFab of weights per cell which is used to compute the weight per grid to pass in a MultiFab of weights per cell which is used to compute the weight per grid
- SFC: enumerate grids with a space-filling Z-morton curve, then partition the - SFC: enumerate grids with a space-filling Z-morton curve, then partition the
resulting ordering across ranks in a way that balances the load resulting ordering across ranks in a way that balances the load
- Round-robin: sort grids and assign them to ranks in round-robin fashion -- specifically - Round-robin: sort grids and assign them to ranks in round-robin fashion -- specifically
FAB *i* is owned by CPU *i*%N where N is the total number of MPI ranks. FAB ``i`` is owned by CPU ``i % N`` where N is the total number of MPI ranks.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment