petsc-3.8.4 2018-03-24
Report Typos and Errors


Set whether a function space is a space of tensor polynomials (the space is spanned by polynomials whose degree in each variabl is bounded by the given order), as opposed to polynomials (the space is spanned by polynomials whose total degree---summing over all variables---is bounded by the given order).


#include "petscfe.h" 
PetscErrorCode PetscSpacePolynomialSetTensor(PetscSpace sp, PetscBool tensor)

Input Parameters

sp - the function space object
tensor - PETSC_TRUE for a tensor polynomial space, PETSC_FALSE for a polynomial space

See Also

PetscSpacePolynomialGetTensor(), PetscSpaceSetOrder(), PetscSpacePolynomialSetNumVariables()

Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages