petsc-master 2014-09-19
Report Typos and Errors

DMPlexProjectField

This projects the given function of the fields into the function space provided.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexProjectField(DM dm, Vec U, void (**funcs)(const PetscScalar[], const PetscScalar[], const PetscScalar[], const PetscScalar[], const PetscScalar[], const PetscScalar[], const PetscReal [], PetscScalar []), InsertMode mode, Vec X)

Input Parameters

dm - The DM
U - The input field vector
funcs - The functions to evaluate, one per field
mode - The insertion mode for values

Output Parameter

X -The output vector

See Also

DMPlexProjectFunction(), DMPlexComputeL2Diff()

Level:developer
Location:
src/dm/impls/plex/plexfem.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages