Lines Matching refs:csDG
335 PetscSection cs, csDG; in DMLocalizeCoordinates() local
376 PetscCall(PetscSectionCreate(comm, &csDG)); in DMLocalizeCoordinates()
377 PetscCall(PetscSectionSetNumFields(csDG, 1)); in DMLocalizeCoordinates()
379 PetscCall(PetscSectionSetFieldComponents(csDG, 0, Nc)); in DMLocalizeCoordinates()
380 PetscCall(PetscSectionSetChart(csDG, newStart, newEnd)); in DMLocalizeCoordinates()
406 PetscCall(PetscSectionSetDof(csDG, c, dof)); in DMLocalizeCoordinates()
407 PetscCall(PetscSectionSetFieldDof(csDG, c, 0, dof)); in DMLocalizeCoordinates()
415 PetscCall(PetscSectionSetUp(csDG)); in DMLocalizeCoordinates()
416 PetscCall(PetscSectionGetStorageSize(csDG, &coordSize)); in DMLocalizeCoordinates()
430 PetscCall(PetscSectionGetDof(csDG, c, &cdof)); in DMLocalizeCoordinates()
433 PetscCall(PetscSectionGetOffset(csDG, c, &offDG)); in DMLocalizeCoordinates()
471 PetscCall(DMSetCellCoordinateSection(dm, PETSC_DETERMINE, csDG)); in DMLocalizeCoordinates()
478 PetscCall(PetscSectionDestroy(&csDG)); in DMLocalizeCoordinates()