|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Focused multirank regression for particle VTK output. More...
#include "test_support.h"#include "postprocessor.h"#include <stdint.h>#include <stdio.h>#include <string.h>Go to the source code of this file.
Enumerations | |
| enum | { TEST_PARTICLES = 7 , TEST_OUTPUT_PARTICLES = 4 } |
Functions | |
| static PetscBool | ScalarMatches (PetscScalar actual, PetscReal expected) |
| Compare one scalar from the raw VTK payload with its deterministic truth. | |
| static PetscBool | ReadBlock (FILE *file, void *data, size_t count, size_t element_size) |
| Read one length-prefixed raw appended-data block. | |
| static PetscBool | ValidateParticleVTKFile (const char *path) |
| Read and exhaustively validate every appended value in a generated VTP file. | |
| static PetscErrorCode | FillParticleFields (UserCtx *user, PetscInt nlocal, PetscInt global_offset) |
| Fill each local swarm entry from its rank-ordered global particle index. | |
| static PetscErrorCode | TestWriteParticleFileCollectiveMultiRank (void) |
| Ensures particle fields are collectively gathered and written without corruption. | |
| int | main (int argc, char **argv) |
| Runs the focused serial/MPI particle VTK regression. | |
Focused multirank regression for particle VTK output.
Definition in file test_post_particle_vtk_mpi.c.
| anonymous enum |
| Enumerator | |
|---|---|
| TEST_PARTICLES | |
| TEST_OUTPUT_PARTICLES | |
Definition at line 14 of file test_post_particle_vtk_mpi.c.
|
static |
Compare one scalar from the raw VTK payload with its deterministic truth.
Definition at line 20 of file test_post_particle_vtk_mpi.c.
|
static |
Read one length-prefixed raw appended-data block.
Definition at line 26 of file test_post_particle_vtk_mpi.c.
|
static |
Read and exhaustively validate every appended value in a generated VTP file.
Definition at line 39 of file test_post_particle_vtk_mpi.c.
|
static |
Fill each local swarm entry from its rank-ordered global particle index.
Definition at line 115 of file test_post_particle_vtk_mpi.c.
|
static |
Ensures particle fields are collectively gathered and written without corruption.
Definition at line 166 of file test_post_particle_vtk_mpi.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Runs the focused serial/MPI particle VTK regression.
Definition at line 227 of file test_post_particle_vtk_mpi.c.