Go to the source code of this file.
Functions | |
PetscErrorCode | DMlibMeshSetSystem (DM dm, libMesh::NonlinearImplicitSystem &sys) |
PetscErrorCode | DMlibMeshGetSystem (DM dm, libMesh::NonlinearImplicitSystem *&sys) |
PetscErrorCode DMlibMeshGetSystem | ( | DM | dm, |
libMesh::NonlinearImplicitSystem *& | sys | ||
) |
Definition at line 53 of file petscdmlibmesh.C.
References CHKERRQ(), ierr, and PetscFunctionReturn().
Referenced by DMlibMeshFunction(), DMlibMeshJacobian(), and DMVariableBounds_libMesh().
PetscErrorCode DMlibMeshSetSystem | ( | DM | , |
libMesh::NonlinearImplicitSystem & | |||
) |
Any functional implementation of the DMlibMesh API must compose the following functions with the DM object. (See PETSc documentation on PetscObjectComposeFunction(), a polymorphism mechanism.) The following functions are called in PetscNonlinear Solver (others can be called by users): DMlibMeshSetSystem(), DMlibMeshGetSystem()
Any implementation needs to register its creation routine, DMCreate_libMesh, with PETSc using DMRegister().
Definition at line 34 of file petscdmlibmesh.C.
References CHKERRQ(), ierr, and PetscFunctionReturn().
Referenced by libMesh::PetscNonlinearSolver< Number >::init().