The "virtual table" struct for a boundary condition handler object. More...
#include <variables.h>
Data Fields | |
| BCHandlerType | type |
| BCPriorityType | priority |
| void * | data |
| PetscErrorCode(* | Initialize )(BoundaryCondition *self, BCContext *ctx) |
| PetscErrorCode(* | PreStep )(BoundaryCondition *self, BCContext *ctx, PetscReal *local_inflow, PetscReal *local_outflow) |
| PetscErrorCode(* | Apply )(BoundaryCondition *self, BCContext *ctx) |
| PetscErrorCode(* | PostStep )(BoundaryCondition *self, BCContext *ctx, PetscReal *local_inflow, PetscReal *local_outflow) |
| PetscErrorCode(* | UpdateUbcs )(BoundaryCondition *self, BCContext *ctx) |
| PetscErrorCode(* | Destroy )(BoundaryCondition *self) |
| PetscBool | needs_repeat_pass |
| Apply() reads state its own boundary pass changes after it runs (the interior Ucat that Contra2Cart refreshes, or an accumulating flux trim), so a second pass can change the result. | |
The "virtual table" struct for a boundary condition handler object.
Definition at line 389 of file variables.h.
| BCHandlerType BoundaryCondition::type |
Definition at line 390 of file variables.h.
| BCPriorityType BoundaryCondition::priority |
Definition at line 391 of file variables.h.
| void* BoundaryCondition::data |
Definition at line 392 of file variables.h.
| PetscErrorCode(* BoundaryCondition::Initialize) (BoundaryCondition *self, BCContext *ctx) |
Definition at line 393 of file variables.h.
| PetscErrorCode(* BoundaryCondition::PreStep) (BoundaryCondition *self, BCContext *ctx, PetscReal *local_inflow, PetscReal *local_outflow) |
Definition at line 394 of file variables.h.
| PetscErrorCode(* BoundaryCondition::Apply) (BoundaryCondition *self, BCContext *ctx) |
Definition at line 395 of file variables.h.
| PetscErrorCode(* BoundaryCondition::PostStep) (BoundaryCondition *self, BCContext *ctx, PetscReal *local_inflow, PetscReal *local_outflow) |
Definition at line 396 of file variables.h.
| PetscErrorCode(* BoundaryCondition::UpdateUbcs) (BoundaryCondition *self, BCContext *ctx) |
Definition at line 397 of file variables.h.
| PetscErrorCode(* BoundaryCondition::Destroy) (BoundaryCondition *self) |
Definition at line 398 of file variables.h.
| PetscBool BoundaryCondition::needs_repeat_pass |
Apply() reads state its own boundary pass changes after it runs (the interior Ucat that Contra2Cart refreshes, or an accumulating flux trim), so a second pass can change the result.
ApplyBoundaryConditions() repeats its pass only when some face sets this.
Definition at line 402 of file variables.h.