GMatEvaluateBoundaryOperatorGalerkin
Evaluates the weak form of an operator over a field on the locations defined by the boundary of the underlying grid and its discretization. The test function are defined on the entire grid, but the only nonzeros come from functions with support on the boundary.
Synopsis
#include "gvec.h"
int GMatEvaluateBoundaryOperatorGalerkin(GMat M, int numFields, int *sFields, VarOrdering sOrder, LocalVarOrdering sLocOrder,
int *tFields, VarOrdering tOrder, LocalVarOrdering tLocOrder, int op, PetscScalar alpha,
MatAssemblyType type, void *ctx)
Input Parameter
M -The grid matrix
numFields -The number of fields in sFields and tFields
sFields -The shape function fields
sOrder -The global variable ordering for the shape functions
sLocOrder -The local variable ordering for the shape functions
tFields -The test function fields
tOrder -The global variable ordering for the test functions
tLocOrder -The local variable ordering for the test functions
op -The operator
alpha -A scalar multiple for the operator
type -The matrix assembly type
ctx -An optional user provided context for the function
See Also
GMatEvaluateOperatorGalerkin, GMatEvaluateSystemMatrix
Level:intermediate
Location:src/gvec/interface/gmat.c
Index of all GVec routines
Table of Contents for all manual pages
Index of all manual pages