libMesh
|
Go to the source code of this file.
Classes | |
struct | DM_libMesh |
struct | DMVec_libMesh |
struct | token |
Functions | |
PetscErrorCode | DMlibMeshGetVec_Private (DM, const char *, Vec *) |
PetscErrorCode | DMlibMeshSetUpName_Private (DM dm) |
PetscErrorCode | DMlibMeshSetSystem_libMesh (DM dm, NonlinearImplicitSystem &sys) |
PetscErrorCode | DMlibMeshGetSystem_libMesh (DM dm, NonlinearImplicitSystem *&sys) |
PetscErrorCode | DMlibMeshGetBlocks (DM dm, PetscInt *n, char ***blocknames) |
PetscErrorCode | DMlibMeshGetVariables (DM dm, PetscInt *n, char ***varnames) |
static PetscErrorCode | DMCreateFieldDecomposition_libMesh (DM dm, PetscInt *len, char ***namelist, IS **islist, DM **dmlist) |
static PetscErrorCode | DMCreateDomainDecomposition_libMesh (DM dm, PetscInt *len, char ***namelist, IS **innerislist, IS **outerislist, DM **dmlist) |
PetscErrorCode | DMlibMeshCreateFieldDecompositionDM (DM dm, PetscInt dnumber, PetscInt *dsizes, char ***dvarlists, DM *ddm) |
PetscErrorCode | DMlibMeshCreateDomainDecompositionDM (DM dm, PetscInt dnumber, PetscInt *dsizes, char ***dblocklists, DM *ddm) |
static PetscErrorCode | DMlibMeshFunction (DM dm, Vec x, Vec r) |
static PetscErrorCode | SNESFunction_DMlibMesh (SNES, Vec x, Vec r, void *ctx) |
static PetscErrorCode | DMlibMeshJacobian (DM dm, Vec x, Mat jac, Mat pc) |
static PetscErrorCode | SNESJacobian_DMlibMesh (SNES, Vec x, Mat jac, Mat pc, void *ctx) |
static PetscErrorCode | DMVariableBounds_libMesh (DM dm, Vec xl, Vec xu) |
static PetscErrorCode | DMCreateGlobalVector_libMesh (DM dm, Vec *x) |
static PetscErrorCode | DMCreateMatrix_libMesh (DM dm, Mat *A) |
static PetscErrorCode | DMView_libMesh (DM dm, PetscViewer viewer) |
static PetscErrorCode | DMSetUp_libMesh (DM dm) |
static PetscErrorCode | DMDestroy_libMesh (DM dm) |
PetscErrorCode | DMCreate_libMesh (DM dm) |
PetscErrorCode DMCreate_libMesh | ( | DM | dm | ) |
Definition at line 944 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::blocknames, DM_libMesh::decomposition, DM_libMesh::decomposition_type, DMCreateDomainDecomposition_libMesh(), DMCreateFieldDecomposition_libMesh(), DMCreateGlobalVector_libMesh(), DMCreateMatrix_libMesh(), DMDestroy_libMesh(), DMlibMeshGetSystem_libMesh(), DMlibMeshSetSystem_libMesh(), DMSetUp_libMesh(), DMView_libMesh(), libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), DM_libMesh::varids, and DM_libMesh::varnames.
|
static |
Definition at line 378 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::blocknames, DM_libMesh::decomposition, DM_libMesh::decomposition_type, DMlibMeshSetUpName_Private(), libMesh::DofMap::dof_indices(), DM_libMesh::embedding, DM_libMesh::embedding_type, libMesh::DofMapBase::end_dof(), libMesh::DofMapBase::first_dof(), libMesh::System::get_dof_map(), libMesh::System::get_mesh(), libMesh::index_range(), libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), DM_libMesh::sys, DM_libMesh::varids, and DM_libMesh::varnames.
Referenced by DMCreate_libMesh().
|
static |
Definition at line 278 of file petscdmlibmeshimpl.C.
References libMesh::as_range(), DM_libMesh::blockids, DM_libMesh::blocknames, DM_libMesh::decomposition, DM_libMesh::decomposition_type, DMlibMeshSetUpName_Private(), libMesh::DofMap::dof_indices(), DM_libMesh::embedding, DM_libMesh::embedding_type, libMesh::DofMapBase::end_dof(), libMesh::DofMapBase::first_dof(), libMesh::System::get_dof_map(), libMesh::System::get_mesh(), libMesh::index_range(), libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), DM_libMesh::sys, DM_libMesh::varids, and DM_libMesh::varnames.
Referenced by DMCreate_libMesh().
|
static |
Definition at line 762 of file petscdmlibmeshimpl.C.
References DM_libMesh::embedding, libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), libMesh::System::solution, DM_libMesh::sys, and libMesh::PetscVector< T >::vec().
Referenced by DMCreate_libMesh().
|
static |
Definition at line 808 of file petscdmlibmeshimpl.C.
References libMesh::LibmeshPetscCallQ(), libMesh::ImplicitSystem::matrix, libMesh::PetscFunctionReturn(), and DM_libMesh::sys.
Referenced by DMCreate_libMesh().
|
static |
Definition at line 926 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::blocknames, DM_libMesh::decomposition, DM_libMesh::embedding, libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), DM_libMesh::varids, and DM_libMesh::varnames.
Referenced by DMCreate_libMesh().
PetscErrorCode DMlibMeshCreateDomainDecompositionDM | ( | DM | dm, |
PetscInt | dnumber, | ||
PetscInt * | dsizes, | ||
char *** | dblocklists, | ||
DM * | ddm | ||
) |
Definition at line 537 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::blocknames, DM_libMesh::decomposition, DM_libMesh::decomposition_type, DMlibMeshSetUpName_Private(), libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), DM_libMesh::sys, DM_libMesh::varids, and DM_libMesh::varnames.
PetscErrorCode DMlibMeshCreateFieldDecompositionDM | ( | DM | dm, |
PetscInt | dnumber, | ||
PetscInt * | dsizes, | ||
char *** | dvarlists, | ||
DM * | ddm | ||
) |
Definition at line 482 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::blocknames, DM_libMesh::decomposition, DM_libMesh::decomposition_type, DMlibMeshSetUpName_Private(), libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), DM_libMesh::sys, DM_libMesh::varids, and DM_libMesh::varnames.
|
static |
Definition at line 599 of file petscdmlibmeshimpl.C.
References libMesh::ParallelObject::comm(), libMesh::System::current_local_solution, DMlibMeshGetSystem(), libMesh::DofMap::enforce_constraints_exactly(), libMesh::System::get_dof_map(), libMesh::libmesh_assert(), libMesh::LibmeshPetscCallQ(), libMesh::NonlinearImplicitSystem::nonlinear_solver, libMesh::PetscFunctionReturn(), libMesh::ExplicitSystem::rhs, libMesh::System::solution, libMesh::PetscVector< T >::swap(), and libMesh::System::update().
Referenced by SNESFunction_DMlibMesh().
PetscErrorCode DMlibMeshGetBlocks | ( | DM | dm, |
PetscInt * | n, | ||
char *** | blocknames | ||
) |
Definition at line 168 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, libMesh::LibmeshPetscCallQ(), and libMesh::PetscFunctionReturn().
PetscErrorCode DMlibMeshGetSystem_libMesh | ( | DM | dm, |
NonlinearImplicitSystem *& | sys | ||
) |
Definition at line 153 of file petscdmlibmeshimpl.C.
References libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), and DM_libMesh::sys.
Referenced by DMCreate_libMesh().
PetscErrorCode DMlibMeshGetVariables | ( | DM | dm, |
PetscInt * | n, | ||
char *** | varnames | ||
) |
Definition at line 196 of file petscdmlibmeshimpl.C.
References libMesh::LibmeshPetscCallQ(), libMesh::PetscFunctionReturn(), and DM_libMesh::varids.
PetscErrorCode DMlibMeshGetVec_Private | ( | DM | , |
const char * | , | ||
Vec * | |||
) |
Definition at line 80 of file petscdmlibmeshimpl.C.
References libMesh::PetscFunctionReturn().
|
static |
Definition at line 665 of file petscdmlibmeshimpl.C.
References libMesh::SparseMatrix< T >::attach_dof_map(), libMesh::PetscMatrixBase< T >::close(), libMesh::ParallelObject::comm(), libMesh::System::current_local_solution, DMlibMeshGetSystem(), libMesh::DofMap::enforce_constraints_exactly(), libMesh::PetscMatrixBase< T >::get_context(), libMesh::System::get_dof_map(), libMesh::libmesh_assert(), libMesh::LibmeshPetscCallQ(), libMesh::ImplicitSystem::matrix, libMesh::NonlinearImplicitSystem::nonlinear_solver, libMesh::PetscFunctionReturn(), libMesh::System::solution, libMesh::PetscMatrixBase< T >::swap(), libMesh::System::update(), and libMesh::SparseMatrix< T >::zero().
Referenced by SNESJacobian_DMlibMesh().
PetscErrorCode DMlibMeshSetSystem_libMesh | ( | DM | dm, |
NonlinearImplicitSystem & | sys | ||
) |
Definition at line 93 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::blocknames, libMesh::ParallelObject::comm(), DMlibMeshSetUpName_Private(), libMesh::System::get_dof_map(), libMesh::System::get_mesh(), libMesh::LibmeshPetscCallQ(), libMesh::make_range(), mesh, libMesh::DofMap::n_variables(), libMesh::Variable::name(), libMesh::PetscFunctionReturn(), libMesh::Parallel::Communicator::set_union(), libMesh::MeshBase::subdomain_name(), DM_libMesh::sys, libMesh::DofMap::variable(), DM_libMesh::varids, and DM_libMesh::varnames.
Referenced by DMCreate_libMesh().
PetscErrorCode DMlibMeshSetUpName_Private | ( | DM | dm | ) |
Definition at line 224 of file petscdmlibmeshimpl.C.
References DM_libMesh::blocknames, DM_libMesh::decomposition, DM_libMesh::decomposition_type, DM_libMesh::embedding_type, libMesh::LibmeshPetscCallQ(), libMesh::Quality::name(), libMesh::System::name(), libMesh::PetscFunctionReturn(), DM_libMesh::sys, and DM_libMesh::varnames.
Referenced by DMCreateDomainDecomposition_libMesh(), DMCreateFieldDecomposition_libMesh(), DMlibMeshCreateDomainDecompositionDM(), DMlibMeshCreateFieldDecompositionDM(), and DMlibMeshSetSystem_libMesh().
|
static |
Definition at line 888 of file petscdmlibmeshimpl.C.
References DMVariableBounds_libMesh(), DM_libMesh::embedding, libMesh::LibmeshPetscCallQ(), libMesh::NonlinearImplicitSystem::nonlinear_solver, libMesh::PetscFunctionReturn(), SNESFunction_DMlibMesh(), SNESJacobian_DMlibMesh(), and DM_libMesh::sys.
Referenced by DMCreate_libMesh().
|
static |
Definition at line 737 of file petscdmlibmeshimpl.C.
References libMesh::ParallelObject::comm(), DMlibMeshGetSystem(), libMesh::LibmeshPetscCallQ(), libMesh::NonlinearImplicitSystem::nonlinear_solver, and libMesh::PetscFunctionReturn().
Referenced by DMSetUp_libMesh().
|
static |
Definition at line 830 of file petscdmlibmeshimpl.C.
References DM_libMesh::blockids, DM_libMesh::decomposition, DM_libMesh::decomposition_type, libMesh::index_range(), libMesh::LibmeshPetscCallQ(), libMesh::Quality::name(), libMesh::PetscFunctionReturn(), and DM_libMesh::varids.
Referenced by DMCreate_libMesh().
|
static |
Definition at line 654 of file petscdmlibmeshimpl.C.
References libMesh::ctx, DMlibMeshFunction(), libMesh::LibmeshPetscCallQ(), and libMesh::PetscFunctionReturn().
Referenced by DMSetUp_libMesh().
|
static |
Definition at line 727 of file petscdmlibmeshimpl.C.
References libMesh::ctx, DMlibMeshJacobian(), libMesh::LibmeshPetscCallQ(), and libMesh::PetscFunctionReturn().
Referenced by DMSetUp_libMesh().