DiscretizationEvaluateOperatorGalerkinMF

This function calculates the weak form of the action of an operator over a single element.

Synopsis

#include "discretization.h" 
int DiscretizationEvaluateOperatorGalerkinMF(Discretization disc, Mesh mesh, int elemSize, int rowStart, int colStart, int op,
                                             PetscScalar alpha, int elem, PetscScalar *field, PetscScalar *app, PetscScalar *vec, PetscScalar *mat, void *ctx)
Collective on Discretization

Input Parameters

disc - The discretization
mesh - The associated mesh
elemSize - The size of the element matrix
rowStart - The starting row index in the element matrix
colStart - The starting column index in the element matrix
op - The operator index (of registered operators)
alpha - The scalar multiple of the operator
elem - The local element number
field - The element vector for the grid vector acted upon
app - The element vector to which to apply the matrix, usually identical to field
mat - A temporary element matrix for work space
ctx - The user-supplied context

Output Parameter

vec -The element vector for the given element

Keywords

discretization, operator, MF, weak form

See Also

DiscretizationEvaluateOperatorGalerkin()

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