C unit tests for grid bounding-box helper routines. More...
Go to the source code of this file.
Functions | |
| static PetscErrorCode | TestComputeLocalBoundingBoxUniformGrid (void) |
| Tests local bounding-box construction on a uniform grid. | |
| static PetscErrorCode | TestGatherAndBroadcastBoundingBoxes (void) |
| Tests collective gather and broadcast of rank-local bounding boxes. | |
| static PetscErrorCode | TestReadGridGenerationInputsNonDimensionalizesBounds (void) |
| Tests that programmatic domain bounds are non-dimensionalized by L_ref. | |
| int | main (int argc, char **argv) |
| Runs the unit-grid PETSc test binary. | |
C unit tests for grid bounding-box helper routines.
Definition in file test_grid.c.
|
static |
Tests local bounding-box construction on a uniform grid.
Definition at line 16 of file test_grid.c.
|
static |
Tests collective gather and broadcast of rank-local bounding boxes.
Definition at line 42 of file test_grid.c.
|
static |
Tests that programmatic domain bounds are non-dimensionalized by L_ref.
A file-backed grid is divided by the reference length when the conductor publishes it as an asset; a programmatic grid has no such staging step, so ReadGridGenerationInputs() must perform the same division so all three grid modes take dimensional user input and the postprocessor's unconditional Coordinates * L_ref round-trips correctly.
Definition at line 88 of file test_grid.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Runs the unit-grid PETSc test binary.
Definition at line 153 of file test_grid.c.