AddBcondApplication

Adds a new application to the specified boundary condition. Memory for the calculations is allocated only in the processes where the patch over which the boundary condition applies overlays the local subdomain.

Synopsis

PetscErrorCode AddBcondApplication(Ptr_Bcond bcond, PetscInt ieq,
    PetscInt ivar, ktypeProp ktypeCoeffA, PetscReal ConsCoeffA,
    PetscErrorCode(*FunctCoeffA)(Ptr_Prop Prop), ktypeProp ktypeCoeffB,
    PetscReal ConsCoeffB, PetscErrorCode(*FunctCoeffB)(Ptr_Prop Prop))
Collective on St_Bcond

Input parameters

bcond - The boundary condition where the application will be added
ieq - The index of the equation for which the boundary condition is defined.
ivar - The index of the variable for which the boundary condition is defined.
ktypeCoeffA - The type of the coefficient C in the lineal source C(V-Phi).
ConsCoeffA - The value of the coefficient C in the lineal source C(V-Phi) if it is constant.
FunctCoeffA - Pointer to the function which evaluates the coefficient C in the lineal source C(V-Phi) if it is variable.
ktypeCoeffB - The type of the CV product in the lineal source C(V-Phi).
ConsCoeffB - The value of the CV product in the lineal source C(V-Phi) if it is constant.
FunctCoeffB - Pointer to the function which evaluates the CV product in the lineal source C(V-Phi) if it is variable.

Keywords

bcond, create, application

See Also

CreateBcond

Level:developer
Location:
src/bcond/bcond.c
Index of all MICSc routines
Table of Contents for all manual pages
Index of all manual pages