Home
last modified time | relevance | path

Searched refs:VecGetDM (Results 1 – 25 of 53) sorted by relevance

123

/petsc/src/dm/interface/
H A Ddmget.c46 PetscCall(VecGetDM(*g, &vdm)); in DMGetLocalVector()
92 PetscCall(VecGetDM(*g, &vdm)); in DMRestoreLocalVector()
155 PetscCall(VecGetDM(*g, &vdm)); in DMGetGlobalVector()
203 PetscCall(VecGetDM(g, &vdm)); in DMClearGlobalVectors()
241 PetscCall(VecGetDM(g, &vdm)); in DMClearLocalVectors()
278 PetscCall(VecGetDM(*g, &vdm)); in DMRestoreGlobalVector()
427 PetscCall(VecGetDM(link->X, &vdm)); in DMGetNamedGlobalVector()
477 PetscCall(VecGetDM(*X, &vdm)); in DMRestoreNamedGlobalVector()
565 PetscCall(VecGetDM(link->X, &vdm)); in DMGetNamedLocalVector()
615 PetscCall(VecGetDM(*X, &vdm)); in DMRestoreNamedLocalVector()
/petsc/src/dm/impls/plex/tests/
H A Dex36.c17 PetscCall(VecGetDM(*v, &dm)); in redistribute_vec()
70 PetscCall(VecGetDM(cell_geom, &cell_dm)); in dm_view_geometry()
85 PetscCall(VecGetDM(face_geom, &face_dm)); in dm_view_geometry()
/petsc/src/dm/impls/plex/
H A Dplexfvm.c76 PetscCall(VecGetDM(faceGeometry, &dmFace)); in DMPlexReconstructGradients_Internal()
78 PetscCall(VecGetDM(cellGeometry, &dmCell)); in DMPlexReconstructGradients_Internal()
81 PetscCall(VecGetDM(grad, &dmGrad)); in DMPlexReconstructGradients_Internal()
H A Dplexvtu.c278 PetscCall(VecGetDM(X, &dmX)); in DMPlexVTKWriteAll_VTU()
372 PetscCall(VecGetDM(X, &dmX)); in DMPlexVTKWriteAll_VTU()
544 PetscCall(VecGetDM(X, &dmX)); in DMPlexVTKWriteAll_VTU()
642 PetscCall(VecGetDM(X, &dmX)); in DMPlexVTKWriteAll_VTU()
771 PetscCall(VecGetDM(X, &dmX)); in DMPlexVTKWriteAll_VTU()
820 PetscCall(VecGetDM(X, &dmX)); in DMPlexVTKWriteAll_VTU()
H A Dplexfem.c1057 PetscCall(VecGetDM(faceGeometry, &dmFace)); in DMPlexInsertBoundaryValuesRiemann()
1060 PetscCall(VecGetDM(cellGeometry, &dmCell)); in DMPlexInsertBoundaryValuesRiemann()
1067 PetscCall(VecGetDM(Grad, &dmGrad)); in DMPlexInsertBoundaryValuesRiemann()
2015 PetscCall(VecGetDM(lu, &dm)); in DMPlexComputeL2FluxDiffVecLocal()
2016 PetscCall(VecGetDM(lmu, &mdm)); in DMPlexComputeL2FluxDiffVecLocal()
2017 PetscCall(VecGetDM(eFlux, &edm)); in DMPlexComputeL2FluxDiffVecLocal()
2110 PetscCall(VecGetDM(u, &dm)); in DMPlexComputeL2FluxDiffVec()
2115 PetscCall(VecGetDM(mu, &mdm)); in DMPlexComputeL2FluxDiffVec()
2159 PetscCall(VecGetDM(locC, &dmc)); in DMPlexComputeClementInterpolant()
2292 PetscCall(VecGetDM(locC, &dmC)); in DMPlexComputeGradientClementInterpolant()
[all …]
H A Dplexmetric.c994 PetscCall(VecGetDM(indicator, &dmIndi)); in DMPlexMetricCreateIsotropic()
1209 PetscCall(VecGetDM(determinant, &dmDet)); in DMPlexMetricEnforceSPD()
1306 PetscCall(VecGetDM(determinant, &dmDet)); in DMPlexMetricNormalize()
1341 PetscCall(VecGetDM(determinant, &dmDet)); in DMPlexMetricNormalize()
/petsc/src/dm/tests/
H A Dex8.c18 PetscCall(VecGetDM(v, &dm)); in VecView_Shell()
/petsc/src/dm/impls/da/
H A Dgr2.c145 PetscCall(VecGetDM(xin, &da)); in VecView_MPI_Draw_DA2d()
188 PetscCall(VecGetDM(xlocal, &dac)); in VecView_MPI_Draw_DA2d()
245 } else PetscCall(VecGetDM(xcoorl, &dag)); in VecView_MPI_Draw_DA2d()
440 PetscCall(VecGetDM(xin, &dm)); in VecView_MPI_HDF5_DA()
652 PetscCall(VecGetDM(xin, &da)); in VecView_MPI_DA()
796 PetscCall(VecGetDM(xin, &da)); in VecLoad_HDF5_DA()
890 PetscCall(VecGetDM(xin, &da)); in VecLoad_Binary_DA()
923 PetscCall(VecGetDM(xin, &da)); in VecLoad_Default_DA()
H A Dgrvtk.c114 PetscCall(VecGetDM(X, &daCurr)); in DMDAVTKWriteAll_VTS()
214 PetscCall(VecGetDM(X, &daCurr)); in DMDAVTKWriteAll_VTS()
331 PetscCall(VecGetDM(X, &daCurr)); in DMDAVTKWriteAll_VTR()
456 PetscCall(VecGetDM(X, &daCurr)); in DMDAVTKWriteAll_VTR()
H A Dgrglvis.c100 PetscCall(VecGetDM(ctx->xlocal, &da)); in DMDASampleGLVisFields_Private()
449 PetscCall(VecGetDM(xcoorl, &cda)); in DMDAView_GLVis_ASCII()
H A Dgr1.c172 PetscCall(VecGetDM(xin, &da)); in VecView_MPI_Draw_DA1d()
/petsc/src/snes/tutorials/
H A Dex36.c233 PetscCall(VecGetDM(u, &dm)); in CompareView()
372 PetscCall(VecGetDM(ctx->tmpc, &dmcdg)); in QuasiInterpolate()
374 PetscCall(VecGetDM(y, &dmc)); in QuasiInterpolate()
H A Dex13.c256 PetscCall(VecGetDM(u, &dm)); in ComputeSpectral()
364 PetscCall(VecGetDM(u, &dm)); in ComputeAdjoint()
474 PetscCall(VecGetDM(u, &dm)); in ErrorView()
H A Dex7.c230 PetscCall(VecGetDM(gauge, &dmAux)); in ComputeResidualLocal()
374 PetscCall(VecGetDM(auxVec, &auxDM)); in SetGauge_Identity()
H A Dex22.c156 PetscCall(VecGetDM(U, &packer)); in ComputeFunction()
H A Dex11.c339 PetscCall(VecGetDM(auxDataf, &dmAuxf)); in SetupProblem()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmshell.pxi68 PetscErrorCode VecGetDM(PetscVec, PetscDM*)
88 CHKERR(VecGetDM(v[0], &odm))
107 CHKERR(VecGetDM(v[0], &odm))
/petsc/src/dm/impls/plex/ftn-custom/
H A Dzplexfemf90.c39 *ierr = VecGetDM(*locA, &dmAux); in dmplexgetcellfields_()
/petsc/src/ts/utils/dmplexlandau/tutorials/
H A Dex2.c160 PetscCall(VecGetDM(X, &pack)); in testSpitzer()
277 PetscCall(VecGetDM(X, &dm)); in testStable()
325 PetscCall(VecGetDM(X, &dm)); in EInduction()
421 PetscCall(VecGetDM(X, &pack)); in Monitor()
/petsc/src/dm/impls/plex/exodusii/
H A Dplexexodusii2.c1278 PetscCall(VecGetDM(v, &dm)); in VecView_PlexExodusII_Internal()
1307 PetscCall(VecGetDM(v, &dm)); in VecLoad_PlexExodusII_Internal()
1333 PetscCall(VecGetDM(v, &dm)); in VecViewPlex_ExodusII_Nodal_Internal()
1385 PetscCall(VecGetDM(v, &dm)); in VecLoadPlex_ExodusII_Nodal_Internal()
1437 PetscCall(VecGetDM(v, &dm)); in VecViewPlex_ExodusII_Zonal_Internal()
1513 PetscCall(VecGetDM(v, &dm)); in VecLoadPlex_ExodusII_Zonal_Internal()
/petsc/src/ts/tutorials/
H A Dex11.c788 PetscCall(VecGetDM(facegeom, &dmFace)); in CreateMassMatrix()
790 PetscCall(VecGetDM(cellgeom, &dmCell)); in CreateMassMatrix()
962 PetscCall(VecGetDM(X, &dm)); in MonitorVTK()
985 PetscCall(VecGetDM(cellgeom, &dmCell)); in MonitorVTK()
1125 PetscCall(VecGetDM(sol, &dm)); in adaptToleranceFVMSetUp()
1146 PetscCall(VecGetDM(cellGeom, &cellDM)); in adaptToleranceFVMSetUp()
H A Dex52.c186 PetscCall(VecGetDM(faceGeom, &dmFace)); in FormFunction()
H A Dex18.c831 PetscCall(VecGetDM(cellgeom, &dmCell)); in SetInitialConditionFVM()
862 PetscCall(VecGetDM(X, &dm)); in MonitorFunctionals()
917 PetscCall(VecGetDM(cellgeom, &dmCell)); in MonitorFunctionals()
/petsc/src/dm/impls/shell/
H A Ddmshell.c405 PetscCall(VecGetDM(X, &vdm)); in DMShellSetGlobalVector()
497 PetscCall(VecGetDM(X, &vdm)); in DMShellSetLocalVector()
/petsc/src/snes/utils/dm/
H A Ddmadapt.c750 PetscCall(VecGetDM(adaptor->cellGeom, &adaptor->cellDM)); in DMAdaptorPreAdapt()
865 PetscCall(VecGetDM(locX, &dm)); in DMAdaptorComputeErrorIndicator_Gradient()
867 PetscCall(VecGetDM(errVec, &edm)); in DMAdaptorComputeErrorIndicator_Gradient()
966 PetscCall(VecGetDM(lu, &dm)); in DMAdaptorComputeErrorIndicator_Flux()

123