Lines Matching refs:section
8 PetscSection section; in main() local
35 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)dm), §ion)); in main()
36 PetscCall(PetscSectionSetNumFields(section, 1)); in main()
37 PetscCall(PetscSectionSetFieldName(section, field, "U")); in main()
38 PetscCall(PetscSectionSetFieldComponents(section, field, sdim)); in main()
40 PetscCall(PetscSectionSetChart(section, pStart, pEnd)); in main()
45 PetscCall(PetscSectionSetDof(section, p, sdim)); in main()
46 PetscCall(PetscSectionSetFieldDof(section, p, 0, sdim)); in main()
62 PetscCall(PetscSectionSetConstraintDof(section, pointID[p], 1)); in main()
63 PetscCall(PetscSectionSetFieldConstraintDof(section, pointID[p], field, 1)); in main()
69 PetscCall(PetscSectionSetUp(section)); in main()
79 PetscCall(PetscSectionSetConstraintIndices(section, pointID[p], constraints)); in main()
80 PetscCall(PetscSectionSetFieldConstraintIndices(section, pointID[p], field, constraints)); in main()
87 PetscCall(PetscObjectViewFromOptions((PetscObject)section, NULL, "-dm_section_view")); in main()
89 PetscCall(PetscSectionDestroy(§ion)); in main()