#include "postprocessing_kernels.h"#include "statistics_accumulator.h"#include "statistics_window.h"#include "statistics_target.h"#include "particle_field_catalog.h"Go to the source code of this file.
Functions | |
| PetscErrorCode | DimensionalizeField (UserCtx *user, const char *field_name) |
| Implementation of DimensionalizeField(). | |
| PetscErrorCode | ComputeNodalAverage (UserCtx *user, const char *in_field_name, const char *out_field_name) |
| Implementation of ComputeNodalAverage(). | |
| PetscErrorCode | ComputeWindowStatisticNodal (UserCtx *user, const PicurvWindowDefinition *definition, const PicurvWindowStorage *storage, const char *outputs, PetscInt output_index, char *out_name, size_t name_size, Vec *out_vec, PetscInt *out_components) |
| Implementation of ComputeWindowStatisticNodal(). | |
| PetscErrorCode | ComputeWindowStatisticsProfile (UserCtx *user, const PicurvWindowDefinition *definition, const PicurvWindowStorage *storage, const char *outputs, const PetscBool average_direction[3], const char *output_prefix, PetscInt ti) |
| Implementation of ComputeWindowStatisticsProfile(). | |
| PetscErrorCode | ComputeWindowStatisticsSummary (UserCtx *user, PetscInt window_index, const char *output_prefix, PetscInt ti) |
| Implementation of ComputeWindowStatisticsSummary(). | |
| PetscErrorCode | ComputeQCriterion (UserCtx *user) |
| Implementation of ComputeQCriterion(). | |
| PetscErrorCode | NormalizeRelativeField (UserCtx *user, const char *relative_field_name) |
| Implementation of NormalizeRelativeField(). | |
| PetscErrorCode | ComputeSpecificKE (UserCtx *user, const char *velocity_field, const char *ske_field) |
| Implementation of ComputeSpecificKE(). | |
| PetscErrorCode | ComputeDisplacement (UserCtx *user, const char *disp_field) |
| Implementation of ComputeDisplacement(). | |
| PetscErrorCode DimensionalizeField | ( | UserCtx * | user, |
| const char * | field_name | ||
| ) |
Implementation of DimensionalizeField().
Scales a specified field from non-dimensional to dimensional units in-place.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 14 of file postprocessing_kernels.c.
| PetscErrorCode ComputeNodalAverage | ( | UserCtx * | user, |
| const char * | in_field_name, | ||
| const char * | out_field_name | ||
| ) |
Implementation of ComputeNodalAverage().
Interpolates a cell-centered field to nodal locations using local stencil averaging.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 96 of file postprocessing_kernels.c.
| PetscErrorCode ComputeWindowStatisticNodal | ( | UserCtx * | user, |
| const PicurvWindowDefinition * | definition, | ||
| const PicurvWindowStorage * | storage, | ||
| const char * | outputs, | ||
| PetscInt | output_index, | ||
| char * | out_name, | ||
| size_t | name_size, | ||
| Vec * | out_vec, | ||
| PetscInt * | out_components | ||
| ) |
Implementation of ComputeWindowStatisticNodal().
Derives one accumulated statistic and converts it to nodal values.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 207 of file postprocessing_kernels.c.
| PetscErrorCode ComputeWindowStatisticsProfile | ( | UserCtx * | user, |
| const PicurvWindowDefinition * | definition, | ||
| const PicurvWindowStorage * | storage, | ||
| const char * | outputs, | ||
| const PetscBool | average_direction[3], | ||
| const char * | output_prefix, | ||
| PetscInt | ti | ||
| ) |
Implementation of ComputeWindowStatisticsProfile().
Writes a window's statistics merged over homogeneous directions as a profile.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 260 of file postprocessing_kernels.c.
| PetscErrorCode ComputeWindowStatisticsSummary | ( | UserCtx * | user, |
| PetscInt | window_index, | ||
| const char * | output_prefix, | ||
| PetscInt | ti | ||
| ) |
Implementation of ComputeWindowStatisticsSummary().
Appends one convergence row for an accumulated window to its CSV history.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 394 of file postprocessing_kernels.c.
| PetscErrorCode ComputeQCriterion | ( | UserCtx * | user | ) |
Implementation of ComputeQCriterion().
Computes the Q-criterion diagnostic from the local velocity-gradient tensor.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 486 of file postprocessing_kernels.c.
| PetscErrorCode NormalizeRelativeField | ( | UserCtx * | user, |
| const char * | relative_field_name | ||
| ) |
Implementation of NormalizeRelativeField().
Normalizes pressure using the value at the configured logical grid point.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 633 of file postprocessing_kernels.c.
| PetscErrorCode ComputeSpecificKE | ( | UserCtx * | user, |
| const char * | velocity_field, | ||
| const char * | ske_field | ||
| ) |
Implementation of ComputeSpecificKE().
Computes the specific kinetic energy (KE per unit mass) for each particle.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 706 of file postprocessing_kernels.c.
| PetscErrorCode ComputeDisplacement | ( | UserCtx * | user, |
| const char * | disp_field | ||
| ) |
Implementation of ComputeDisplacement().
Computes the displacement magnitude |r_i - r_0| for each particle (per-particle VTK kernel).
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 748 of file postprocessing_kernels.c.