MICScSetProp

Sets the attributes of the given property.

Synopsis

PetscErrorCode MICScSetProp(Ptr_Prop prop, Ptr_Patch patch, ktypeProp ktype,
    StorageType storage, PetscReal cons, PetscErrorCode(*funct)(Ptr_Prop prop),
    ktypeIp kip, PetscReal linrlx, PetscTruth calcMeans)

Input parameters

prop - Property to set.
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.

Keywords

property, set

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