|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Go to the source code of this file.
Macros | |
| #define | ERROR_MSG_BUFFER_SIZE 256 |
| #define | __FUNCT__ "UpdateParticleField" |
| #define | __FUNCT__ "UpdateFieldForAllParticles" |
| #define | __FUNCT__ "UpdateAllParticleFields" |
Functions | |
| PetscErrorCode | UpdateParticleField (const char *fieldName, PetscReal dt, PetscReal *psi_io, PetscReal diffusivity, PetscReal mean_val, PetscReal cell_vol, PetscReal C_model) |
Internal helper implementation: UpdateParticleField(). | |
| PetscErrorCode | UpdateFieldForAllParticles (UserCtx *user, const char *fieldName) |
Internal helper implementation: UpdateFieldForAllParticles(). | |
| PetscErrorCode | UpdateAllParticleFields (UserCtx *user) |
| Implementation of UpdateAllParticleFields(). | |
| #define ERROR_MSG_BUFFER_SIZE 256 |
Definition at line 5 of file ParticlePhysics.c.
| #define __FUNCT__ "UpdateParticleField" |
Definition at line 9 of file ParticlePhysics.c.
| #define __FUNCT__ "UpdateFieldForAllParticles" |
Definition at line 9 of file ParticlePhysics.c.
| #define __FUNCT__ "UpdateAllParticleFields" |
Definition at line 9 of file ParticlePhysics.c.
| PetscErrorCode UpdateParticleField | ( | const char * | fieldName, |
| PetscReal | dt, | ||
| PetscReal * | psi_io, | ||
| PetscReal | diffusivity, | ||
| PetscReal | mean_val, | ||
| PetscReal | cell_vol, | ||
| PetscReal | C_model | ||
| ) |
Internal helper implementation: UpdateParticleField().
Updates a single particle's field based on its state and physics model.
Local to this translation unit.
Definition at line 14 of file ParticlePhysics.c.
| PetscErrorCode UpdateFieldForAllParticles | ( | UserCtx * | user, |
| const char * | fieldName | ||
| ) |
Internal helper implementation: UpdateFieldForAllParticles().
Loops over all local particles and updates a specified field.
Local to this translation unit.
Definition at line 44 of file ParticlePhysics.c.
| PetscErrorCode UpdateAllParticleFields | ( | UserCtx * | user | ) |
Implementation of UpdateAllParticleFields().
Orchestrates the update of all physical properties for particles.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/ParticlePhysics.h.
Definition at line 132 of file ParticlePhysics.c.