2081{
2083
2085 PetscValidHeaderSpecific(
dm, DM_CLASSID, 1);
2086#if PETSC_RELEASE_LESS_THAN(3, 18, 0)
2088#else
2090#endif
2092
2093 dmm->
_name =
new (std::string);
2094 dmm->
_var_ids =
new (std::map<std::string, unsigned int>);
2095 dmm->
_block_ids =
new (std::map<std::string, subdomain_id_type>);
2096 dmm->
_var_names =
new (std::map<unsigned int, std::string>);
2097 dmm->
_block_names =
new (std::map<unsigned int, std::string>);
2098 dmm->
_side_ids =
new (std::map<std::string, BoundaryID>);
2099 dmm->
_side_names =
new (std::map<BoundaryID, std::string>);
2100 dmm->
_unside_ids =
new (std::map<std::string, BoundaryID>);
2101 dmm->
_unside_names =
new (std::map<BoundaryID, std::string>);
2103 dmm->
_contact_names =
new (std::map<DM_Moose::ContactID, DM_Moose::ContactName>);
2104 dmm->
_uncontact_names =
new (std::map<DM_Moose::ContactID, DM_Moose::ContactName>);
2107
2108 dmm->
_splits =
new (std::map<std::string, DM_Moose::SplitInfo>);
2109
2111
2113 dm->ops->createlocalvector = 0;
2114 dm->ops->getcoloring = 0;
2116 dm->ops->createinterpolation = 0;
2117
2118 dm->ops->refine = 0;
2119 dm->ops->coarsen = 0;
2120#if PETSC_RELEASE_LESS_THAN(3, 12, 0)
2121 dm->ops->getinjection = 0;
2122 dm->ops->getaggregates = 0;
2123#else
2124 dm->ops->createinjection = 0;
2125#endif
2126
2129
2135}
PetscErrorCode PetscOptionItems *PetscErrorCode DM dm
static PetscErrorCode DMCreateGlobalVector_Moose(DM dm, Vec *x)
static PetscErrorCode DMCreateDomainDecomposition_Moose(DM dm, PetscInt *len, char ***namelist, IS **innerislist, IS **outerislist, DM **dmlist)
static PetscErrorCode DMView_Moose(DM dm, PetscViewer viewer)
static PetscErrorCode DMDestroy_Moose(DM dm)
static PetscErrorCode DMSetUp_Moose(DM dm)
static PetscErrorCode DMCreateMatrix_Moose(DM dm, Mat *A)
static PetscErrorCode DMCreateFieldDecomposition_Moose(DM dm, PetscInt *len, char ***namelist, IS **islist, DM **dmlist)
PetscErrorCode DMSetFromOptions_Moose(DM dm, PetscOptionItems) PetscErrorCode DMSetFromOptions_Moose(DM dm
PetscFunctionReturn(LIBMESH_PETSC_SUCCESS)
LibmeshPetscCallQ(DMShellGetContext(dm, &ctx))
std::string * _name
The name of this DM.
std::map< BoundaryID, std::string > * _side_names
std::map< std::string, BoundaryID > * _side_ids
std::map< std::string, BoundaryID > * _unside_ids
std::map< unsigned int, std::string > * _var_names
std::map< BoundaryID, std::string > * _unside_names
PetscBool _print_embedding
std::map< ContactID, ContactName > * _uncontact_names
std::set< std::pair< BoundaryID, unsigned int > > * _unside_by_var_set
std::map< std::string, SplitInfo > * _splits
std::map< std::string, subdomain_id_type > * _block_ids
std::map< unsigned int, std::string > * _block_names
std::map< ContactName, PetscBool > * _uncontact_displaced
std::map< std::string, unsigned int > * _var_ids
std::map< ContactName, PetscBool > * _contact_displaced
std::map< ContactID, ContactName > * _contact_names