PetscErrorCode CreateVar(const char *name, ktypeIp interpType, PetscReal minValue, PetscReal maxValue, PetscReal linRelax, PetscReal fdtRelax, PetscReal resRef, PetscReal corrRef, Ptr_Prop initValues, Ptr_Prop gamma, Ptr_Var *ret)
name | - Name of the variable. | |
interpType | - The type of interpolation to its value in the faces of the cells. Use ktypeIp values. | |
minvalue, maxvalue | - Minimum and maximum values of the variable. @param ivar The number (macro) of the defined variable. | |
linRelax, fdtRelax | - Relaxations of the variable. | |
resRef, corrRef | - Reference value of the variable residual and correction vector. | |
initialValues | - Property for the initial values of the variable. | |
gamma | - Property for the gamma values of the variable. |
Level:developer
Location:src/var.c
Index of all MICSc routines
Table of Contents for all manual pages
Index of all manual pages