|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Phase 2 implementation of the post-processing tool. More...
#include "postprocessor.h"Go to the source code of this file.
Macros | |
| #define | __FUNCT__ "SetupPostProcessSwarm" |
| #define | __FUNCT__ "EulerianDataProcessingPipeline" |
| #define | __FUNCT__ "WriteEulerianFile" |
| #define | __FUNCT__ "ParticleDataProcessingPipeline" |
| #define | __FUNCT__ "GlobalStatisticsPipeline" |
| #define | __FUNCT__ "WriteParticleFile" |
| #define | __FUNCT__ "main" |
Functions | |
| PetscErrorCode | SetupPostProcessSwarm (UserCtx *user, PostProcessParams *pps) |
Internal helper implementation: SetupPostProcessSwarm(). | |
| PetscErrorCode | EulerianDataProcessingPipeline (UserCtx *user, PostProcessParams *pps) |
| Implementation of EulerianDataProcessingPipeline(). | |
| PetscErrorCode | WriteEulerianFile (UserCtx *user, PostProcessParams *pps, PetscInt ti) |
| Implementation of WriteEulerianFile(). | |
| PetscErrorCode | ParticleDataProcessingPipeline (UserCtx *user, PostProcessParams *pps) |
| Implementation of ParticleDataProcessingPipeline(). | |
| PetscErrorCode | GlobalStatisticsPipeline (UserCtx *user, PostProcessParams *pps, PetscInt ti) |
Internal helper implementation: GlobalStatisticsPipeline(). | |
| PetscErrorCode | WriteParticleFile (UserCtx *user, PostProcessParams *pps, PetscInt ti) |
| Implementation of WriteParticleFile(). | |
| int | main (int argc, char **argv) |
| Entry point for the postprocessor executable. | |
Phase 2 implementation of the post-processing tool.
This phase introduces a dedicated configuration system and performs a single-step data load to verify the I/O and data structures.
Definition in file postprocessor.c.
| #define __FUNCT__ "SetupPostProcessSwarm" |
Definition at line 13 of file postprocessor.c.
| #define __FUNCT__ "EulerianDataProcessingPipeline" |
Definition at line 13 of file postprocessor.c.
| #define __FUNCT__ "WriteEulerianFile" |
Definition at line 13 of file postprocessor.c.
| #define __FUNCT__ "ParticleDataProcessingPipeline" |
Definition at line 13 of file postprocessor.c.
| #define __FUNCT__ "GlobalStatisticsPipeline" |
Definition at line 13 of file postprocessor.c.
| #define __FUNCT__ "WriteParticleFile" |
Definition at line 13 of file postprocessor.c.
| #define __FUNCT__ "main" |
Definition at line 13 of file postprocessor.c.
| PetscErrorCode SetupPostProcessSwarm | ( | UserCtx * | user, |
| PostProcessParams * | pps | ||
| ) |
Internal helper implementation: SetupPostProcessSwarm().
Creates a new, dedicated DMSwarm for post-processing tasks.
Local to this translation unit.
Definition at line 18 of file postprocessor.c.
| PetscErrorCode EulerianDataProcessingPipeline | ( | UserCtx * | user, |
| PostProcessParams * | pps | ||
| ) |
Implementation of EulerianDataProcessingPipeline().
Parses the processing pipeline string and executes the requested kernels.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessor.h.
Definition at line 104 of file postprocessor.c.
| PetscErrorCode WriteEulerianFile | ( | UserCtx * | user, |
| PostProcessParams * | pps, | ||
| PetscInt | ti | ||
| ) |
Implementation of WriteEulerianFile().
Orchestrates the writing of a combined, multi-field VTK file for a single time step.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessor.h.
Definition at line 192 of file postprocessor.c.
| PetscErrorCode ParticleDataProcessingPipeline | ( | UserCtx * | user, |
| PostProcessParams * | pps | ||
| ) |
Implementation of ParticleDataProcessingPipeline().
Parses and executes the particle pipeline using a robust two-pass approach.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessor.h.
Definition at line 486 of file postprocessor.c.
| PetscErrorCode GlobalStatisticsPipeline | ( | UserCtx * | user, |
| PostProcessParams * | pps, | ||
| PetscInt | ti | ||
| ) |
Internal helper implementation: GlobalStatisticsPipeline().
Executes the global statistics pipeline, computing aggregate reductions over all particles.
Local to this translation unit.
Definition at line 557 of file postprocessor.c.
| PetscErrorCode WriteParticleFile | ( | UserCtx * | user, |
| PostProcessParams * | pps, | ||
| PetscInt | ti | ||
| ) |
Implementation of WriteParticleFile().
Writes particle data to a VTP file using the Prepare-Write-Cleanup pattern.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessor.h.
Definition at line 606 of file postprocessor.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Entry point for the postprocessor executable.
Initializes PETSc, loads post-processing inputs, executes the requested pipelines, and finalizes runtime resources before exit.
Definition at line 667 of file postprocessor.c.