| /petsc/src/dm/dt/tests/ |
| H A D | ex4.c | 16 const PetscScalar ***flips = NULL; in CheckSymmetry() local 29 PetscCall(PetscDualSpaceGetSymmetries(sp, &perms, &flips)); in CheckSymmetry() 30 if (!perms && !flips) { in CheckSymmetry() 55 const PetscScalar **pointFlips = flips ? flips[i] : NULL; in CheckSymmetry()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexorient.c | 653 PetscBool *flips = NULL; in DMPlexOrient() local 656 PetscCall(PetscMalloc1(Noff[size], &flips)); in DMPlexOrient() 658 flips[p] = PetscBTLookup(flippedProcs, p) ? PETSC_TRUE : PETSC_FALSE; in DMPlexOrient() 659 if (flg && flips[p]) PetscCall(PetscPrintf(comm, "Flipping Proc+Comp %d:\n", p)); in DMPlexOrient() 663 …PetscCallMPI(MPI_Scatterv(flips, Nc, displs, MPI_C_BOOL, flipped, numComponents, MPI_C_BOOL, 0, co… in DMPlexOrient() 664 PetscCall(PetscFree(flips)); in DMPlexOrient() 1030 PetscBool *flips = NULL; in DMPlexOrientCells_Internal() local 1033 PetscCall(PetscMalloc1(Noff[size], &flips)); in DMPlexOrientCells_Internal() 1035 flips[p] = PetscBTLookup(flippedProcs, p) ? PETSC_TRUE : PETSC_FALSE; in DMPlexOrientCells_Internal() 1036 … if (view && flips[p]) PetscCall(PetscPrintf(comm, "Flipping Proc+Comp %" PetscInt_FMT ":\n", p)); in DMPlexOrientCells_Internal() [all …]
|
| H A D | plexsection.c | 38 const PetscScalar ***flips; in DMPlexCreateSectionFields() local 43 PetscCall(PetscDualSpaceGetSymmetries(dspace, &perms, &flips)); in DMPlexCreateSectionFields() 45 if (perms || flips) { in DMPlexCreateSectionFields() 63 PetscCall(PetscDualSpaceGetSymmetries(hspace, &perms, &flips)); in DMPlexCreateSectionFields() 65 if (flips) flips0 = flips[0]; in DMPlexCreateSectionFields()
|
| H A D | plextree.c | 1175 const PetscScalar ***flips = NULL; in DMPlexComputeAnchorMatrix_Tree_Direct() local 1201 PetscCall(PetscDualSpaceGetSymmetries(dspace, &perms, &flips)); in DMPlexComputeAnchorMatrix_Tree_Direct() 1315 flip = (flips && flips[i]) ? flips[i][o] : NULL; in DMPlexComputeAnchorMatrix_Tree_Direct() 1342 flipP = (flips && flips[j]) ? flips[j][oq] : NULL; in DMPlexComputeAnchorMatrix_Tree_Direct() 1397 const PetscScalar **flips; in DMPlexReferenceTreeGetChildrenMatrices() local 1430 … PetscCall(PetscSectionGetFieldPointSyms(refSection, f, closureSize, closure, &perms, &flips)); in DMPlexReferenceTreeGetChildrenMatrices() 1434 PetscCall(PetscSectionGetPointSyms(refSection, closureSize, closure, &perms, &flips)); in DMPlexReferenceTreeGetChildrenMatrices() 1457 if (flips) { in DMPlexReferenceTreeGetChildrenMatrices() 1463 const PetscScalar *flip = flips ? flips[i] : NULL; in DMPlexReferenceTreeGetChildrenMatrices() 1482 … PetscCall(PetscSectionRestoreFieldPointSyms(refSection, f, closureSize, closure, &perms, &flips)); in DMPlexReferenceTreeGetChildrenMatrices() [all …]
|
| H A D | plex.c | 6483 const PetscScalar **flips = NULL; in DMPlexVecGetClosure_Static() local 6487 PetscCall(PetscSectionGetPointSyms(section, numPoints, points, &perms, &flips)); in DMPlexVecGetClosure_Static() 6491 const PetscScalar *flip = flips ? flips[p] : NULL; in DMPlexVecGetClosure_Static() 6519 PetscCall(PetscSectionRestorePointSyms(section, numPoints, points, &perms, &flips)); in DMPlexVecGetClosure_Static() 6533 const PetscScalar **flips = NULL; in DMPlexVecGetClosure_Fields_Static() local 6535 PetscCall(PetscSectionGetFieldPointSyms(section, f, numPoints, points, &perms, &flips)); in DMPlexVecGetClosure_Fields_Static() 6541 const PetscScalar *flip = flips ? flips[p] : NULL; in DMPlexVecGetClosure_Fields_Static() 6567 PetscCall(PetscSectionRestoreFieldPointSyms(section, f, numPoints, points, &perms, &flips)); in DMPlexVecGetClosure_Fields_Static() 7329 const PetscScalar **flips = NULL; in DMPlexVecSetClosure() local 7331 PetscCall(PetscSectionGetFieldPointSyms(section, f, numPoints, points, &perms, &flips)); in DMPlexVecSetClosure() [all …]
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex1_1.out | 209 [0] <dm:plex> TetGenMeshConstrainedFacets2(): 3 subedge flips 0 cavities remeshed. 514 [0] <dm:plex> TetGenMeshFlip32(): Deleting edca [0] <dm:plex> TetGenMeshLawson3D(): 5 flips. 631 [0] <dm:plex> TetGenMeshLawson3D(): 1 flips. 988 [0] <dm:plex> TetGenMeshLawson3D(): 8 flips. 1227 [0] <dm:plex> TetGenMeshLawson3D(): 5 flips. 1489 [0] <dm:plex> TetGenMeshFlip32(): Deleting edca [0] <dm:plex> TetGenMeshLawson3D(): 4 flips. 1615 [0] <dm:plex> TetGenMeshLawson3D(): 1 flips. 1791 [0] <dm:plex> TetGenMeshLawson3D(): 3 flips. 2082 [0] <dm:plex> TetGenMeshLawson3D(): 5 flips. 2340 [0] <dm:plex> TetGenMeshLawson3D(): 3 flips. [all …]
|
| H A D | ex1_0.out | 209 [0] <dm:plex> TetGenMeshConstrainedFacets2(): 3 subedge flips 0 cavities remeshed.
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/ |
| H A D | dspacelagrange.c | 2669 …aceGetSymmetries_Lagrange(PetscDualSpace sp, const PetscInt ****perms, const PetscScalar ****flips) in PetscDualSpaceGetSymmetries_Lagrange() argument 2720 PetscScalar *flips; in PetscDualSpaceGetSymmetries_Lagrange() local 2725 PetscCall(PetscCalloc1(spintdim, &flips)); in PetscDualSpaceGetSymmetries_Lagrange() 2745 for (k = 0; k < nCopies; k++) flips[i * nCopies + k] = -1.; in PetscDualSpaceGetSymmetries_Lagrange() 2747 for (k = 0; k < nCopies; k++) flips[i * nCopies + k] = 1.; in PetscDualSpaceGetSymmetries_Lagrange() 2756 if (flips[i] != 1.) break; in PetscDualSpaceGetSymmetries_Lagrange() 2758 PetscCall(PetscFree(flips)); in PetscDualSpaceGetSymmetries_Lagrange() 2759 flips = NULL; in PetscDualSpaceGetSymmetries_Lagrange() 2769 symflips[0][ornt] = flips; in PetscDualSpaceGetSymmetries_Lagrange() 2804 if (flips) *flips = (const PetscScalar ***)lag->symflips; in PetscDualSpaceGetSymmetries_Lagrange()
|
| /petsc/src/dm/dt/dualspace/interface/ |
| H A D | dualspace.c | 1751 …tscDualSpaceGetSymmetries(PetscDualSpace sp, const PetscInt ****perms, const PetscScalar ****flips) in PetscDualSpaceGetSymmetries() argument 1759 if (flips) { in PetscDualSpaceGetSymmetries() 1760 PetscAssertPointer(flips, 3); in PetscDualSpaceGetSymmetries() 1761 *flips = NULL; in PetscDualSpaceGetSymmetries() 1763 PetscTryTypeMethod(sp, getsymmetries, perms, flips); in PetscDualSpaceGetSymmetries()
|
| /petsc/src/dm/dt/dualspace/impls/sum/ |
| H A D | dualspacesum.c | 574 …ualSpaceGetSymmetries_Sum(PetscDualSpace sp, const PetscInt ****perms, const PetscScalar ****flips) in PetscDualSpaceGetSymmetries_Sum() argument 726 if (flips) *flips = (const PetscScalar ***)sum->symflips; in PetscDualSpaceGetSymmetries_Sum()
|
| /petsc/src/dm/impls/plex/tutorials/output/ |
| H A D | ex1f90_1.out | 194 [0] <dm:plex> TetGenMeshConstrainedFacets2(): 3 subedge flips 0 cavities remeshed.
|
| H A D | ex1_1.out | 194 [0] <dm:plex> TetGenMeshConstrainedFacets2(): 3 subedge flips 0 cavities remeshed.
|