Searched refs:ncdm (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex3.c | 328 DM refTree, ncdm = NULL; in CreateMesh() local 334 PetscCall(DMPlexTreeRefineCell(*dm, user->treeCell, &ncdm)); in CreateMesh() 335 if (ncdm) { in CreateMesh() 337 *dm = ncdm; in CreateMesh()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plextree.c | 1761 PetscErrorCode DMPlexTreeRefineCell(DM dm, PetscInt cell, DM *ncdm) in DMPlexTreeRefineCell() argument 1776 PetscCall(DMPlexCreate(PetscObjectComm((PetscObject)dm), ncdm)); in DMPlexTreeRefineCell() 1777 PetscCall(DMSetDimension(*ncdm, dim)); in DMPlexTreeRefineCell() 2022 …PetscCall(DMPlexCreateFromDAG(*ncdm, dim, pNewCount, newConeSizes, newCones, newOrientations, newV… in DMPlexTreeRefineCell() 2023 PetscCall(DMPlexSetReferenceTree(*ncdm, K)); in DMPlexTreeRefineCell() 2024 PetscCall(DMPlexSetTree(*ncdm, parentSection, parents, childIDs)); in DMPlexTreeRefineCell() 2055 PetscCall(DMPlexCreateFromDAG(*ncdm, dim, counts, coneSizes, cones, orientations, NULL)); in DMPlexTreeRefineCell() 2056 PetscCall(DMPlexSetReferenceTree(*ncdm, K)); in DMPlexTreeRefineCell() 2057 PetscCall(DMPlexSetTree(*ncdm, parentSection, NULL, NULL)); in DMPlexTreeRefineCell()
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 160 DM ncdm; in DMClone() local 168 PetscCall(DMClone(dm->coordinates[i].dm, &ncdm)); in DMClone() 169 PetscCall(DMCopyDisc(dm->coordinates[i].dm, ncdm)); in DMClone() 170 PetscCall(DMSetLocalSection(ncdm, cs)); in DMClone() 172 ncdm->periodic.setup = dm->coordinates[i].dm->periodic.setup; in DMClone() 173 PetscCall(ncdm->periodic.setup(ncdm)); in DMClone() 175 if (i) PetscCall(DMSetCellCoordinateDM(*newdm, ncdm)); in DMClone() 176 else PetscCall(DMSetCoordinateDM(*newdm, ncdm)); in DMClone() 177 PetscCall(DMDestroy(&ncdm)); in DMClone()
|