DiscretizationEvaluateNonlinearOperatorGalerkin

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

Synopsis

#include "discretization.h" 
int DiscretizationEvaluateNonlinearOperatorGalerkin(Discretization disc, Mesh mesh, NonlinearOperator op, PetscScalar alpha, int elem,
                                                    int numArgs, PetscScalar **field, PetscScalar *vec, void *ctx)
Collective on Discretization

Input Parameters

disc - The discretization
mesh - The associated mesh
op - The function defining the nonlinear operator
alpha - A scalar multiplier
elem - The local element number
numArgs - THe number of input element vectors
field - The element vectors for the grid vectors acted upon
ctx - The user-supplied context

Output Parameter

vec -The global element vector for the given element

Keywords

discretization, operator, nonlinear, weak form

See Also

DiscretizationEvaluateFunctionGalerkin(), DiscretizationEvaluateOperatorGalerkin(), DiscretizationEvaluateNonlinearALEOperatorGalerkin()

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