Home
last modified time | relevance | path

Searched refs:face (Results 1 – 25 of 170) sorted by relevance

1234567

/petsc/src/dm/impls/plex/
H A Dplexorient.c90 PetscInt face, dim, indC[3], indS[3], seenA, flippedA, seenB, flippedB, mismatch; in DMPlexCheckFace_Internal() local
95 face = faceFIFO[(*fTop)++]; in DMPlexCheckFace_Internal()
99 PetscCall(DMPlexGetSupportSize(dm, face, &suppSize)); in DMPlexCheckFace_Internal()
100 PetscCall(DMPlexGetSupport(dm, face, &supp)); in DMPlexCheckFace_Internal()
131 if (coneA[c] == face) posA = c; in DMPlexCheckFace_Internal()
134 …_WRONG, "Face %" PetscInt_FMT " could not be located in cell %" PetscInt_FMT, face, supp[indS[0]]); in DMPlexCheckFace_Internal()
144 if (coneB[c] == face) posB = c; in DMPlexCheckFace_Internal()
147 …_WRONG, "Face %" PetscInt_FMT " could not be located in cell %" PetscInt_FMT, face, supp[indS[1]]); in DMPlexCheckFace_Internal()
172 PetscInt face, dim, seenA, flippedA, seenB, flippedB, mismatch, c; in DMPlexCheckFace_Old_Internal() local
175 face = faceFIFO[(*fTop)++]; in DMPlexCheckFace_Old_Internal()
[all …]
H A Dplexfvm.c7 … lim, PetscInt dim, PetscInt dof, PetscInt cell, PetscInt field, PetscInt face, PetscInt fStart, P… in DMPlexApplyLimiter_Internal() argument
13 PetscCall(DMPlexGetTreeChildren(dm, face, &numChildren, &children)); in DMPlexApplyLimiter_Internal()
29 PetscCall(DMPlexGetSupport(dm, face, &fcells)); in DMPlexApplyLimiter_Internal()
30 PetscCall(DMPlexGetSupportSize(dm, face, &Ns)); in DMPlexApplyLimiter_Internal()
66 PetscInt dim, face, cell, field, dof, cStart, cEnd, nFields; in DMPlexReconstructGradients_Internal() local
85 for (face = fStart; face < fEnd; ++face) { in DMPlexReconstructGradients_Internal()
93 PetscCall(DMLabelGetValue(ghostLabel, face, &ghost)); in DMPlexReconstructGradients_Internal()
94 PetscCall(DMIsBoundaryPoint(dm, face, &boundary)); in DMPlexReconstructGradients_Internal()
95 PetscCall(DMPlexGetTreeChildren(dm, face, &numChildren, NULL)); in DMPlexReconstructGradients_Internal()
97 PetscCall(DMPlexGetSupportSize(dm, face, &numCells)); in DMPlexReconstructGradients_Internal()
[all …]
H A Dplexegads.c718 ego face = fobjs[f]; in DMPlexGeomPrintModel_Internal() local
728 id = EGlite_indexBodyTopo(body, face); in DMPlexGeomPrintModel_Internal()
730 id = EG_indexBodyTopo(body, face); in DMPlexGeomPrintModel_Internal()
735 PetscCall(EGlite_getTopology(face, &geom, &oclass, &mtype, fdata, &Nl, &lobjs, &lsenses)); in DMPlexGeomPrintModel_Internal()
736 PetscCall(EGlite_getInfo(face, &foclass, &fmtype, &fRef, &fPrev, &fNext)); in DMPlexGeomPrintModel_Internal()
740 PetscCall(EG_getTopology(face, &geom, &oclass, &mtype, fdata, &Nl, &lobjs, &lsenses)); in DMPlexGeomPrintModel_Internal()
741 PetscCall(EG_getInfo(face, &foclass, &fmtype, &fRef, &fPrev, &fNext)); in DMPlexGeomPrintModel_Internal()
1106 ego *fobjs, face; in DMPlexCreateGeom_Internal() local
1115 face = fobjs[0]; in DMPlexCreateGeom_Internal()
1118 fid = EGlite_indexBodyTopo(body, face); in DMPlexCreateGeom_Internal()
[all …]
H A Dplexceed.c233 const PetscInt face = iter_indices[p]; in DMPlexGetLocalOffsetsSupport() local
239 PetscCall(DMPlexGetSupport(dm, face, &supp)); in DMPlexGetLocalOffsetsSupport()
240 PetscCall(DMPlexGetSupportSize(dm, face, &Ns)); in DMPlexGetLocalOffsetsSupport()
387 const PetscInt face = iter_indices[p]; in DMPlexCeedComputeGeometryFVM() local
391 PetscCall(DMPlexGetSupport(dm, face, &supp)); in DMPlexCeedComputeGeometryFVM()
392 PetscCall(DMPlexGetSupportSize(dm, face, &suppSize)); in DMPlexCeedComputeGeometryFVM()
399 PetscCall(DMPlexComputeCellGeometryFVM(dm, face, &area, fcentroid, &qdata[off])); in DMPlexCeedComputeGeometryFVM()
426 …for face %" PetscInt_FMT " could not be fixed, normal (%g,%g) v (%g,%g)", face, (double)normal[0],… in DMPlexCeedComputeGeometryFVM()
427 …ce %" PetscInt_FMT " could not be fixed, normal (%g,%g,%g) v (%g,%g,%g)", face, (double)normal[0],… in DMPlexCeedComputeGeometryFVM()
428 …(PETSC_COMM_SELF, PETSC_ERR_PLIB, "Direction for face %" PetscInt_FMT " could not be fixed", face); in DMPlexCeedComputeGeometryFVM()
H A Dplexfluent.c285 static PetscErrorCode InsertFace(DM dm, PetscInt cell, PetscInt face, PetscInt ornt) in InsertFace() argument
295 …not be inserted in cone of cell %" PetscInt_FMT " with size %" PetscInt_FMT, face, cell, coneSize); in InsertFace()
296 PetscCall(DMPlexInsertCone(dm, cell, c, face)); in InsertFace()
772 const PetscInt face = f + s.first - 1; in DMPlexCreateFluent() local
773 const PetscInt faceSize = faceSizes[face]; in DMPlexCreateFluent()
776 faceAdjCell[face * 2 + 0] = ((PetscInt *)s.data)[doffset + faceSize + 0]; in DMPlexCreateFluent()
777 faceAdjCell[face * 2 + 1] = ((PetscInt *)s.data)[doffset + faceSize + 1]; in DMPlexCreateFluent()
854 const PetscInt face = f + numCells + numVertices; in DMPlexCreateFluent() local
859 if (cl >= 0) PetscCall(InsertFace(*dm, cl, face, -1)); in DMPlexCreateFluent()
860 if (cr >= 0) PetscCall(InsertFace(*dm, cr, face, 0)); in DMPlexCreateFluent()
[all …]
H A Dplexinterpolate.c553 const PetscInt *face = &faces[foff]; in DMPlexInterpolateFaces_Internal() local
559 key.i = face[0] + minCone; in DMPlexInterpolateFaces_Internal()
560 key.j = faceSize > 1 ? face[1] + minCone : 0; in DMPlexInterpolateFaces_Internal()
561 key.k = faceSize > 2 ? face[2] + minCone : 0; in DMPlexInterpolateFaces_Internal()
562 key.l = faceSize > 3 ? face[3] + minCone : 0; in DMPlexInterpolateFaces_Internal()
603 const PetscInt *face = &faces[foff]; in DMPlexInterpolateFaces_Internal() local
608 key.i = face[0] + minCone; in DMPlexInterpolateFaces_Internal()
609 key.j = faceSize > 1 ? face[1] + minCone : 0; in DMPlexInterpolateFaces_Internal()
610 key.k = faceSize > 2 ? face[2] + minCone : 0; in DMPlexInterpolateFaces_Internal()
611 key.l = faceSize > 3 ? face[3] + minCone : 0; in DMPlexInterpolateFaces_Internal()
[all …]
/petsc/src/dm/impls/plex/tests/output/
H A Dex18_9_seq_hdf5_simple_int_err.out4 face 76
17 face 80
40 face 54
53 face 60
H A Dex13_3.out284 [0]: component 0, Found representative leaf 5 (face 8) connecting to face 9 on (2, 0) with orientat…
285 [0]: component 0, Found representative leaf 6 (face 9) connecting to face 8 on (1, 0) with orientat…
286 [1]: component 0, Found representative leaf 2 (face 12) connecting to face 11 on (2, 1) with orient…
H A Dex13_2.out248 [0]: component 0, Found representative leaf 4 (face 13) connecting to face 9 on (1, 0) with orienta…
249 [0]: component 0, Found representative leaf 5 (face 22) connecting to face 11 on (1, 1) with orient…
H A Dex13_1.out242 [0]: component 0, Found representative leaf 3 (face 10) connecting to face 13 on (1, 0) with orient…
/petsc/src/dm/impls/stag/tests/output/
H A Dex42_dim-2.out9 1 DOF per face (1D)
44 0 DOF per face (1D)
54 1 face
84 1 DOF per face (1D)
113 0 DOF per face (1D)
H A Dex42_dim-3.out10 1 DOF per face (2D)
94 0 DOF per face (2D)
251 0 DOF per face (2D)
261 2 face
373 1 DOF per face (2D)
421 0 DOF per face (2D)
H A Dex16_2.out9 1 DOF per face (1D)
23 1 DOF per face (1D)
37 1 DOF per face (1D)
H A Dex16_5.out9 1 DOF per face (1D)
35 1 DOF per face (1D)
61 1 DOF per face (1D)
H A Dex14_2.out9 3 DOF per face (1D)
35 3 DOF per face (1D)
H A Dex16_8.out9 1 DOF per face (1D)
43 1 DOF per face (1D)
77 1 DOF per face (1D)
H A Dex16_3.out10 1 DOF per face (2D)
45 1 DOF per face (2D)
80 1 DOF per face (2D)
H A Dex14_5.out9 1 DOF per face (1D)
43 1 DOF per face (1D)
H A Dex14_3.out10 4 DOF per face (2D)
45 4 DOF per face (2D)
H A Dex13_none_periodic_2d_seq_stag_stencil_width-1.out9 1 DOF per face (1D)
H A Dex13_none_none_2d_seq_stag_stencil_width-1.out9 1 DOF per face (1D)
H A Dex13_periodic_ghosted_2d_seq_stag_stencil_width-2.out9 1 DOF per face (1D)
H A Dex13_none_periodic_2d_seq_stag_stencil_width-0.out9 1 DOF per face (1D)
/petsc/src/dm/dt/fe/impls/basic/
H A Dfebasic.c305 const PetscInt face = fgeom->face[e][0]; /* Local face number in cell */ in PetscFEIntegrateBd_Basic() local
376 …PetscCall(PetscFEEvaluateFieldJets_Internal(ds, Nf, face, q, Tf, &cgeom, &coefficients[cOffset], N… in PetscFEIntegrateBd_Basic()
377 …if (dsAux) PetscCall(PetscFEEvaluateFieldJets_Internal(dsAux, NfAux, face, q, TfAux, &cgeom, &coef… in PetscFEIntegrateBd_Basic()
553 const PetscInt face = fgeom->face[e][0]; in PetscFEIntegrateBdResidual_Basic() local
575 …PetscCall(PetscFEEvaluateFieldJets_Internal(ds, Nf, face, q, Tf, &cgeom, &coefficients[cOffset], P… in PetscFEIntegrateBdResidual_Basic()
576 …if (dsAux) PetscCall(PetscFEEvaluateFieldJets_Internal(dsAux, NfAux, auxOnBd ? 0 : face, q, TfAux,… in PetscFEIntegrateBdResidual_Basic()
593 …PetscCall(PetscFEUpdateElementVec_Internal(fe, Tf[field], face, basisReal, basisDerReal, e, fgeom,… in PetscFEIntegrateBdResidual_Basic()
678 const PetscInt face[2] = {fgeom->face[e * 2 + 0][0], fgeom->face[e * 2 + 1][2]}; in PetscFEIntegrateHybridResidual_Basic() local
679 const PetscInt ornt[2] = {fgeom->face[e * 2 + 0][1], fgeom->face[e * 2 + 1][3]}; in PetscFEIntegrateHybridResidual_Basic()
680 const PetscInt cornt[2] = {fgeom->face[e * 2 + 0][3], fgeom->face[e * 2 + 1][1]}; in PetscFEIntegrateHybridResidual_Basic()
[all …]
/petsc/src/dm/impls/plex/tutorials/
H A Dex18.c132 PetscGeom face = fobjs[jj]; in main() local
135 PetscCall(DMPlexGetGeomID(dm, body, face, &id)); in main()
136 PetscCall(DMPlexGetGeomFaceNumOfControlPoints(dm, face, &numCntrlPnts)); in main()

1234567