Home
last modified time | relevance | path

Searched refs:interpolated (Results 1 – 10 of 10) sorted by relevance

/petsc/src/dm/impls/plex/tests/
H A Dex55.c92 PetscBool interpolated; in CheckInterpolated() local
98 interpolated = (PetscBool)(iflg == DMPLEX_INTERPOLATED_FULL); in CheckInterpolated()
99interpolated == expectedInterpolated, PetscObjectComm((PetscObject)dm), PETSC_ERR_PLIB, "Expected … in CheckInterpolated()
106 PetscBool distributed, interpolated = expectedInterpolated; in CheckDistributedInterpolated() local
114 interpolated = PETSC_FALSE; in CheckDistributedInterpolated()
128 PetscCall(CheckInterpolated(dm, interpolated)); in CheckDistributedInterpolated()
191 PetscBool interpolated = PETSC_TRUE, flg; in main() local
197 PetscCall(PetscOptionsGetBool(NULL, "orig_", "-dm_plex_interpolate", &interpolated, NULL)); in main()
198 PetscCall(CheckInterpolated(dm, interpolated)); in main()
211 PetscCall(CheckInterpolated(dm, interpolated)); in main()
[all …]
H A Dex18.c649 DMPlexInterpolatedFlag interpolated; in CustomView() local
654 PetscCall(DMPlexIsInterpolatedCollective(dm, &interpolated)); in CustomView()
656 …ewerASCIIPrintf(v, "DMPlexIsInterpolatedCollective: %s\n", DMPlexInterpolatedFlags[interpolated])); in CustomView()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMUtils.pyx49 """Calculate interpolated field values at the interpolation points.
58 The local vector containing the field to be interpolated.
60 A vector capable of holding the interpolated field values.
107 """Return the number of fields interpolated at a point.
139 """Set the number of fields interpolated at a point.
186 """Return a `Vec` which can hold all the interpolated field values.
202 """Restore a Vec which can hold all the interpolated field values.
209 A vector capable of holding the interpolated field values.
/petsc/src/dm/impls/plex/
H A Dplexinterpolate.c1537 DMPlexInterpolatedFlag interpolated; in DMPlexInterpolate() local
1550 PetscCall(DMPlexIsInterpolated(dm, &interpolated)); in DMPlexInterpolate()
1551 …PetscCheck(interpolated != DMPLEX_INTERPOLATED_PARTIAL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Not… in DMPlexInterpolate()
1552 if (interpolated == DMPLEX_INTERPOLATED_FULL) { in DMPlexInterpolate()
1647 plex->interpolated = plex->interpolatedCollective = DMPLEX_INTERPOLATED_FULL; in DMPlexInterpolate()
1795 DMPlexInterpolatedFlag interpolated; in DMPlexUninterpolate() local
1804 PetscCall(DMPlexIsInterpolated(dm, &interpolated)); in DMPlexUninterpolate()
1805 …PetscCheck(interpolated != DMPLEX_INTERPOLATED_PARTIAL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Not… in DMPlexUninterpolate()
1806 if (interpolated == DMPLEX_INTERPOLATED_NONE || dim <= 1) { in DMPlexUninterpolate()
1890 plex->interpolated = plex->interpolatedCollective = DMPLEX_INTERPOLATED_NONE; in DMPlexUninterpolate()
[all …]
H A Dplexcreate.c5212 DMPlexInterpolatedFlag interpolated; in DMSetFromOptions_Plex() local
5214 PetscCall(DMPlexIsInterpolated(dm, &interpolated)); in DMSetFromOptions_Plex()
5215 if (interpolated == DMPLEX_INTERPOLATED_FULL && !interpolate) { in DMSetFromOptions_Plex()
5220 } else if (interpolated != DMPLEX_INTERPOLATED_FULL && interpolate) { in DMSetFromOptions_Plex()
5852 mesh->interpolated = DMPLEX_INTERPOLATED_INVALID; in DMCreate_Plex()
7420 ((DM_Plex *)(*dm)->data)->interpolated = DMPLEX_INTERPOLATED_FULL; in DMPlexCreateEphemeral()
H A Dplexsubmesh.c3939 DMPlexInterpolatedFlag interpolated; in DMPlexCreateSubmesh() local
3951 PetscCall(DMPlexIsInterpolated(dm, &interpolated)); in DMPlexCreateSubmesh()
3952 …PetscCheck(interpolated != DMPLEX_INTERPOLATED_PARTIAL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Not… in DMPlexCreateSubmesh()
3953 if (interpolated) { in DMPlexCreateSubmesh()
/petsc/doc/changes/
H A D313.md193 interpolated
195 plex is interpolated on all ranks
/petsc/src/dm/dt/dualspace/impls/lagrange/
H A Ddspacelagrange.c1871 DMPlexInterpolatedFlag interpolated; in DMPlexPointIsTensor() local
1874 PetscCall(DMPlexIsInterpolated(dm, &interpolated)); in DMPlexPointIsTensor()
1875 …PetscCheck(interpolated == DMPLEX_INTERPOLATED_FULL, PetscObjectComm((PetscObject)dm), PETSC_ERR_A… in DMPlexPointIsTensor()
1996 DMPlexInterpolatedFlag interpolated; in PetscDualSpaceSetUp_Lagrange() local
2045 PetscCall(DMPlexIsInterpolated(dm, &interpolated)); in PetscDualSpaceSetUp_Lagrange()
2046 if (interpolated != DMPLEX_INTERPOLATED_FULL) { in PetscDualSpaceSetUp_Lagrange()
2059 …PetscCheck(interpolated == DMPLEX_INTERPOLATED_FULL || !continuous || (PetscAbsInt(formDegree) <= … in PetscDualSpaceSetUp_Lagrange()
/petsc/include/petsc/private/
H A Ddmpleximpl.h145 DMPlexInterpolatedFlag interpolated; member
/petsc/doc/manual/
H A Dksp.md1393 …trix and $M$ is the smoother. Note that for defect-correction MG, the interpolated solution from t…
1438 …r, there are many smooth functions from the coarse space that we want interpolated accurately, and…