|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
C unit tests for MPI collective helper routines. More...
#include "test_support.h"#include "ParticleMotion.h"#include "ParticleSwarm.h"#include "Boundaries.h"#include "grid.h"#include <stdlib.h>Go to the source code of this file.
Functions | |
| static void | MarkXPeriodic (UserCtx *user) |
| Marks both x boundary faces as geometric periodic boundaries. | |
| static PetscReal | PeriodicScalarValue (PetscInt i, PetscInt j, PetscInt k, PetscReal offset) |
| Returns a deterministic scalar value for periodic-transfer assertions. | |
| static PetscErrorCode | TestDistributeParticlesCollectiveConsistency (void) |
| Tests collective particle distribution consistency across MPI ranks. | |
| static PetscErrorCode | TestBoundingBoxCollectivesMultiRank (void) |
| Tests multi-rank bounding-box gather and broadcast helpers. | |
| static PetscErrorCode | TestPeriodicCellFieldSynchronizationMultiRank (void) |
| Tests distributed synchronization of persistent cell-centered scalar fields. | |
| static PetscErrorCode | TestPeriodicGeometryValidationMultiRank (void) |
| Tests periodic seam translation discovery when seam nodes are on different ranks. | |
| static PetscErrorCode | TestPeriodicFaceCenterCoordinatesMultiRank (void) |
| Tests translated face-center ghosts when the periodic axis is partitioned. | |
| static PetscErrorCode | TestPeriodicFaceFieldSynchronizationMultiRank (void) |
| Tests persistent I-face synchronization across an MPI-partitioned seam. | |
| static PetscErrorCode | TestPeriodicStaggeredFieldSynchronizationMultiRank (void) |
| Tests persistent Ucont synchronization across an MPI-partitioned seam. | |
| static PetscErrorCode | TestRestartCellIdMigrationMovesParticleToOwner (void) |
| Tests restart fast-path migration using preloaded cell ownership metadata. | |
| int | main (int argc, char **argv) |
| Runs the unit-mpi PETSc test binary. | |
C unit tests for MPI collective helper routines.
Definition in file test_mpi_kernels.c.
|
static |
Marks both x boundary faces as geometric periodic boundaries.
Definition at line 18 of file test_mpi_kernels.c.
|
static |
Returns a deterministic scalar value for periodic-transfer assertions.
Definition at line 31 of file test_mpi_kernels.c.
|
static |
Tests collective particle distribution consistency across MPI ranks.
Definition at line 39 of file test_mpi_kernels.c.
|
static |
Tests multi-rank bounding-box gather and broadcast helpers.
Definition at line 72 of file test_mpi_kernels.c.
|
static |
Tests distributed synchronization of persistent cell-centered scalar fields.
Definition at line 117 of file test_mpi_kernels.c.
|
static |
Tests periodic seam translation discovery when seam nodes are on different ranks.
Definition at line 214 of file test_mpi_kernels.c.
|
static |
Tests translated face-center ghosts when the periodic axis is partitioned.
Definition at line 245 of file test_mpi_kernels.c.
|
static |
Tests persistent I-face synchronization across an MPI-partitioned seam.
Definition at line 299 of file test_mpi_kernels.c.
|
static |
Tests persistent Ucont synchronization across an MPI-partitioned seam.
Definition at line 347 of file test_mpi_kernels.c.
|
static |
Tests restart fast-path migration using preloaded cell ownership metadata.
Definition at line 422 of file test_mpi_kernels.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Runs the unit-mpi PETSc test binary.
Definition at line 480 of file test_mpi_kernels.c.