DiscretizationRegisterPrecomputedOperator

This function defines a new operator for which the integral can be precomputed . This requires knowledge of the discretization itself and the storage format, and thus is only useful for developers.

Synopsis

#include "discretization.h" 
int DiscretizationRegisterPrecomputedOperator(Discretization disc, PetscScalar *precompInt, int *newOp)
Collective on Discretization

Input Parameters

disc - The discretization
precompInt - The array of precomputed values

Output Parameter

newOp -The index of the new operator

Keywords

Discretization, operator, register

See Also

DiscretizationRegisterALEOperator(), GridAddMatOperator(), GridAddRhsOperator()

Level:developer
Location:
src/grid/discretization/interface/discretization.c
Index of all Discretization routines
Table of Contents for all manual pages
Index of all manual pages