Lines Matching refs:ct

69   DMPolytopeType  ct;  in CheckCellVertices()  local
77 PetscCall(DMPlexGetCellType(dm, cell, &ct)); in CheckCellVertices()
86ct), comm, PETSC_ERR_ARG_WRONG, "Cell %" PetscInt_FMT " has %" PetscInt_FMT " vertices != %" Petsc… in CheckCellVertices()
87 arrVerts = DMPolytopeTypeGetVertexArrangement(ct, o); in CheckCellVertices()
136 DMPolytopeType ct; in GenerateArrangements() local
143 PetscCall(DMPlexGetCellType(dm, 0, &ct)); in GenerateArrangements()
144 No = DMPolytopeTypeGetNumArrangements(ct) / 2; in GenerateArrangements()
160 DMPolytopeType ct; in VerifyCayleyTable() local
169 PetscCall(DMPlexGetCellType(dm, 0, &ct)); in VerifyCayleyTable()
171 No = DMPolytopeTypeGetNumArrangements(ct) / 2; in VerifyCayleyTable()
172 …>printTable) PetscCall(PetscPrintf(PETSC_COMM_SELF, "Cayley Table for %s\n", DMPolytopeTypes[ct])); in VerifyCayleyTable()
180 o3 = DMPolytopeTypeComposeOrientation(ct, o1, o2); in VerifyCayleyTable()
189 …for %s: %" PetscInt_FMT " * %" PetscInt_FMT " != %" PetscInt_FMT, DMPolytopeTypes[ct], o1, o2, o3); in VerifyCayleyTable()
193 PetscCall(DMPolytopeGetOrientation(ct, refcone, cone, &o4)); in VerifyCayleyTable()
195 …" * %" PetscInt_FMT " = %" PetscInt_FMT " != %" PetscInt_FMT, DMPolytopeTypes[ct], o1, o2, o3, o4); in VerifyCayleyTable()
207 DMPolytopeType ct; in VerifyInverse() local
216 PetscCall(DMPlexGetCellType(dm, 0, &ct)); in VerifyInverse()
218 No = DMPolytopeTypeGetNumArrangements(ct) / 2; in VerifyInverse()
219 …printTable) PetscCall(PetscPrintf(PETSC_COMM_SELF, "Inverse table for %s\n", DMPolytopeTypes[ct])); in VerifyInverse()
222 oi = DMPolytopeTypeComposeOrientationInv(ct, 0, o); in VerifyInverse()
234 …B, "Inverse error for %s: %" PetscInt_FMT " * %" PetscInt_FMT " != 0", DMPolytopeTypes[ct], o, oi); in VerifyInverse()
238 PetscCall(DMPolytopeGetOrientation(ct, refcone, cone, &o2)); in VerifyInverse()
240 …: %" PetscInt_FMT " * %" PetscInt_FMT " = %" PetscInt_FMT " != 0", DMPolytopeTypes[ct], o, oi, o2); in VerifyInverse()
252 DMPolytopeType ct; in CheckSubcells() local
269 PetscCall(DMPlexGetCellType(dm, p, &ct)); in CheckSubcells()
274 oi = DMPolytopeTypeComposeOrientationInv(ct, 0, o); in CheckSubcells()
277 PetscCall(DMPlexTransformCellTransform(tr, ct, p, NULL, &Nct, &rct, &rsize, &rcone, &rornt)); in CheckSubcells()
288 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, ctNew, p, r, &pNew)); in CheckSubcells()
300 PetscCall(DMPlexTransformGetTargetPoint(otr, ct, ctNew, p, ro, &opNew)); in CheckSubcells()
316 if (ct == DM_POLYTOPE_TETRAHEDRON) { in CheckSubcells()
339 PetscCall(DMPlexTransformGetSubcellOrientation(tr, ct, p, oi, ctNew, r, 0, &pr, &fo)); in CheckSubcells()
357 DMPolytopeType ct; in RefineArrangements() local
364 PetscCall(DMPlexGetCellType(dm, 0, &ct)); in RefineArrangements()
365 No = DMPolytopeTypeGetNumArrangements(ct) / 2; in RefineArrangements()