Lines Matching refs:section
125 PetscSection section, gsection; in main() local
132 PetscCall(PetscSectionCreate(comm, §ion)); in main()
133 PetscCall(PetscSectionSetNumFields(section, 2)); in main()
136 PetscCall(PetscSectionSetChart(section, 0, 4)); in main()
137 PetscCall(PetscSectionSetDof(section, 0, 3)); in main()
138 PetscCall(PetscSectionSetDof(section, 1, 3)); in main()
139 PetscCall(PetscSectionSetDof(section, 2, 5)); in main()
140 PetscCall(PetscSectionSetDof(section, 3, 7)); in main()
141 PetscCall(PetscSectionSetFieldDof(section, 0, 0, 2)); in main()
142 PetscCall(PetscSectionSetFieldDof(section, 1, 0, 3)); in main()
143 PetscCall(PetscSectionSetFieldDof(section, 2, 0, 5)); in main()
144 PetscCall(PetscSectionSetFieldDof(section, 3, 0, 7)); in main()
145 PetscCall(PetscSectionSetFieldDof(section, 0, 1, 1)); in main()
148 PetscCall(PetscSectionSetChart(section, 0, 3)); in main()
149 PetscCall(PetscSectionSetDof(section, 0, 7)); in main()
150 PetscCall(PetscSectionSetDof(section, 1, 5)); in main()
151 PetscCall(PetscSectionSetDof(section, 2, 13)); in main()
152 PetscCall(PetscSectionSetConstraintDof(section, 2, 1)); in main()
153 PetscCall(PetscSectionSetFieldDof(section, 0, 0, 7)); in main()
154 PetscCall(PetscSectionSetFieldDof(section, 1, 0, 5)); in main()
155 PetscCall(PetscSectionSetFieldDof(section, 2, 0, 11)); in main()
156 PetscCall(PetscSectionSetFieldDof(section, 2, 1, 2)); in main()
157 PetscCall(PetscSectionSetFieldConstraintDof(section, 2, 0, 1)); in main()
160 PetscCall(PetscSectionSetUp(section)); in main()
165 PetscCall(PetscSectionSetConstraintIndices(section, 2, indices)); in main()
166 PetscCall(PetscSectionSetFieldConstraintIndices(section, 2, 0, indices0)); in main()
192 …PetscCall(PetscSectionCreateGlobalSection(section, sf, PETSC_TRUE, user.includes_constraints, PETS… in main()
198 PetscCall(PetscObjectSetName((PetscObject)section, "Save: local section")); in main()
199 PetscCall(PetscSectionView(section, PETSC_VIEWER_STDOUT_(comm))); in main()
203 PetscCall(PetscSectionDestroy(§ion)); in main()
211 PetscSection section; in main() local
215 PetscCall(PetscSectionCreate(comm, §ion)); in main()
227 PetscCall(PetscSectionSetChart(section, 0, chartSize)); in main()
229 PetscCall(PetscSectionLoad(section, viewer)); in main()
231 PetscCall(PetscObjectSetName((PetscObject)section, "Load: section")); in main()
232 PetscCall(PetscSectionView(section, PETSC_VIEWER_STDOUT_(comm))); in main()
233 PetscCall(PetscSectionDestroy(§ion)); in main()