Home
last modified time | relevance | path

Searched refs:refTree (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplextree.c898 DM refTree; in DMPlexSetTree_Internal() local
918 PetscCall(DMPlexGetReferenceTree(dm, &refTree)); in DMPlexSetTree_Internal()
919 if (refTree) { in DMPlexSetTree_Internal()
922 PetscCall(DMGetLabel(refTree, "canonical", &canonLabel)); in DMPlexSetTree_Internal()
1387 static PetscErrorCode DMPlexReferenceTreeGetChildrenMatrices(DM refTree, PetscScalar ****childrenMa… in DMPlexReferenceTreeGetChildrenMatrices() argument
1400 PetscCall(DMGetDS(refTree, &ds)); in DMPlexReferenceTreeGetChildrenMatrices()
1403 PetscCall(DMGetDefaultConstraints(refTree, &refConSec, &refCmat, NULL)); in DMPlexReferenceTreeGetChildrenMatrices()
1404 PetscCall(DMPlexGetAnchors(refTree, &refAnSec, &refAnIS)); in DMPlexReferenceTreeGetChildrenMatrices()
1406 PetscCall(DMGetLocalSection(refTree, &refSection)); in DMPlexReferenceTreeGetChildrenMatrices()
1417 PetscCall(DMPlexGetTreeParent(refTree, p, &parent, NULL)); in DMPlexReferenceTreeGetChildrenMatrices()
[all …]
H A Dplexdistribute.c1331 DM refTree; in DMPlexDistributeSetupTree() local
1342 PetscCall(DMPlexGetReferenceTree(dm, &refTree)); in DMPlexDistributeSetupTree()
1343 PetscCall(DMPlexSetReferenceTree(dmParallel, refTree)); in DMPlexDistributeSetupTree()
H A Dplexsubmesh.c861 DM refTree; in DMPlexShiftTree_Internal() local
866 PetscCall(DMPlexGetReferenceTree(dm, &refTree)); in DMPlexShiftTree_Internal()
867 PetscCall(DMPlexSetReferenceTree(dmNew, refTree)); in DMPlexShiftTree_Internal()
/petsc/src/dm/impls/plex/tests/
H A Dex3.c328 DM refTree, ncdm = NULL; in CreateMesh() local
330 PetscCall(DMPlexCreateDefaultReferenceTree(comm, dim, simplex, &refTree)); in CreateMesh()
331 PetscCall(DMViewFromOptions(refTree, NULL, "-reftree_dm_view")); in CreateMesh()
332 PetscCall(DMPlexSetReferenceTree(*dm, refTree)); in CreateMesh()
333 PetscCall(DMDestroy(&refTree)); in CreateMesh()
578 DM refTree; in TestInjector() local
582 PetscCall(DMPlexGetReferenceTree(dm, &refTree)); in TestInjector()
583 if (refTree) { in TestInjector()
586 PetscCall(DMPlexComputeInjectorReferenceTree(refTree, &inj)); in TestInjector()
598 DM dmRedist, dmfv, dmgrad, dmCell, refTree; in TestFVGrad() local
[all …]
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2503 DM refTree = NULL; in DMPforestGetTransferSF_Point() local
2523 PetscCall(DMPlexGetReferenceTree(plexF, &refTree)); in DMPforestGetTransferSF_Point()
2524 PetscCall(DMPlexGetTransitiveClosure(refTree, 0, PETSC_TRUE, NULL, &rootClosure)); in DMPforestGetTransferSF_Point()
2526 …PetscCall(DMPlexGetTransitiveClosure(refTree, child + 1, PETSC_TRUE, NULL, &childClosures[child])); in DMPforestGetTransferSF_Point()
2528 PetscCall(DMGetLabel(refTree, "canonical", &canonical)); in DMPforestGetTransferSF_Point()
2615 PetscCall(DMPlexGetCellType(refTree, point, &ct)); in DMPforestGetTransferSF_Point()
2622 PetscCall(DMPlexGetTreeParent(refTree, point, &parent, NULL)); in DMPforestGetTransferSF_Point()
2632 PetscCall(DMPlexGetCellType(refTree, parent, &rct)); in DMPforestGetTransferSF_Point()
2638 …PetscCall(DMPlexReferenceTreeGetChildSymmetry(refTree, parent, parentOrnt, ornt, point, DMPolytope… in DMPforestGetTransferSF_Point()
2852 PetscCall(DMPlexGetReferenceTree(plexF, &refTree)); in DMPforestGetTransferSF_Point()
[all …]