12 #include "libmesh/petsc_macro.h" 16 #define DMMOOSE "moose" 45 const std::string & dm_name,
57 DMMooseGetContacts(DM, std::vector<std::pair<std::string, std::string>> &, std::vector<bool> &);
59 DMMooseGetUnContacts(DM, std::vector<std::pair<std::string, std::string>> &, std::vector<bool> &);
60 extern PetscErrorCode
DMMooseSetBlocks(DM,
const std::vector<std::string> &);
62 extern PetscErrorCode
DMMooseSetSides(DM,
const std::set<std::string> &);
65 const std::vector<std::pair<std::string, std::string>> &,
66 const std::vector<bool> &);
68 const std::vector<std::pair<std::string, std::string>> &,
69 const std::vector<bool> &);
72 extern PetscErrorCode
DMMooseSetSplitVars(DM,
const std::string &,
const std::set<std::string> &);
73 extern PetscErrorCode
DMMooseGetSplitVars(DM,
const std::string &, std::set<std::string> &);
76 extern PetscErrorCode
DMMooseSetSplitSides(DM,
const std::string &,
const std::set<std::string> &);
PetscErrorCode DMMooseSetBlocks(DM, const std::vector< std::string > &)
PetscErrorCode DMMooseSetUnSides(DM, const std::set< std::string > &)
PetscErrorCode DMMooseGetSplitSides(DM, const std::string &, std::set< std::string > &)
PetscErrorCode DMMooseGetNonlinearSystem(DM, NonlinearSystemBase *&)
PetscErrorCode PetscOptionItems *PetscErrorCode DM dm
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
PetscErrorCode DMMooseSetSplitVars(DM, const std::string &, const std::set< std::string > &)
PetscErrorCode DMMooseSetSplitSides(DM, const std::string &, const std::set< std::string > &)
Nonlinear system to be solved.
PetscErrorCode DMMooseSetSides(DM, const std::set< std::string > &)
PetscErrorCode DMCreateMoose(MPI_Comm comm, NonlinearSystemBase &nl, const libMesh::DofMapBase &dof_map, const libMesh::System &system, const std::string &dm_name, DM *dm)
Create a MOOSE DM.
PetscErrorCode DMMooseGetSplitBlocks(DM, const std::string &, std::set< std::string > &)
PetscErrorCode DMMooseSetVariables(DM, const std::vector< std::string > &)
PetscErrorCode DMMooseGetSplitVars(DM, const std::string &, std::set< std::string > &)
PetscErrorCode SNESUpdateDMMoose(SNES snes, PetscInt iteration)
PetscErrorCode DMMooseSetSplitBlocks(DM, const std::string &, const std::set< std::string > &)
PetscErrorCode DMMooseSetSplitNames(DM, const std::vector< std::string > &)
PetscErrorCode DMMooseGetUnContacts(DM, std::vector< std::pair< std::string, std::string >> &, std::vector< bool > &)
PetscErrorCode DMMooseGetUnSides(DM, std::set< std::string > &)
PetscErrorCode DMMooseReset(DM)
PetscErrorCode DMMooseGetContacts(DM, std::vector< std::pair< std::string, std::string >> &, std::vector< bool > &)
PetscErrorCode DMMooseGetSides(DM, std::set< std::string > &)
PetscErrorCode DMMooseGetSplitNames(DM, const std::vector< std::string > &)
PetscErrorCode DMMooseSetNonlinearSystem(DM, NonlinearSystemBase &)
PetscErrorCode DMMooseGetVariables(DM, std::vector< std::string > &)
PetscErrorCode DMMooseSetUnContacts(DM, const std::vector< std::pair< std::string, std::string >> &, const std::vector< bool > &)
PetscErrorCode DMMooseRegisterAll()
PetscErrorCode DMMooseSetContacts(DM, const std::vector< std::pair< std::string, std::string >> &, const std::vector< bool > &)
PetscErrorCode DMMooseGetBlocks(DM, std::vector< std::string > &)
PetscErrorCode DMMooseSetDofMap(DM, const libMesh::DofMapBase &)