Searched refs:interpolator (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/snes/tests/ |
| H A D | ex2.c | 262 DMInterpolationInfo interpolator; in main() local 283 PetscCall(DMInterpolationCreate(PETSC_COMM_WORLD, &interpolator)); in main() 284 PetscCall(DMInterpolationSetDim(interpolator, spaceDim)); in main() 285 PetscCall(DMInterpolationAddPoints(interpolator, Np, pcoords)); in main() 286 PetscCall(DMInterpolationSetUp(interpolator, dm, pointsAllProcs, PETSC_FALSE)); in main() 288 …interpolator->n; ++c) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]Point %" PetscInt_F… in main() 290 PetscCall(VecView(interpolator->coords, PETSC_VIEWER_STDOUT_WORLD)); in main() 314 PetscCall(VecCreateSeq(PETSC_COMM_SELF, interpolator->n * Nc, &fieldVals)); in main() 315 PetscCall(DMInterpolationSetDof(interpolator, Nc)); in main() 316 PetscCall(DMInterpolationEvaluate(interpolator, dm, lu, fieldVals)); in main() [all …]
|
| /petsc/doc/manual/ |
| H A D | ksp.md | 1387 …. However, an adaptive procedure can optimize the coefficients of the interpolator to reproduce pa… 1399 …interpolator $P$ is intended to accurately reproduce "smooth" functions from the coarse space in t… 1434 and we will treat each row of the interpolator as a separate optimization problem. We could allow a… 1494 …at eigenvalue was not adequately represented by $P^l_{l+1}`$, and the interpolator should be recom…
|