Decomposition-independent regression tests for post-processing compute. More...
#include "test_support.h"#include "postprocessor.h"#include "statistics_accumulator.h"#include "statistics_window.h"#include "statistics_target.h"Go to the source code of this file.
Functions | |
| static PetscReal | ScalarValue (PetscInt i, PetscInt j, PetscInt k) |
| Analytic scalar field used to expose misplaced or missing grid points. | |
| static PetscErrorCode | AssertGlobalError (PetscReal local_error, PetscReal tolerance, const char *context) |
| Requires every rank's maximum error to be within tolerance. | |
| static PetscErrorCode | TestEulerianPipelineDecompositionIndependent (void) |
| Exercises every Eulerian transformation currently dispatched by the pipeline. | |
| static PetscErrorCode | TestParticlePipelineMatchesSourceOwnership (void) |
| Verifies the production-created derived swarm mirrors source ownership. | |
| static PetscErrorCode | TestResizeSwarmGloballyBalanced (void) |
| Checks that global resizing produces one balanced global population. | |
| static PetscErrorCode | TestFieldStatisticsDerivedNodalMultiRank (void) |
| Exercises accumulator-to-derived-nodal field statistics across ownership boundaries. | |
| static PetscErrorCode | TestFieldStatisticsProfileMultiRank (void) |
| A wall-normal profile CSV holds each plane's pooled moments on any decomposition. | |
| static PetscErrorCode | TestFieldStatisticsPointVarianceProfile (void) |
A point_variance profile is the plane mean of each point's own variance. | |
| int | main (int argc, char **argv) |
| Runs the serial/MPI post-processing compute regression suite. | |
Variables | |
| static const PetscReal | kSentinel = -9876.5 |
Decomposition-independent regression tests for post-processing compute.
Definition in file test_post_compute_mpi.c.
|
static |
Analytic scalar field used to expose misplaced or missing grid points.
Definition at line 16 of file test_post_compute_mpi.c.
|
static |
Requires every rank's maximum error to be within tolerance.
Definition at line 22 of file test_post_compute_mpi.c.
|
static |
Exercises every Eulerian transformation currently dispatched by the pipeline.
Definition at line 35 of file test_post_compute_mpi.c.
|
static |
Verifies the production-created derived swarm mirrors source ownership.
Definition at line 181 of file test_post_compute_mpi.c.
|
static |
Checks that global resizing produces one balanced global population.
Definition at line 252 of file test_post_compute_mpi.c.
|
static |
Exercises accumulator-to-derived-nodal field statistics across ownership boundaries.
Definition at line 287 of file test_post_compute_mpi.c.
|
static |
A wall-normal profile CSV holds each plane's pooled moments on any decomposition.
One state of a field varying across every plane is merged over i and k. Each written row must carry the mean and RMS over that plane's points, computed here directly from the closed form, and the plane's mean cell-centre coordinate.
Definition at line 374 of file test_post_compute_mpi.c.
|
static |
A point_variance profile is the plane mean of each point's own variance.
Two states differ at each point by i + 1, so every point's variance is ((i + 1)/2)^2 while the point means also vary across the plane. The profile must carry the equal-weight mean of the point variances, without the spread of the point means that the pooled RMS includes, on any decomposition.
Definition at line 472 of file test_post_compute_mpi.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Runs the serial/MPI post-processing compute regression suite.
Definition at line 562 of file test_post_compute_mpi.c.
|
static |
Definition at line 13 of file test_post_compute_mpi.c.