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

PetscFECreateDefault

Create a PetscFE for basic FEM computation

Synopsis

#include "petscfe.h" 
PetscErrorCode PetscFECreateDefault(DM dm, PetscInt dim, PetscInt Nc, PetscBool isSimplex, const char prefix[], PetscInt qorder, PetscFE *fem)
Collective on DM

Input Parameters

dm - The underlying DM for the domain
dim - The spatial dimension
Nc - The number of components
isSimplex - Flag for simplex reference cell, otherwise its a tensor product
prefix - The options prefix, or NULL
qorder - The quadrature order

Output Parameter

fem -The PetscFE object

Keywords

PetscFE, finite element

See Also

PetscFECreate(), PetscSpaceCreate(), PetscDualSpaceCreate()

Level:beginner
Location:
src/dm/dt/interface/dtfe.c
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex56.c.html
src/snes/examples/tutorials/ex62.c.html
src/snes/examples/tutorials/ex77.c.html