| /petsc/src/dm/tests/output/ |
| H A D | ex36_1d.out | 1 10=>20, interp err = 0.0000e+00 2 20=>40, interp err = 0.0000e+00 3 40=>80, interp err = 0.0000e+00 4 80=>160, interp err = 0.0000e+00 5 160=>320, interp err = 0.0000e+00 6 320=>640, interp err = 0.0000e+00
|
| H A D | ex36_2d.out | 1 [10 x 10]=>[20 x 20], interp err = 1.9079e+00 2 [20 x 20]=>[40 x 40], interp err = 3.7490e-01 3 [40 x 40]=>[80 x 80], interp err = 7.6222e-02 4 [80 x 80]=>[160 x 160], interp err = 1.7144e-02 5 [160 x 160]=>[320 x 320], interp err = 4.0510e-03 6 [320 x 320]=>[640 x 640], interp err = 9.8338e-04
|
| H A D | ex36_2dp2.out | 1 [10 x 10]=>[30 x 10], interp err = 1.9539e+00 2 [20 x 20]=>[60 x 20], interp err = 4.3333e-01 3 [40 x 40]=>[120 x 40], interp err = 8.4606e-02 4 [80 x 80]=>[240 x 80], interp err = 1.8322e-02
|
| H A D | ex36_2dp1.out | 1 [10 x 10]=>[30 x 40], interp err = 1.7559e+00 2 [20 x 20]=>[60 x 80], interp err = 3.1952e-01 3 [40 x 40]=>[120 x 160], interp err = 6.1821e-02 4 [80 x 80]=>[240 x 320], interp err = 1.3690e-02
|
| H A D | ex36_3d.out | 1 [5 x 5 x 5]=>[10 x 10 x 10], interp err = 1.0343e+01 2 [10 x 10 x 10]=>[20 x 20 x 20], interp err = 2.4702e+00 3 [20 x 20 x 20]=>[40 x 40 x 40], interp err = 4.7587e-01 4 [40 x 40 x 40]=>[80 x 80 x 80], interp err = 9.3027e-02
|
| H A D | ex36_3dp1.out | 1 [5 x 5 x 5]=>[5 x 15 x 20], interp err = 2.4813e-01 2 [10 x 10 x 10]=>[10 x 30 x 40], interp err = 5.7117e-02 3 [20 x 20 x 20]=>[20 x 60 x 80], interp err = 1.4121e-02
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex70_1.out | 14 .... interp 24 .... interp 34 .... interp 44 .... interp 54 .... interp 64 .... interp 74 .... interp 84 .... interp 94 .... interp 104 .... interp
|
| H A D | ex70_1_matis.out | 14 .... interp 24 .... interp 34 .... interp 44 .... interp 54 .... interp 64 .... interp 74 .... interp 84 .... interp 94 .... interp 104 .... interp
|
| H A D | ex70_fetidp_saddlepoint.out | 15 .... interp 27 .... interp 39 .... interp 51 .... interp
|
| H A D | ex70_fetidp_saddlepoint_lumped.out | 15 .... interp 27 .... interp 39 .... interp 51 .... interp
|
| H A D | ex70_fetidp_lumped.out | 15 .... interp 27 .... interp 39 .... interp 51 .... interp
|
| H A D | ex70_fetidp.out | 15 .... interp 27 .... interp 39 .... interp 51 .... interp
|
| /petsc/src/dm/tests/ |
| H A D | ex21.c | 47 Mat interp; in test1_DAInjection3d() local 62 PetscCall(DMCreateInterpolation(cdac, cdaf, &interp, NULL)); in test1_DAInjection3d() 64 PetscCall(MatInterpolate(interp, coordsc, coordsf2)); in test1_DAInjection3d() 70 PetscCall(MatDestroy(&interp)); in test1_DAInjection3d()
|
| /petsc/src/ksp/pc/impls/hmg/ |
| H A D | hmg.c | 33 static PetscErrorCode PCHMGExpandInterpolation_Private(Mat subinterp, Mat *interp, PetscInt blocksi… in PCHMGExpandInterpolation_Private() argument 66 …atCreateAIJ(comm, rowsize, colsize, PETSC_DETERMINE, PETSC_DETERMINE, 0, d_nnz, 0, o_nnz, interp)); in PCHMGExpandInterpolation_Private() 67 PetscCall(MatSetOption(*interp, MAT_IGNORE_OFF_PROC_ENTRIES, PETSC_TRUE)); in PCHMGExpandInterpolation_Private() 68 PetscCall(MatSetOption(*interp, MAT_IGNORE_ZERO_ENTRIES, PETSC_TRUE)); in PCHMGExpandInterpolation_Private() 69 PetscCall(MatSetOption(*interp, MAT_NEW_NONZERO_ALLOCATION_ERR, PETSC_TRUE)); in PCHMGExpandInterpolation_Private() 70 PetscCall(MatSetFromOptions(*interp)); in PCHMGExpandInterpolation_Private() 72 PetscCall(MatSetUp(*interp)); in PCHMGExpandInterpolation_Private() 80 PetscCall(MatSetValues(*interp, 1, &row, nz, indices, values, INSERT_VALUES)); in PCHMGExpandInterpolation_Private() 85 PetscCall(MatAssemblyBegin(*interp, MAT_FINAL_ASSEMBLY)); in PCHMGExpandInterpolation_Private() 86 PetscCall(MatAssemblyEnd(*interp, MAT_FINAL_ASSEMBLY)); in PCHMGExpandInterpolation_Private()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex10.c | 488 static void RDEvaluate(PetscReal interp[][2], PetscReal deriv[][2], PetscInt q, const RDNode x[], P… in RDEvaluate() 496 n->E += interp[q][j] * x[i + j].E; in RDEvaluate() 497 n->T += interp[q][j] * x[i + j].T; in RDEvaluate() 506 …drature(RD rd, PetscReal hx, PetscInt *nq, PetscReal weight[], PetscReal interp[][2], PetscReal de… in RDGetQuadrature() 617 interp[q][j] = refinterp[q][j]; in RDGetQuadrature() 632 PetscReal hx, Theta, dt, weight[5], interp[5][2], deriv[5][2]; in RDIFunction_FE() local 646 PetscCall(RDGetQuadrature(rd, hx, &nq, weight, interp, deriv)); in RDIFunction_FE() 653 RDEvaluate(interp, deriv, q, x, i, &n, &nx); in RDIFunction_FE() 654 RDEvaluate(interp, deriv, q, x0, i, &n0, &n0x); in RDIFunction_FE() 655 RDEvaluate(interp, deriv, q, xdot, i, &nt, &ntx); in RDIFunction_FE() [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex24.c | 70 DMPlexInterpolatedFlag interp; in main() local 233 PetscCall(DMPlexIsInterpolated(dm1, &interp)); in main() 234 if (interp == DMPLEX_INTERPOLATED_NONE) { in main()
|
| H A D | ex18.c | 248 PetscInt interp = NONE, dim; in ProcessOptions() local 276 …, after_distribute)", "ex18.c", interpTypes, 4, interpTypes[options->interpolate], &interp, NULL)); in ProcessOptions() 277 options->interpolate = (InterpType)interp; in ProcessOptions()
|
| /petsc/src/ts/characteristic/interface/ |
| H A D | characteristic.c | 251 …ec vOld, PetscInt numComponents, PetscInt components[], PetscErrorCode (*interp)(Vec, PetscReal[],… in CharacteristicSetVelocityInterpolation() 259 c->velocityInterp = interp; in CharacteristicSetVelocityInterpolation() 264 …ec vOld, PetscInt numComponents, PetscInt components[], PetscErrorCode (*interp)(void *, PetscReal… in CharacteristicSetVelocityInterpolationLocal() 272 c->velocityInterpLocal = interp; in CharacteristicSetVelocityInterpolationLocal() 277 …, Vec v, PetscInt numComponents, PetscInt components[], PetscErrorCode (*interp)(Vec, PetscReal[],… in CharacteristicSetFieldInterpolation() 287 c->fieldInterp = interp; in CharacteristicSetFieldInterpolation() 292 …, Vec v, PetscInt numComponents, PetscInt components[], PetscErrorCode (*interp)(void *, PetscReal… in CharacteristicSetFieldInterpolationLocal() 302 c->fieldInterpLocal = interp; in CharacteristicSetFieldInterpolationLocal()
|
| /petsc/src/dm/impls/shell/ |
| H A D | dmshell.c | 814 PetscErrorCode DMShellSetCreateInterpolation(DM dm, PetscErrorCode (*interp)(DM, DM, Mat *, Vec *)) in DMShellSetCreateInterpolation() 822 dm->ops->createinterpolation = interp; in DMShellSetCreateInterpolation() 841 PetscErrorCode DMShellGetCreateInterpolation(DM dm, PetscErrorCode (**interp)(DM, DM, Mat *, Vec *)) in DMShellGetCreateInterpolation() 849 *interp = dm->ops->createinterpolation; in DMShellGetCreateInterpolation()
|
| /petsc/src/snes/impls/vi/rs/ |
| H A D | virs.c | 71 Mat interp; in DMCreateInterpolation_SNESVI() local 81 PetscCall((*dmsnesvi1->createinterpolation)(dm1, dm2, &interp, NULL)); in DMCreateInterpolation_SNESVI() 82 …PetscCall(MatCreateSubMatrix(interp, dmsnesvi2->inactive, dmsnesvi1->inactive, MAT_INITIAL_MATRIX,… in DMCreateInterpolation_SNESVI() 83 PetscCall(MatDestroy(&interp)); in DMCreateInterpolation_SNESVI()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMPlex.pyx | 60 cdef PetscBool interp = interpolate 85 numCorners, interp, cellVertices, 216 cdef PetscBool interp = interpolate 222 CHKERR(DMPlexCreateFromFile(ccomm, cfile, pname, interp, &newdm)) 247 cdef PetscBool interp = interpolate 250 CHKERR(DMPlexCreateCGNS(ccomm, ccgid, interp, &newdm)) 275 cdef PetscBool interp = interpolate 279 CHKERR(DMPlexCreateCGNSFromFile(ccomm, cfile, interp, &newdm)) 304 cdef PetscBool interp = interpolate 308 CHKERR(DMPlexCreateExodusFromFile(ccomm, cfile, interp, &newdm)) [all …]
|
| /petsc/src/snes/utils/dm/ |
| H A D | dmadapt.c | 770 Mat interp; in DMAdaptorTransferSolution() local 783 PetscCall(DMCreateInterpolation(dm, adm, &interp, NULL)); in DMAdaptorTransferSolution() 784 PetscCall(MatInterpolate(interp, x, ax)); in DMAdaptorTransferSolution() 785 PetscCall(DMInterpolate(dm, interp, adm)); in DMAdaptorTransferSolution() 786 PetscCall(MatDestroy(&interp)); in DMAdaptorTransferSolution()
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 2426 …rse, DM fine, PetscCtx ctx), PetscErrorCode (*interphook)(DM coarse, Mat interp, DM fine, PetscCtx… in DMRefineHookAdd() argument 2498 PetscErrorCode DMInterpolate(DM coarse, Mat interp, DM fine) in DMInterpolate() argument 2504 if (link->interphook) PetscCall((*link->interphook)(coarse, interp, fine, link->ctx)); in DMInterpolate() 2538 PetscErrorCode DMInterpolateSolution(DM coarse, DM fine, Mat interp, Vec coarseSol, Vec fineSol) in DMInterpolateSolution() argument 2544 if (interp) PetscValidHeaderSpecific(interp, MAT_CLASSID, 3); in DMInterpolateSolution() 2550 PetscCall((*interpsol)(coarse, fine, interp, coarseSol, fineSol)); in DMInterpolateSolution() 2551 } else if (interp) { in DMInterpolateSolution() 2552 PetscCall(MatInterpolate(interp, coarseSol, fineSol)); in DMInterpolateSolution()
|
| /petsc/src/snes/interface/ |
| H A D | snes.c | 4923 Mat interp; in SNESSolve() local 4928 PetscCall(DMCreateInterpolation(snes->dm, fine, &interp, NULL)); in SNESSolve() 4930 PetscCall(MatInterpolate(interp, x, xnew)); in SNESSolve() 4931 PetscCall(DMInterpolate(snes->dm, interp, fine)); in SNESSolve() 4932 PetscCall(MatDestroy(&interp)); in SNESSolve()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 3176 Mat interp; in DMPlexComputeInterpolatorGeneral() local 3202 PetscCall(MatCreate(PetscObjectComm((PetscObject)In), &interp)); in DMPlexComputeInterpolatorGeneral() 3203 PetscCall(MatSetType(interp, MATPREALLOCATOR)); in DMPlexComputeInterpolatorGeneral() 3204 PetscCall(MatSetSizes(interp, locRows, locCols, PETSC_DETERMINE, PETSC_DETERMINE)); in DMPlexComputeInterpolatorGeneral() 3205 PetscCall(MatSetUp(interp)); in DMPlexComputeInterpolatorGeneral() 3300 PetscCall(MatSetValues(interp, 1, &row, cpdim, &cindices[off], elemMat, INSERT_VALUES)); in DMPlexComputeInterpolatorGeneral() 3312 PetscCall(MatAssemblyBegin(interp, MAT_FINAL_ASSEMBLY)); in DMPlexComputeInterpolatorGeneral() 3313 PetscCall(MatAssemblyEnd(interp, MAT_FINAL_ASSEMBLY)); in DMPlexComputeInterpolatorGeneral() 3314 PetscCall(MatPreallocatorPreallocate(interp, PETSC_TRUE, In)); in DMPlexComputeInterpolatorGeneral() 3315 PetscCall(MatDestroy(&interp)); in DMPlexComputeInterpolatorGeneral() [all …]
|