Home
last modified time | relevance | path

Searched refs:DMGetLocalVector (Results 1 – 25 of 152) sorted by relevance

1234567

/petsc/src/dm/impls/plex/tests/
H A Dex25.c38 PetscCall(DMGetLocalVector(dm, &locX)); in test0()
52 PetscCall(DMGetLocalVector(dm, &locX)); in test1()
53 PetscCall(DMGetLocalVector(dm, &locX_t)); in test1()
54 PetscCall(DMGetLocalVector(dm, &locA)); in test1()
75 PetscCall(DMGetLocalVector(dm, &locX)); in test2()
76 PetscCall(DMGetLocalVector(dm, &locX_t)); in test2()
77 PetscCall(DMGetLocalVector(dm, &locA)); in test2()
132 PetscCall(DMGetLocalVector(dm, &locX)); in test5()
152 PetscCall(DMGetLocalVector(dm, &locX)); in test6()
H A Dex101.c86 PetscCall(DMGetLocalVector(dm, &V_G2L)); in main()
91 PetscCall(DMGetLocalVector(dm, &V_local)); in main()
128 PetscCall(DMGetLocalVector(dm_read, &V_read_project2local)); in main()
129 PetscCall(DMGetLocalVector(dm_read, &V_read_output2local)); in main()
H A Dex23.c196 PetscCall(DMGetLocalVector(dm, &lx)); in TestFunctionProjection()
225 PetscCall(DMGetLocalVector(dm, &lu)); in TestFieldProjection()
232 PetscCall(DMGetLocalVector(dm, &lx)); in TestFieldProjection()
263 PetscCall(DMGetLocalVector(dmIn, &lu)); in TestFieldProjectionMultiple()
270 PetscCall(DMGetLocalVector(dm, &lx)); in TestFieldProjectionMultiple()
318 PetscCall(DMGetLocalVector(dm, &la)); in main()
/petsc/src/ts/utils/
H A Ddmdats.c62 PetscCall(DMGetLocalVector(dm, &Xdotloc)); in TSComputeIFunction_DMDA()
65 PetscCall(DMGetLocalVector(dm, &Xloc)); in TSComputeIFunction_DMDA()
81 PetscCall(DMGetLocalVector(dm, &Floc)); in TSComputeIFunction_DMDA()
116 PetscCall(DMGetLocalVector(dm, &Xloc)); in TSComputeIJacobian_DMDA()
119 PetscCall(DMGetLocalVector(dm, &Xdotloc)); in TSComputeIJacobian_DMDA()
154 PetscCall(DMGetLocalVector(dm, &Xloc)); in TSComputeRHSFunction_DMDA()
169 PetscCall(DMGetLocalVector(dm, &Floc)); in TSComputeRHSFunction_DMDA()
202 PetscCall(DMGetLocalVector(dm, &Xloc)); in TSComputeRHSJacobian_DMDA()
H A Ddmlocalts.c59 PetscCall(DMGetLocalVector(dm, &locX)); in TSComputeIFunction_DMLocal()
60 PetscCall(DMGetLocalVector(dm, &locX_t)); in TSComputeIFunction_DMLocal()
61 PetscCall(DMGetLocalVector(dm, &locF)); in TSComputeIFunction_DMLocal()
100 PetscCall(DMGetLocalVector(dm, &locX)); in TSComputeRHSFunction_DMLocal()
101 PetscCall(DMGetLocalVector(dm, &locF)); in TSComputeRHSFunction_DMLocal()
137 PetscCall(DMGetLocalVector(dm, &locX)); in TSComputeIJacobian_DMLocal()
138 PetscCall(DMGetLocalVector(dm, &locX_t)); in TSComputeIJacobian_DMLocal()
/petsc/src/dm/impls/stag/tests/
H A Dex5.c37 PetscCall(DMGetLocalVector(dmSol, &solRefLocal)); in main()
38 PetscCall(DMGetLocalVector(dmSol, &rhsLocal)); in main()
122 PetscCall(DMGetLocalVector(dm, &inLocal)); in ApplyOperator()
123 PetscCall(DMGetLocalVector(dm, &outLocal)); in ApplyOperator()
H A Dex11.c40 PetscCall(DMGetLocalVector(dmSol, &solRefLocal)); in main()
41 PetscCall(DMGetLocalVector(dmSol, &rhsLocal)); in main()
125 PetscCall(DMGetLocalVector(dm, &inLocal)); in ApplyOperator()
126 PetscCall(DMGetLocalVector(dm, &outLocal)); in ApplyOperator()
H A Dex8.c40 PetscCall(DMGetLocalVector(dmSol, &solRefLocal)); in main()
41 PetscCall(DMGetLocalVector(dmSol, &rhsLocal)); in main()
130 PetscCall(DMGetLocalVector(dm, &inLocal)); in ApplyOperator()
131 PetscCall(DMGetLocalVector(dm, &outLocal)); in ApplyOperator()
H A Dex19.c27 PetscCall(DMGetLocalVector(dmCoarse, &localCoarse)); in main()
28 PetscCall(DMGetLocalVector(dm, &localFine)); in main()
/petsc/src/snes/utils/
H A Ddmdasnes.c71 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputeFunction_DMDA()
91 PetscCall(DMGetLocalVector(dm, &Floc)); in SNESComputeFunction_DMDA()
130 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputeObjective_DMDA()
160 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputeJacobian_DMDA()
462 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputePicard_DMDA()
475 PetscCall(DMGetLocalVector(dm, &Floc)); in SNESComputePicard_DMDA()
505 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputePicardJacobian_DMDA()
H A Ddmlocalsnes.c59 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputeObjective_DMLocal()
88 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputeFunction_DMLocal()
89 PetscCall(DMGetLocalVector(dm, &Floc)); in SNESComputeFunction_DMLocal()
137 PetscCall(DMGetLocalVector(dm, &Xloc)); in SNESComputeJacobian_DMLocal()
/petsc/src/ts/tutorials/autodiff/adolc-utils/
H A Dmatfree.cxx49 PetscCall(DMGetLocalVector(da, &localX1)); in PetscAdolcIJacobianVectorProduct()
131 PetscCall(DMGetLocalVector(da, &localX1)); in PetscAdolcIJacobianVectorProductIDMass()
199 PetscCall(DMGetLocalVector(da, &localY)); in PetscAdolcIJacobianTransposeVectorProduct()
285 PetscCall(DMGetLocalVector(da, &localY)); in PetscAdolcIJacobianTransposeVectorProductIDMass()
/petsc/src/snes/tutorials/network/water/
H A Dwaterfunctions.c115 PetscCall(DMGetLocalVector(networkdm, &localX)); in WaterFormFunction()
116 PetscCall(DMGetLocalVector(networkdm, &localF)); in WaterFormFunction()
143 PetscCall(DMGetLocalVector(networkdm, &localX)); in WaterSetInitialGuess()
/petsc/src/snes/tutorials/network/power/
H A Dpower.c22 PetscCall(DMGetLocalVector(networkdm, &localX)); in FormFunction()
23 PetscCall(DMGetLocalVector(networkdm, &localF)); in FormFunction()
51 PetscCall(DMGetLocalVector(networkdm, &localX)); in SetInitialValues()
/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c384 PetscCall(DMGetLocalVector(ctx->dm_buoyancy, &buoyancy_local)); in UpdateVelocity_2d()
394 PetscCall(DMGetLocalVector(ctx->dm_stress, &stress_local)); in UpdateVelocity_2d()
401 PetscCall(DMGetLocalVector(ctx->dm_velocity, &velocity_local)); in UpdateVelocity_2d()
466 PetscCall(DMGetLocalVector(ctx->dm_buoyancy, &buoyancy_local)); in UpdateVelocity_3d()
483 PetscCall(DMGetLocalVector(ctx->dm_stress, &stress_local)); in UpdateVelocity_3d()
491 PetscCall(DMGetLocalVector(ctx->dm_velocity, &velocity_local)); in UpdateVelocity_3d()
579 PetscCall(DMGetLocalVector(ctx->dm_stress, &stress_local)); in UpdateStress_2d()
588 PetscCall(DMGetLocalVector(ctx->dm_velocity, &velocity_local)); in UpdateStress_2d()
596 PetscCall(DMGetLocalVector(ctx->dm_lame, &lame_local)); in UpdateStress_2d()
665 PetscCall(DMGetLocalVector(ctx->dm_stress, &stress_local)); in UpdateStress_3d()
[all …]
/petsc/src/ts/utils/libceed/
H A Ddmplextsceed.c21 PetscCall(DMGetLocalVector(dm, &locF)); in DMPlexTSComputeRHSFunctionFVMCEED()
/petsc/src/ts/tutorials/autodiff/
H A Dadr_ex5adj.cxx412 PetscCall(DMGetLocalVector(da, &localU)); in IFunctionActive()
543 PetscCall(DMGetLocalVector(da, &localU)); in RHSFunctionPassive()
544 PetscCall(DMGetLocalVector(da, &localF)); in RHSFunctionPassive()
624 PetscCall(DMGetLocalVector(da, &localU)); in RHSFunctionActive()
625 PetscCall(DMGetLocalVector(da, &localF)); in RHSFunctionActive()
759 PetscCall(DMGetLocalVector(da, &localU)); in IJacobianAdolc()
800 PetscCall(DMGetLocalVector(da, &localU)); in IJacobianByHand()
930 PetscCall(DMGetLocalVector(da, &localU)); in RHSJacobianByHand()
1056 PetscCall(DMGetLocalVector(da, &localU)); in RHSJacobianAdolc()
/petsc/src/ts/tutorials/advection-diffusion-reaction/
H A Dreaction_diffusion.c39 PetscCall(DMGetLocalVector(da, &localU)); in RHSFunction()
106 PetscCall(DMGetLocalVector(da, &localU)); in RHSJacobian()
247 PetscCall(DMGetLocalVector(da, &localU)); in IFunction()
316 PetscCall(DMGetLocalVector(da, &localU)); in IJacobian()
H A Dex6.c213 PetscCall(DMGetLocalVector(da, &localUold)); in IFunction_LaxFriedrichs()
261 PetscCall(DMGetLocalVector(da, &localUold)); in IFunction_LaxWendroff()
/petsc/src/dm/tests/
H A Dex32.c47 PetscCall(DMGetLocalVector(cda, &gcoords2)); in TestQ2Q1DA()
H A Dex22.c62 PetscCall(DMGetLocalVector(da, &vec)); in main()
/petsc/src/tao/complementarity/tutorials/
H A Dblackscholes.c231 PetscCall(DMGetLocalVector(user.dm, &localX)); in main()
316 PetscCall(DMGetLocalVector(user->dm, &localX)); in FormConstraints()
317 PetscCall(DMGetLocalVector(user->dm, &localF)); in FormConstraints()
/petsc/src/snes/tutorials/
H A Dex47cu.cu90 PetscCall(DMGetLocalVector(da, &xlocal)); in ComputeFunction()
160 PetscCall(DMGetLocalVector(da, &xlocal)); in ComputeJacobian()
/petsc/src/binding/petsc4py/demo/legacy/wrap-swig/
H A DBratu3D.c100 PetscCall(DMGetLocalVector(da,&localX)); in FormFunction()
178 PetscCall(DMGetLocalVector(da,&localX)); in FormJacobian()
/petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/
H A DBratu2D.F90211 PetscCall(DMGetLocalVector(da, localX, ierr))
240 PetscCall(DMGetLocalVector(da, localX, ierr))

1234567