Home
last modified time | relevance | path

Searched refs:DMGetApplicationContext (Results 1 – 25 of 43) sorted by relevance

12

/petsc/src/dm/tutorials/
H A Dswarm_ex3.c27 PetscCall(DMGetApplicationContext(dm, &dmregular)); in _DMLocatePoints_DMDARegular_IS()
94 PetscCall(DMGetApplicationContext(dm, &dmregular)); in DMGetNeighbors_DMDARegular()
/petsc/src/dm/impls/da/
H A Dgrglvis.c46 PetscCall(DMGetApplicationContext(da, &dactx)); in DMDAGetNumElementsGhosted()
102 PetscCall(DMGetApplicationContext(da, &dactx)); in DMDASampleGLVisFields_Private()
256 PetscCall(DMGetApplicationContext(daview, &dactx)); in DMSetUpGLVisViewer_DMDA()
476 PetscCall(DMGetApplicationContext(da, &dactx)); in DMDAView_GLVis_ASCII()
H A Ddacreate.c174 PetscCall(DMGetApplicationContext(dm, &ctx)); in DMCreateSubDM_DA()
/petsc/src/ts/tests/
H A Dex27.c78 PetscCall(DMGetApplicationContext(sw, &user)); in SetInitialCoordinates()
144 PetscCall(DMGetApplicationContext(dmSw, &user)); in SetInitialConditions()
416 PetscCall(DMGetApplicationContext(dm, &user)); in InitializeSolve()
H A Dex28.c72 PetscCall(DMGetApplicationContext(sw, &user)); in SetInitialCoordinates()
130 PetscCall(DMGetApplicationContext(dmSw, &user)); in SetInitialConditions()
471 PetscCall(DMGetApplicationContext(dm, &user)); in InitializeSolve()
/petsc/src/ksp/pc/impls/telescope/
H A Dtelescope_coarsedm.c124 PetscCall(DMGetApplicationContext(ctx->dm_fine, &dmfine_appctx)); in PCTelescopeSetUp_CoarseDM()
131 PetscCall(DMGetApplicationContext(ctx->dm_coarse, &dmcoarse_appctx)); in PCTelescopeSetUp_CoarseDM()
/petsc/src/ksp/ksp/tutorials/
H A Dex28.c76 PetscCall(DMGetApplicationContext(da, &x)); in ComputeRHS()
H A Dex73.c352 PetscCall(DMGetApplicationContext(dm, &ctx)); in DMCreateMatrix_ShellDA()
787 PetscCall(DMGetApplicationContext(first, &ctx)); in test_hierarchy()
866 PetscCall(DMGetApplicationContext(dmF, &user)); in test_mg()
888 PetscCall(DMGetApplicationContext(first, &ctx)); in test_mg()
/petsc/src/dm/impls/swarm/tests/
H A Dex4.c315 PetscCall(DMGetApplicationContext(sw, &user)); in SetProblem()
373 PetscCall(DMGetApplicationContext(sw, &user)); in InitializeSolve()
407 PetscCall(DMGetApplicationContext(sw, &user)); in ComputeError()
H A Dex5.c242 PetscCall(DMGetApplicationContext(sw, &user)); in SetProblem()
387 PetscCall(DMGetApplicationContext(sw, &user)); in InitializeSolveAndSwarm()
436 PetscCall(DMGetApplicationContext(sw, &user)); in ComputeError()
H A Dex6.c499 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles()
809 PetscCall(DMGetApplicationContext(sw, &user)); in SetProblem()
923 PetscCall(DMGetApplicationContext(sw, &user)); in InitializeSolveAndSwarm()
974 PetscCall(DMGetApplicationContext(sw, &user)); in ComputeError()
/petsc/src/ts/utils/dmplexlandau/tutorials/
H A Dex1.c30 PetscCall(DMGetApplicationContext(dm, &ctx)); in landau_field_print_access_callback()
99 if (!ctx) PetscCall(DMGetApplicationContext(dm, &ctx)); in SetMaxwellians()
363 PetscCall(DMGetApplicationContext(pack, &ctx)); in main()
H A Dex2.c376 PetscCall(DMGetApplicationContext(pack, &ctx)); in FormSource()
495 PetscCall(DMGetApplicationContext(dm, &ctx)); in PreStep()
650 PetscCall(DMGetApplicationContext(pack, &ctx)); in main()
/petsc/src/dm/interface/
H A Ddmgenerate.c195 PetscCall(DMGetApplicationContext(dm, &ctx)); in DMAdaptLabel()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c207 PetscCall(DMGetApplicationContext(dm, &ctx)); in computeFieldEnergy()
406 PetscCall(DMGetApplicationContext(sw, &user)); in CreateVelocityDM()
413 PetscCall(DMGetApplicationContext(user->landau_pack, &ctx)); in CreateVelocityDM()
991 PetscCall(DMGetApplicationContext(sw, (void *)&user)); in ComputeFieldAtParticles_Primal()
1129 PetscCall(DMGetApplicationContext(sw, &user)); in ComputeFieldAtParticles()
1425 PetscCall(DMGetApplicationContext(sw, (void **)&user)); in SetProblem()
1549 PetscCall(DMGetApplicationContext(sw, &user)); in InitializeSolveAndSwarm()
1585 PetscCall(DMGetApplicationContext(sw, &ctx)); in MigrateParticles()
H A Dex2.c444 PetscCall(DMGetApplicationContext(dm, &ctx)); in computeFieldEnergy()
1532 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles_Coulomb()
1575 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles_Primal()
1716 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles_Mixed()
1839 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles()
2149 PetscCall(DMGetApplicationContext(sw, &ctx)); in SetProblem()
2273 PetscCall(DMGetApplicationContext(sw, &ctx)); in InitializeSolveAndSwarm()
2316 PetscCall(DMGetApplicationContext(sw, &ctx)); in MigrateParticles()
H A Dex4.c606 PetscCall(DMGetApplicationContext(dm, &ctx)); in computeFieldEnergy()
929 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeMomentFields()
2156 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles_Coulomb()
2199 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles_Primal()
2320 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles_Mixed()
2444 PetscCall(DMGetApplicationContext(sw, &ctx)); in ComputeFieldAtParticles()
2754 PetscCall(DMGetApplicationContext(sw, &ctx)); in SetProblem()
2878 PetscCall(DMGetApplicationContext(sw, &ctx)); in InitializeSolveAndSwarm()
2921 PetscCall(DMGetApplicationContext(sw, &ctx)); in MigrateParticles()
/petsc/src/snes/tutorials/
H A Dex22.c253 PetscCall(DMGetApplicationContext(packer, &user)); in Monitor()
H A Dex30.c971 PetscCall(DMGetApplicationContext(da, &user)); in Initialize()
1016 PetscCall(DMGetApplicationContext(da, &user)); in DoOutput()
1103 PetscCall(DMGetApplicationContext(da, &user)); in ViscosityField()
1159 PetscCall(DMGetApplicationContext(da, &user)); in StressField()
/petsc/src/snes/utils/dm/
H A Ddmadapt.c774 PetscCall(DMGetApplicationContext(dm, &ctx)); in DMAdaptorTransferSolution()
871 PetscCall(DMGetApplicationContext(plex, &ctx)); in DMAdaptorComputeErrorIndicator_Gradient()
977 PetscCall(DMGetApplicationContext(dm, &ctx)); in DMAdaptorComputeErrorIndicator_Flux()
1326 PetscCall(DMGetApplicationContext(adaptor->idm, &ctx)); in DMAdaptorAdapt_Sequence_Private()
/petsc/src/dm/impls/swarm/
H A Dswarmpic.c1141 PetscCall(DMGetApplicationContext(sw, &ctx)); in DMSwarmInitializeCoordinates()
1158 PetscCall(DMGetApplicationContext(sw, &ctx)); in DMSwarmInitializeCoordinates()
1231 PetscCall(DMGetApplicationContext(sw, &ctx)); in DMSwarmInitializeVelocities()
H A Dswarm.c682 PetscCall(DMGetApplicationContext(dmFine, &ctx)); in DMCreateMassMatrix_Swarm()
904 PetscCall(DMGetApplicationContext(dmFine, &ctx)); in DMSwarmCreateMassMatrixSquare()
1092 PetscCall(DMGetApplicationContext(dm, &ctx)); in DMCreateGradientMatrix_Swarm()
2885 PetscCall(DMGetApplicationContext(sw, &ctx)); in DMSwarmDuplicate()
/petsc/src/ts/utils/
H A Dtsconvest.c132 PetscCall(DMGetApplicationContext(ce->idm, &ctx)); in PetscConvEstGetConvRateTS_Spatial_Private()
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c858 if (!ctx) PetscCall(DMGetApplicationContext(dm, &ctx)); in DMPlexLandauAddMaxwellians()
897 if (!ctx) PetscCall(DMGetApplicationContext(dm, &ctx)); in LandauSetInitialCondition()
2222 …PetscCall(DMGetApplicationContext(pack, &ctx)); // uses ctx->num_grids; ctx->plex[grid]; ctx->batc… in DMPlexLandauAccess()
2274 PetscCall(DMGetApplicationContext(*dm, &ctx)); in DMPlexLandauDestroyVelocitySpace()
2407 PetscCall(DMGetApplicationContext(pack, &ctx)); in DMPlexLandauPrintNorms()
2568 PetscCall(DMGetApplicationContext(pack, &ctx)); in DMPlexLandauCreateMassMatrix()
2687 PetscCall(DMGetApplicationContext(pack, &ctx)); in DMPlexLandauIFunction()
2758 PetscCall(DMGetApplicationContext(pack, &ctx)); in DMPlexLandauIJacobian()
/petsc/src/snes/utils/
H A Dconvest.c345 PetscCall(DMGetApplicationContext(ce->idm, &ctx)); in PetscConvEstGetConvRateSNES_Private()

12