Lines Matching refs:coordSection
108 PetscSection coordSection; in ChangeCoordinates() local
115 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in ChangeCoordinates()
116 PetscCall(PetscSectionSetNumFields(coordSection, 1)); in ChangeCoordinates()
117 PetscCall(PetscSectionSetFieldComponents(coordSection, 0, spaceDim)); in ChangeCoordinates()
118 PetscCall(PetscSectionSetChart(coordSection, vStart, vEnd)); in ChangeCoordinates()
120 PetscCall(PetscSectionSetDof(coordSection, v, spaceDim)); in ChangeCoordinates()
121 PetscCall(PetscSectionSetFieldDof(coordSection, v, 0, spaceDim)); in ChangeCoordinates()
123 PetscCall(PetscSectionSetUp(coordSection)); in ChangeCoordinates()
124 PetscCall(PetscSectionGetStorageSize(coordSection, &coordSize)); in ChangeCoordinates()
133 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in ChangeCoordinates()
242 PetscSection coordSection; in CheckCell() local
250 PetscCall(DMGetCoordinateSection(dm, &coordSection)); in CheckCell()
251 PetscCall(DMPlexVecGetClosure(dm, coordSection, coordinates, cell, &coordSize, &coords)); in CheckCell()
256 PetscCall(DMPlexVecRestoreClosure(dm, coordSection, coordinates, cell, &coordSize, &coords)); in CheckCell()