PetscErrorCode SetProp(Ptr_Prop prop, Ptr_Patch patch, ktypeProp ktype, StorageType storage, PetscReal value, PetscErrorCode(*funct)(Ptr_Prop prop), ktypeIp kip, PetscReal linrlx, PetscTruth calcMeans)
patch | - Pointer to the patch where the property is defined. This patch has to be created with CreatePatch. | |
ktype | - Type of property. Use ktypeProp values. | |
cons | - Value of the property (if constant). | |
funct | - Pointer to the function which evaluates the property (if variable) | |
ndof | - Degrees of freedom (i.e. number of values stored in each cell). | |
kip | - Interpolation type for the value in the cell faces. Use ktypeIp values. | |
linrlx | - Linear relaxation of the property. | |
calcMeans | - Flag to determine if instant and variance means must be calculated for the property values. |
Level:developer
Location:src/prop.c
Index of all MICSc routines
Table of Contents for all manual pages
Index of all manual pages