MICScVarSetInitValues

Sets the initialValues property of the specified variable.

Synopsis

PetscErrorCode MICScVarSetInitValues(int index, ktypeProp initValuesType,
    StorageType storage, ktypeIp initValuesInterpType, PetscReal
    initValuesConst, PetscErrorCode(*initValuesFunct)(Ptr_Prop prop))

Input parameters

index - Index of the variable to set.
initValuesType - Type of property for the initValues property. Use ktypeProp values.
initValuesInterpType - Interpolation type for the value of the initValues property in the cell faces. Use ktypeIp values.
initValuesCons - Value of the initValues property (if constant).
initValuesFunct - Pointer to the function which evaluates the initValues property (if variable).

Keywords

variable, initial values

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