Lines Matching refs:csNew
319 PetscSection cs, csNew; in DMPlexCreateCoordinateSpace() local
333 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)cs), &csNew)); in DMPlexCreateCoordinateSpace()
334 PetscCall(PetscSectionSetNumFields(csNew, 1)); in DMPlexCreateCoordinateSpace()
336 PetscCall(PetscSectionSetFieldName(csNew, 0, fieldName)); in DMPlexCreateCoordinateSpace()
338 PetscCall(PetscSectionSetFieldComponents(csNew, 0, cdim)); in DMPlexCreateCoordinateSpace()
341 PetscCall(PetscSectionSetComponentName(csNew, 0, c, compName)); in DMPlexCreateCoordinateSpace()
344 PetscCall(PetscSectionSetChart(csNew, pStart, pEnd)); in DMPlexCreateCoordinateSpace()
350 PetscCall(PetscSectionSetDof(csNew, p, cdim)); in DMPlexCreateCoordinateSpace()
351 PetscCall(PetscSectionSetFieldDof(csNew, p, 0, cdim)); in DMPlexCreateCoordinateSpace()
354 PetscCall(PetscSectionSetUp(csNew)); in DMPlexCreateCoordinateSpace()
356 PetscCall(DMSetLocalSection(cdm, csNew)); in DMPlexCreateCoordinateSpace()
357 PetscCall(PetscSectionDestroy(&csNew)); in DMPlexCreateCoordinateSpace()