Lines Matching refs:localSection

76   v->localSection              = NULL;  in DMCreate()
738 PetscCall(PetscSectionDestroy(&(*dm)->localSection)); in DMDestroy()
4356 if (!dm->localSection && dm->ops->createlocalsection) { in DMGetLocalSection()
4378 …if (dm->localSection) PetscCall(PetscObjectViewFromOptions((PetscObject)dm->localSection, NULL, "-… in DMGetLocalSection()
4380 *section = dm->localSection; in DMGetLocalSection()
4407 PetscCall(PetscSectionDestroy(&dm->localSection)); in DMSetLocalSection()
4408 dm->localSection = section; in DMSetLocalSection()
4409 if (section) PetscCall(PetscSectionGetNumFields(dm->localSection, &numFields)); in DMSetLocalSection()
4416 PetscCall(PetscSectionGetFieldName(dm->localSection, f, &name)); in DMSetLocalSection()
4557 static PetscErrorCode DMDefaultSectionCheckConsistency_Internal(DM dm, PetscSection localSection, P… in DMDefaultSectionCheckConsistency_Internal() argument
4581 PetscCall(PetscSectionGetDof(localSection, p, &dof)); in DMDefaultSectionCheckConsistency_Internal()
4582 PetscCall(PetscSectionGetOffset(localSection, p, &off)); in DMDefaultSectionCheckConsistency_Internal()
4583 PetscCall(PetscSectionGetConstraintDof(localSection, p, &cdof)); in DMDefaultSectionCheckConsistency_Internal()
4698 if (section) PetscCall(DMDefaultSectionCheckConsistency_Internal(dm, dm->localSection, section)); in DMSetGlobalSection()
4797 PetscErrorCode DMCreateSectionSF(DM dm, PetscSection localSection, PetscSection globalSection) in DMCreateSectionSF() argument
4801 PetscCall(PetscSFSetGraphSection(dm->sectionSF, localSection, globalSection)); in DMCreateSectionSF()
8091 …PetscCheck(!dm->localSection, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONGSTATE, "Cannot … in DMAddBoundary()