Searched refs:tensorCell (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/dt/dualspace/impls/lagrange/tutorials/ |
| H A D | ex1.c | 10 PetscBool tensorCell; in main() local 17 tensorCell = PETSC_FALSE; in main() 20 …"Whether the cell is a tensor product cell or a simplex", "ex1.c", tensorCell, &tensorCell, NULL)); in main() 33 …CreateReferenceCell(PETSC_COMM_WORLD, DMPolytopeTypeSimpleShape(dim, (PetscBool)!tensorCell), &K)); in main()
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/tests/ |
| H A D | ex1.c | 160 … dim, PetscInt order, PetscInt formDegree, PetscBool trimmed, PetscInt tensorCell, PetscBool conti… in testLagrange() argument 179 PetscCall(PetscDualSpaceLagrangeSetTensor(sp, (PetscBool)(tensorCell > 0))); in testLagrange() 181 …nt_FMT ", nCopies %" PetscInt_FMT "\n", dim, order, (PetscInt)trimmed, tensorCell, (PetscInt)conti… in testLagrange() 182 PetscCall(ExpectedNumDofs_Total(dim, order, formDegree, trimmed, tensorCell, nCopies, &exspdim)); in testLagrange() 184 …PetscCall(ExpectedNumDofs_Interior(dim, order, formDegree, trimmed, tensorCell, nCopies, &exspintd… in testLagrange() 197 if (tensorCell == 2) { in testLagrange() 212 …%" PetscInt_FMT "\n", DMPolytopeTypes[type], order, (PetscInt)trimmed, tensorCell, (PetscInt)conti… in testLagrange() 303 PetscInt tensorCell; in main() local 312 tensorCell = 0; in main() 317 …geInt("-tensor", "(0) simplex (1) hypercube (2) wedge", "ex1.c", tensorCell, &tensorCell, NULL, 0,… in main() [all …]
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/ |
| H A D | dspacelagrange.c | 1992 PetscBool tensorCell, tensorSpace; in PetscDualSpaceSetUp_Lagrange() local 2052 tensorCell = PETSC_FALSE; in PetscDualSpaceSetUp_Lagrange() 2053 if (dim > 1) PetscCall(DMPlexPointIsTensor(dmint, 0, &tensorCell, &tensorf, &tensorf2)); in PetscDualSpaceSetUp_Lagrange() 2054 lag->tensorCell = tensorCell; in PetscDualSpaceSetUp_Lagrange() 2055 if (dim < 2 || !lag->tensorCell) lag->tensorSpace = PETSC_FALSE; in PetscDualSpaceSetUp_Lagrange() 2204 if (!tensorCell) PetscCall(PetscLagNodeIndicesCreateSimplexVertices(dm, &lag->vertIndices)); in PetscDualSpaceSetUp_Lagrange() 2701 …if (spintdim && 0 < dim && dim < 3 && (lag->tensorSpace == lag->tensorCell)) { /* compute self sym… in PetscDualSpaceGetSymmetries_Lagrange() 3252 lag->tensorCell = PETSC_FALSE; in PetscDualSpaceCreate_Lagrange()
|
| /petsc/include/petsc/private/ |
| H A D | petscfeimpl.h | 141 PetscBool tensorCell; /* Flag for tensor product cell */ member
|