Searched refs:includesConstraints (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex21.c | 201 PetscBool includesConstraints = PETSC_FALSE; in main() local 267 PetscCall(PetscSectionGetIncludesConstraints(gsection, &includesConstraints)); in main() 272 if (includesConstraints) PetscCall(PetscSectionGetStorageSize(gsection, &n)); in main() 281 if (includesConstraints) { in main() 384 PetscBool includesConstraints = PETSC_FALSE; in main() local 421 PetscCall(PetscSectionGetIncludesConstraints(section, &includesConstraints)); in main() 426 if (includesConstraints) PetscCall(PetscSectionGetStorageSize(section, &m)); in main() 447 PetscCall(PetscSectionGetIncludesConstraints(gsection, &includesConstraints)); in main() 452 if (includesConstraints) PetscCall(PetscSectionGetStorageSize(gsection, &m)); in main()
|
| /petsc/src/vec/is/section/interface/hdf5/ |
| H A D | sectionhdf5.c | 11 PetscBool hasConstraints, includesConstraints; in PetscSectionView_HDF5_SingleField() local 60 PetscCall(PetscSectionGetIncludesConstraints(s, &includesConstraints)); in PetscSectionView_HDF5_SingleField() 61 …HDF5WriteAttribute(viewer, NULL, "includesConstraints", PETSC_BOOL, (void *)&includesConstraints)); in PetscSectionView_HDF5_SingleField() 181 PetscBool hasConstraints, includesConstraints; in PetscSectionLoad_HDF5_SingleField() local 188 …eadAttribute(viewer, NULL, "includesConstraints", PETSC_BOOL, NULL, (void *)&includesConstraints)); in PetscSectionLoad_HDF5_SingleField() 189 PetscCall(PetscSectionSetIncludesConstraints(s, includesConstraints)); in PetscSectionLoad_HDF5_SingleField()
|
| /petsc/include/petsc/private/ |
| H A D | sectionimpl.h | 34 …PetscBool includesConstraints; /* True if constrained dofs are included when computing offsets … member
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 48 (*s)->includesConstraints = PETSC_TRUE; in PetscSectionCreate() 889 PetscErrorCode PetscSectionGetIncludesConstraints(PetscSection s, PetscBool *includesConstraints) in PetscSectionGetIncludesConstraints() argument 893 PetscAssertPointer(includesConstraints, 2); in PetscSectionGetIncludesConstraints() 894 *includesConstraints = s->includesConstraints; in PetscSectionGetIncludesConstraints() 911 PetscErrorCode PetscSectionSetIncludesConstraints(PetscSection s, PetscBool includesConstraints) in PetscSectionSetIncludesConstraints() argument 916 s->includesConstraints = includesConstraints; in PetscSectionSetIncludesConstraints() 1309 …PetscCheck(s->includesConstraints, PETSC_COMM_SELF, PETSC_ERR_SUP, "PetscSectionSetUp is currently… in PetscSectionSetUp() 1497 gs->includesConstraints = includeConstraints; in PetscSectionCreateGlobalSection() 1562 gs->field[f]->includesConstraints = includeConstraints; in PetscSectionCreateGlobalSection()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 2343 PetscBool includesConstraints; in DMPlexGlobalVectorView() local 2348 PetscCall(PetscSectionGetIncludesConstraints(section, &includesConstraints)); in DMPlexGlobalVectorView() 2349 if (includesConstraints) PetscCall(PetscSectionGetStorageSize(section, &m)); in DMPlexGlobalVectorView() 2419 PetscBool includesConstraints; in DMPlexLocalVectorView() local 2424 PetscCall(PetscSectionGetIncludesConstraints(section, &includesConstraints)); in DMPlexLocalVectorView() 2425 if (includesConstraints) PetscCall(PetscSectionGetStorageSize(section, &m)); in DMPlexLocalVectorView() 2719 PetscBool includesConstraints; in DMPlexGlobalVectorLoad() local 2724 PetscCall(PetscSectionGetIncludesConstraints(section, &includesConstraints)); in DMPlexGlobalVectorLoad() 2725 if (includesConstraints) PetscCall(PetscSectionGetStorageSize(section, &m)); in DMPlexGlobalVectorLoad() 2795 PetscBool includesConstraints; in DMPlexLocalVectorLoad() local [all …]
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 1721 PetscBool includesConstraints; in DMPlexLocalVectorView_HDF5_Internal() local 1749 PetscCall(PetscSectionGetIncludesConstraints(section, &includesConstraints)); in DMPlexLocalVectorView_HDF5_Internal() 1750 if (includesConstraints) PetscCall(PetscSectionGetStorageSize(section, &m)); in DMPlexLocalVectorView_HDF5_Internal()
|