PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
 
Loading...
Searching...
No Matches
Data Fields
BoundaryCondition Struct Reference

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.
 

Detailed Description

The "virtual table" struct for a boundary condition handler object.

Definition at line 389 of file variables.h.

Field Documentation

◆ type

BCHandlerType BoundaryCondition::type

Definition at line 390 of file variables.h.

◆ priority

BCPriorityType BoundaryCondition::priority

Definition at line 391 of file variables.h.

◆ data

void* BoundaryCondition::data

Definition at line 392 of file variables.h.

◆ Initialize

PetscErrorCode(* BoundaryCondition::Initialize) (BoundaryCondition *self, BCContext *ctx)

Definition at line 393 of file variables.h.

◆ PreStep

PetscErrorCode(* BoundaryCondition::PreStep) (BoundaryCondition *self, BCContext *ctx, PetscReal *local_inflow, PetscReal *local_outflow)

Definition at line 394 of file variables.h.

◆ Apply

PetscErrorCode(* BoundaryCondition::Apply) (BoundaryCondition *self, BCContext *ctx)

Definition at line 395 of file variables.h.

◆ PostStep

PetscErrorCode(* BoundaryCondition::PostStep) (BoundaryCondition *self, BCContext *ctx, PetscReal *local_inflow, PetscReal *local_outflow)

Definition at line 396 of file variables.h.

◆ UpdateUbcs

PetscErrorCode(* BoundaryCondition::UpdateUbcs) (BoundaryCondition *self, BCContext *ctx)

Definition at line 397 of file variables.h.

◆ Destroy

PetscErrorCode(* BoundaryCondition::Destroy) (BoundaryCondition *self)

Definition at line 398 of file variables.h.

◆ needs_repeat_pass

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.


The documentation for this struct was generated from the following file: