Go to the source code of this file.
Functions | |
PETSC_EXTERN PetscErrorCode | DMlibMeshSetSystem (DM, libMesh::NonlinearImplicitSystem &) |
PETSC_EXTERN PetscErrorCode | DMlibMeshGetSystem (DM, libMesh::NonlinearImplicitSystem *&) |
EXTERN_C_BEGIN PETSC_EXTERN PetscErrorCode | DMCreate_libMesh (DM) |
EXTERN_C_BEGIN PETSC_EXTERN PetscErrorCode DMCreate_libMesh | ( | DM | ) |
Definition at line 1164 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::blocknames, CHKERRQ(), DM_libMesh::decomposition, DM_libMesh::decomposition_type, dlm, DMCreateDomainDecomposition_libMesh(), DMCreateDomainDecompositionDM_libMesh(), DMCreateFieldDecomposition_libMesh(), DMCreateFieldDecompositionDM_libMesh(), DMCreateGlobalVector_libMesh(), DMCreateMatrix_libMesh(), DMDestroy_libMesh(), DMlibMeshGetSystem_libMesh(), DMlibMeshSetSystem_libMesh(), DMSetUp_libMesh(), DMView_libMesh(), ierr, PetscFunctionReturn(), DM_libMesh::varids, and DM_libMesh::varnames.
Referenced by libMesh::LibMeshInit::LibMeshInit().
PETSC_EXTERN PetscErrorCode DMlibMeshGetSystem | ( | DM | , |
libMesh::NonlinearImplicitSystem *& | |||
) |
Definition at line 53 of file petscdmlibmesh.C.
References CHKERRQ(), ierr, and PetscFunctionReturn().
Referenced by DMlibMeshFunction(), DMlibMeshJacobian(), and DMVariableBounds_libMesh().
PETSC_EXTERN 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().