libMesh
Namespaces | Functions | Variables
petsc_dm_wrapper.C File Reference

Go to the source code of this file.

Namespaces

 libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 

Functions

PetscErrorCode libMesh::libmesh_petsc_DMCreateSubDM (DM dm, PetscInt numFields, PetscInt fields[], IS *is, DM *subdm) PetscErrorCode libmesh_petsc_DMCreateSubDM(DM dm
 Help PETSc create a subDM given a global dm when using fieldsplit. More...
 
 libMesh::LibmeshPetscCallQ (DMShellGetContext(dm, &ctx))
 
 libMesh::libmesh_assert (ctx)
 
 libMesh::if (subdm)
 
 libMesh::PetscFunctionReturn (LIBMESH_PETSC_SUCCESS)
 
PetscErrorCode libMesh::libmesh_petsc_DMRefine (DM dmc, MPI_Comm, DM *dmf)
 Help PETSc identify the finer DM given a dmc. More...
 
PetscErrorCode libMesh::libmesh_petsc_DMCoarsen (DM dmf, MPI_Comm, DM *dmc)
 Help PETSc identify the coarser DM dmc given the fine DM dmf. More...
 
PetscErrorCode libMesh::libmesh_petsc_DMCreateInterpolation (DM dmc, DM dmf, Mat *mat, Vec *vec)
 Function to give PETSc that sets the Interpolation Matrix between two DMs. More...
 
PetscErrorCode libMesh::libmesh_petsc_DMCreateRestriction (DM dmc, DM dmf, Mat *mat)
 Function to give PETSc that sets the Restriction Matrix between two DMs. More...
 

Variables

PetscErrorCode PetscInt libMesh::numFields
 
PetscErrorCode PetscInt const PetscInt libMesh::fields []
 
PetscErrorCode PetscInt const PetscInt IS * libMesh::is
 
PetscErrorCode PetscInt const PetscInt IS DM * libMesh::subdm
 
void * libMesh::ctx = nullptr
 
PetscDMContext * libMesh::p_ctx = static_cast<PetscDMContext * >(ctx)