petsc-3.9.4 2018-09-11
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

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
src/ts/examples/tutorials/ex48.c.html

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