| /petsc/src/dm/tests/ ! |
| H A D | ex15.c | 11 Mat Interp; in main() local 56 PetscCall(DMCreateInterpolation(da_c, da_f, &Interp, NULL)); in main() 57 PetscCall(MatMult(Interp, v_c, v_f)); in main() 59 PetscCall(MatMultTranspose(Interp, v_f, v_c)); in main() 62 PetscCall(MatDestroy(&Interp)); in main()
|
| /petsc/src/ksp/pc/impls/mg/ ! |
| H A D | mgadapt.c | 212 Mat Interp, InterpAdapt; in PCMGAdaptInterpolator_Internal() local 219 PetscCall(PCMGGetInterpolation(pc, l, &Interp)); in PCMGAdaptInterpolator_Internal() 220 if (Interp == fspace && !cspace) PetscFunctionReturn(PETSC_SUCCESS); in PCMGAdaptInterpolator_Internal() 221 PetscCall(DMAdaptInterpolator(cdm, dm, Interp, fsmooth, fspace, cspace, &InterpAdapt, pc)); in PCMGAdaptInterpolator_Internal() 238 …Mat Interp, Restrc; /* The interpolation operator from level l to l+1, and … in PCMGRecomputeLevelOperators_Internal() local 256 PetscCall(PCMGGetInterpolation(pc, l + 1, &Interp)); in PCMGRecomputeLevelOperators_Internal() 260 if (doA) PetscCall(MatGalerkin(Restrc, fA, Interp, reuse, 1.0, &A)); in PCMGRecomputeLevelOperators_Internal() 261 if (doB) PetscCall(MatGalerkin(Restrc, fB, Interp, reuse, 1.0, &B)); in PCMGRecomputeLevelOperators_Internal()
|
| /petsc/src/dm/impls/plex/tests/ ! |
| H A D | ex46.c | 129 Mat Interp; in main() local 142 PetscCall(DMCreateInterpolation(dm, adm, &Interp, NULL)); in main() 144 PetscCall(MatInterpolate(Interp, u, au)); in main() 146 PetscCall(MatDestroy(&Interp)); in main()
|
| H A D | ex19.c | 185 Mat Interp, mass, mass2; in TestL2Projection() local 225 PetscCall(DMCreateInterpolation(dmProj, dmaProj, &Interp, &scaling)); in TestL2Projection() 226 PetscCall(MatInterpolate(Interp, u, ua)); in TestL2Projection() 227 PetscCall(MatDestroy(&Interp)); in TestL2Projection()
|
| H A D | ex3.c | 802 Mat Interp; in CheckInterpolation() local 852 PetscCall(DMCreateInterpolation(dm, rdm, &Interp, &scaling)); in CheckInterpolation() 857 PetscCall(MatRestrict(Interp, iu, fu)); in CheckInterpolation() 859 } else PetscCall(MatInterpolate(Interp, iu, fu)); in CheckInterpolation() 871 PetscCall(MatDestroy(&Interp)); in CheckInterpolation()
|
| /petsc/src/snes/tests/ ! |
| H A D | ex8.c | 525 Mat Interp, InterpAdapt = NULL; in CheckTransfer() local 565 PetscCall(DMCreateInterpolation(dm, rdm, &Interp, &scaling)); in CheckTransfer() 566 PetscCall(MatInterpolate(Interp, iu, fu)); in CheckTransfer() 569 PetscCall(DMCreateInterpolation(dm, rdm, &Interp, &scaling)); in CheckTransfer() 570 PetscCall(MatRestrict(Interp, iu, fu)); in CheckTransfer() 574 PetscCall(DMCreateInjection(dm, rdm, &Interp)); in CheckTransfer() 575 PetscCall(MatRestrict(Interp, iu, fu)); in CheckTransfer() 614 PetscCall(DMAdaptInterpolator(dm, rdm, Interp, smoother, fVM, iVM, &InterpAdapt, user)); in CheckTransfer() 639 PetscCall(MatDestroy(&Interp)); in CheckTransfer()
|
| /petsc/src/ts/tutorials/ ! |
| H A D | ex45.c | 433 Mat Interp; in TransferVecs() local 437 PetscCall(DMCreateInterpolation(dm, ctx->remesh_dm, &Interp, NULL)); in TransferVecs() 440 PetscCall(MatMult(Interp, vin[i], vout[i])); in TransferVecs() 442 PetscCall(MatDestroy(&Interp)); in TransferVecs()
|
| /petsc/src/snes/utils/ ! |
| H A D | dmsnes.c | 126 static PetscErrorCode DMInterpolateHook_DMSNES(DM dm, Mat Interp, DM dmf, PetscCtx ctx) in DMInterpolateHook_DMSNES() argument
|