| /petsc/src/dm/impls/plex/transform/impls/refine/tobox/ |
| H A D | plexreftobox.c | 213 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellRefine_ToBox() argument 502 PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, rt, Nt, target, size, cone, ornt)); in DMPlexTransformCellRefine_ToBox() 505 *Nt = 1; in DMPlexTransformCellRefine_ToBox() 512 *Nt = 2; in DMPlexTransformCellRefine_ToBox() 519 *Nt = 3; in DMPlexTransformCellRefine_ToBox() 526 *Nt = 3; in DMPlexTransformCellRefine_ToBox() 533 *Nt = 4; in DMPlexTransformCellRefine_ToBox() 540 *Nt = 4; in DMPlexTransformCellRefine_ToBox() 547 *Nt = 3; in DMPlexTransformCellRefine_ToBox() 554 *Nt = 0; in DMPlexTransformCellRefine_ToBox() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/refine/sbr/ |
| H A D | plexrefsbr.c | 336 static PetscErrorCode SBRGetTriangleSplitSingle(PetscInt o, PetscInt *Nt, DMPolytopeType *target[],… in SBRGetTriangleSplitSingle() argument 353 *Nt = 2; in SBRGetTriangleSplitSingle() 447 static PetscErrorCode SBRGetTriangleSplitDouble(PetscInt o, PetscInt *Nt, DMPolytopeType *target[],… in SBRGetTriangleSplitDouble() argument 486 *Nt = 2; in SBRGetTriangleSplitDouble() 494 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellTransform_SBR() argument 514 …PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_SBR() 517 …if (val == RT_EDGE) PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target… in DMPlexTransformCellTransform_SBR() 518 …else PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, NULL, Nt, target, size, cone, ornt… in DMPlexTransformCellTransform_SBR() 523 PetscCall(SBRGetTriangleSplitSingle(2, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_SBR() 526 PetscCall(SBRGetTriangleSplitSingle(0, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_SBR() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrcohesive.c | 151 ex->Nt[rt] = 2; in DMPlexTransformCohesiveExtrudeSetUp_Point() 154 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Point() 169 ex->Nt[rt] = 2; in DMPlexTransformCohesiveExtrudeSetUp_Point() 172 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Point() 199 ex->Nt[rt] = 2; in DMPlexTransformCohesiveExtrudeSetUp_Segment() 202 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment() 266 ex->Nt[rt] = 2; in DMPlexTransformCohesiveExtrudeSetUp_Segment() 269 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment() 336 ex->Nt[rt] = 1; in DMPlexTransformCohesiveExtrudeSetUp_Segment() 339 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment() [all …]
|
| H A D | plextrextrude.c | 152 ex->Nt[ct] = 2; in DMPlexTransformExtrudeSetUp_Point() 155 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Point() 184 ex->Nt[ct] = 2; in DMPlexTransformExtrudeSetUp_Segment() 187 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Segment() 262 ex->Nt[ct] = 2; in DMPlexTransformExtrudeSetUp_Triangle() 265 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Triangle() 354 ex->Nt[ct] = 2; in DMPlexTransformExtrudeSetUp_Quadrilateral() 357 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Quadrilateral() 581 …PetscCall(PetscMalloc5(DM_NUM_POLYTOPES, &ex->Nt, DM_NUM_POLYTOPES, &ex->target, DM_NUM_POLYTOPES,… in DMPlexTransformSetUp_Extrude() 583 ex->Nt[ict] = -1; in DMPlexTransformSetUp_Extrude() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/refine/bl/ |
| H A D | plexrefbl.c | 102 …PetscCall(PetscMalloc5(DM_NUM_POLYTOPES, &bl->Nt, DM_NUM_POLYTOPES, &bl->target, DM_NUM_POLYTOPES,… in DMPlexTransformSetUp_BL() 104 bl->Nt[ict] = -1; in DMPlexTransformSetUp_BL() 112 bl->Nt[ct] = 2; in DMPlexTransformSetUp_BL() 115 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL() 146 bl->Nt[ct] = 2; in DMPlexTransformSetUp_BL() 149 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL() 216 bl->Nt[ct] = 2; in DMPlexTransformSetUp_BL() 219 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL() 302 bl->Nt[ct] = 2; in DMPlexTransformSetUp_BL() 305 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/refine/regular/ |
| H A D | plexrefregular.c | 645 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellRefine_Regular() argument 1169 *Nt = 1; in DMPlexTransformCellRefine_Regular() 1176 *Nt = 2; in DMPlexTransformCellRefine_Regular() 1183 *Nt = 1; in DMPlexTransformCellRefine_Regular() 1190 *Nt = 2; in DMPlexTransformCellRefine_Regular() 1197 *Nt = 3; in DMPlexTransformCellRefine_Regular() 1204 *Nt = 2; in DMPlexTransformCellRefine_Regular() 1211 *Nt = 3; in DMPlexTransformCellRefine_Regular() 1218 *Nt = 4; in DMPlexTransformCellRefine_Regular() 1225 *Nt = 4; in DMPlexTransformCellRefine_Regular() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/refine/1d/ |
| H A D | plexref1d.c | 57 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellTransform_1D() argument 68 PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, NULL, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_1D() 72 …if (val == 1) PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, NULL, Nt, target, size, c… in DMPlexTransformCellTransform_1D() 73 …else PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target, size, cone, o… in DMPlexTransformCellTransform_1D()
|
| /petsc/src/ts/tests/ |
| H A D | ex13.c | 25 PetscInt i, p = 1, Nt = 10; in main() local 48 PetscCall(PetscOptionsGetRealArray(NULL, NULL, "-interptimes", times, &Nt, NULL)); in main() 63 for (i = 0; i < Nt; i++) { in main() 79 for (i = Nt - 1; i >= 0; i--) { in main() 90 for (i = Nt - 1; i >= 0; i--) { in main() 101 for (i = 0; i < Nt; i++) { in main()
|
| /petsc/src/dm/impls/plex/transform/impls/refine/alfeld/ |
| H A D | plexrefalfeld.c | 96 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellRefine_Alfeld() argument 151 *Nt = 3; in DMPlexTransformCellRefine_Alfeld() 157 *Nt = 4; in DMPlexTransformCellRefine_Alfeld() 163 … PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, rt, Nt, target, size, cone, ornt)); in DMPlexTransformCellRefine_Alfeld()
|
| /petsc/include/petsc/private/ |
| H A D | dmplextransformimpl.h | 86 PetscInt *Nt; /* The array of the number of target types */ member 99 PetscInt *Nt; // The array of the number of target types member 132 PetscInt *Nt; /* The array of the number of target types */ member
|
| /petsc/src/dm/impls/plex/transform/impls/filter/ |
| H A D | plextrfilter.c | 70 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellTransform_Filter() argument 79 …PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_Filter() 84 *Nt = 0; in DMPlexTransformCellTransform_Filter()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 1198 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellTransform() argument 1201 PetscUseTypeMethod(tr, celltransform, source, p, rt, Nt, target, size, cone, ornt); in DMPlexTransformCellTransform() 1214 …exTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *tar… in DMPlexTransformCellTransformIdentity() argument 1270 *Nt = 1; in DMPlexTransformCellTransformIdentity() 1277 *Nt = 1; in DMPlexTransformCellTransformIdentity() 1284 *Nt = 1; in DMPlexTransformCellTransformIdentity() 1291 *Nt = 1; in DMPlexTransformCellTransformIdentity() 1298 *Nt = 1; in DMPlexTransformCellTransformIdentity() 1305 *Nt = 1; in DMPlexTransformCellTransformIdentity() 1312 *Nt = 1; in DMPlexTransformCellTransformIdentity() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgmsh.c | 1800 PetscInt Nt = elem->numTags, t, r; in DMPlexCreateGmsh() local 1802 for (t = 0; t < Nt; ++t) { in DMPlexCreateGmsh() 1820 PetscInt Nt = elem->numTags, pdepth; in DMPlexCreateGmsh() local 1832 for (PetscInt t = 0; t < Nt; ++t) { in DMPlexCreateGmsh() 1849 PetscInt Nt = elem->numTags, t, r; in DMPlexCreateGmsh() local 1859 for (t = 0; t < Nt; ++t) { in DMPlexCreateGmsh() 1876 PetscInt Nt = elem->numTags; in DMPlexCreateGmsh() local 1878 for (PetscInt t = 0; t < Nt; ++t) { in DMPlexCreateGmsh()
|
| H A D | plexegads.c | 1158 int lid, Ner = 0, Ne, e, nc = 0, c, Nt, t; in DMPlexCreateGeom_Internal() local 1232 Nt = 2; in DMPlexCreateGeom_Internal() 1243 Nt = 4; in DMPlexCreateGeom_Internal() 1262 Nt = 8; in DMPlexCreateGeom_Internal() 1300 for (t = 0; t < Nt; ++t) { in DMPlexCreateGeom_Internal() 1304 … PetscCall(PetscPrintf(PETSC_COMM_SELF, "%d", cells[(cOff - Nt + t) * numCorners + c])); in DMPlexCreateGeom_Internal() 1360 int lid, Nf, fid, Ner = 0, Ne, e, Nt = 0, t; in DMPlexCreateGeom_Internal() local 1428 Nt = 2; in DMPlexCreateGeom_Internal() 1431 Nt = 4; in DMPlexCreateGeom_Internal() 1434 Nt = 8; in DMPlexCreateGeom_Internal() [all …]
|
| H A D | plex.c | 8614 PetscInt *rsize, *rcone, *rornt, Nt; in DMPlexMatSetClosureRefined() local 8618 PetscCall(DMPlexTransformCellTransform(tr, ct, point, NULL, &Nt, &rct, &rsize, &rcone, &rornt)); in DMPlexMatSetClosureRefined() 8619 numSubcells = rsize[Nt - 1]; in DMPlexMatSetClosureRefined() 8774 PetscInt *rsize, *rcone, *rornt, Nt; in DMPlexMatGetClosureIndicesRefined() local 8778 PetscCall(DMPlexTransformCellTransform(tr, ct, point, NULL, &Nt, &rct, &rsize, &rcone, &rornt)); in DMPlexMatGetClosureIndicesRefined() 8779 numSubcells = rsize[Nt - 1]; in DMPlexMatGetClosureIndicesRefined()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 555 PetscInt Nc, Nt = 1; in VecView_Plex_Local_HDF5_Internal() local 559 …version, 1, 1, 0)) PetscCall(DMPlexGetFieldTypes_Internal(dm, section, f, &Nt, &pStart, &pEnd, &ft… in VecView_Plex_Local_HDF5_Internal() 561 PetscCall(PetscMalloc3(Nt, &pStart, Nt, &pEnd, Nt, &ft)); in VecView_Plex_Local_HDF5_Internal() 564 for (PetscInt t = 0; t < Nt; ++t) { in VecView_Plex_Local_HDF5_Internal()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 1104 PetscInt *rsize, *rcone, *rornt, Nt; in SaveToFile() local 1109 PetscCall(DMPlexTransformCellTransform(tr, ct, c, NULL, &Nt, &rct, &rsize, &rcone, &rornt)); in SaveToFile() 1110 for (PetscInt r = 0; r < rsize[Nt - 1]; ++r) { in SaveToFile() 1113 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, rct[Nt - 1], c, r, &pNew)); in SaveToFile()
|