MICScVarSetFunctions

Sets the initialValues and gamma properties of the specified variable.

Synopsis

PetscErrorCode MICScVarSetFunctions(int index, ktypeProp initValuesType,
    StorageType initStorage, ktypeIp initValuesInterpType, PetscReal
    initValuesConst, PetscErrorCode(*initValuesFunct)(Ptr_Prop prop),
    ktypeProp gammaType, StorageType gammaStorage, ktypeIp gammaInterpType,
    PetscReal gammaConst, PetscErrorCode(*gammaFunct)(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).
gammaType - Type of property for the gamma property. Use ktypeProp values.
gammaInterpType - Interpolation type for the value of the gamma property in the cell faces. Use ktypeIp values.
gammaCons - Value of the gamma property (if constant).
gammaFunct - Pointer to the function which evaluates the gamma property (if variable).

Keywords

variable, gamma, 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