Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
exa
docs
Commits
2a943b6a
Commit
2a943b6a
authored
5 years ago
by
Mark Meredith
Browse files
Options
Downloads
Patches
Plain Diff
Fix formatting
parent
5fff4546
No related branches found
No related tags found
1 merge request
!3
Mr/cmake fetch
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/source/InputsMonitors.rst
+4
-7
4 additions, 7 deletions
docs/source/InputsMonitors.rst
docs/source/InputsProblemDefinition.rst
+2
-2
2 additions, 2 deletions
docs/source/InputsProblemDefinition.rst
docs/source/LoadBalancing.rst
+8
-8
8 additions, 8 deletions
docs/source/LoadBalancing.rst
with
14 additions
and
17 deletions
docs/source/InputsMonitors.rst
+
4
−
7
View file @
2a943b6a
...
@@ -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 |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+------------------+-----------------------------------------------------------------------+-------------+-----------+
This diff is collapsed.
Click to expand it.
docs/source/InputsProblemDefinition.rst
+
2
−
2
View file @
2a943b6a
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
docs/source/LoadBalancing.rst
+
8
−
8
View file @
2a943b6a
...
@@ -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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment