Home
last modified time | relevance | path

Searched refs:DMStagVecGetArray (Results 1 – 21 of 21) sorted by relevance

/petsc/src/dm/impls/stag/tests/
H A Dex5.c39 PetscCall(DMStagVecGetArray(dmSol, solRefLocal, &arrSol)); in main()
42 PetscCall(DMStagVecGetArray(dmSol, rhsLocal, &arrRHS)); in main()
129 PetscCall(DMStagVecGetArray(dm, outLocal, &arrOut)); in ApplyOperator()
H A Dex11.c42 PetscCall(DMStagVecGetArray(dmSol, solRefLocal, &arrSol)); in main()
45 PetscCall(DMStagVecGetArray(dmSol, rhsLocal, &arrRHS)); in main()
132 PetscCall(DMStagVecGetArray(dm, outLocal, &arrOut)); in ApplyOperator()
H A Dex8.c42 PetscCall(DMStagVecGetArray(dmSol, solRefLocal, &arrSol)); in main()
45 PetscCall(DMStagVecGetArray(dmSol, rhsLocal, &arrRHS)); in main()
137 PetscCall(DMStagVecGetArray(dm, outLocal, &arrOut)); in ApplyOperator()
H A Dex51.c28 PetscCall(DMStagVecGetArray(dm, x, &x_array)); in main()
H A Dex12.c39 PetscCall(DMStagVecGetArray(dm, vecLocal2, &a2)); in main()
H A Dex19.c36 PetscCall(DMStagVecGetArray(dmCoarse, localCoarse, &arr)); in main()
H A Dex9.c40 PetscCall(DMStagVecGetArray(dm, vecLocal2, &a2)); in main()
H A Dex13.c147 PetscCall(DMStagVecGetArray(dm, vecLocal, &arr)); in Test2_1d()
208 PetscCall(DMStagVecGetArray(dm, vecLocal, &arr)); in Test2_2d()
314 PetscCall(DMStagVecGetArray(dm, vecLocal, &arr)); in Test2_3d()
H A Dex10.c39 PetscCall(DMStagVecGetArray(dm, vecLocal2, &a2)); in main()
H A Dex7.c40 PetscCall(DMStagVecGetArray(dm, vecLocal2, &a2)); in main()
/petsc/include/
H A Dpetscdmstag.h139 PETSC_EXTERN PetscErrorCode DMStagVecGetArray(DM, Vec, void *);
169 return DMStagVecGetArray(dm, v, a); in DMStagVecGetArrayDOF()
/petsc/src/dm/impls/stag/
H A Dstag1d.c67 PetscCall(DMStagVecGetArray(dmf, xf_local, &arrf)); in DMStagRestrictSimple_1d()
68 PetscCall(DMStagVecGetArray(dmc, xc_local, &arrc)); in DMStagRestrictSimple_1d()
107 PetscCall(DMStagVecGetArray(dmCoord, coordLocal, &arr)); in DMStagSetUniformCoordinatesExplicit_1d()
H A Dstagutils.c91 PetscCall(DMStagVecGetArray(subDM, coord1d_local, arr[d])); in DMStagGetProductCoordinateArrays_Private()
1606 PetscErrorCode DMStagVecGetArray(DM dm, Vec vec, void *array) in DMStagVecGetArray() function
H A Dstag2d.c74 PetscCall(DMStagVecGetArray(dmf, xf_local, &arrf)); in DMStagRestrictSimple_2d()
75 PetscCall(DMStagVecGetArray(dmc, xc_local, &arrc)); in DMStagRestrictSimple_2d()
146 PetscCall(DMStagVecGetArray(dmCoord, coordLocal, &arr)); in DMStagSetUniformCoordinatesExplicit_2d()
H A Dstag3d.c83 PetscCall(DMStagVecGetArray(dmf, xf_local, &arrf)); in DMStagRestrictSimple_3d()
84 PetscCall(DMStagVecGetArray(dmc, xc_local, &arrc)); in DMStagRestrictSimple_3d()
217 PetscCall(DMStagVecGetArray(dmCoord, coordLocal, &arr)); in DMStagSetUniformCoordinatesExplicit_3d()
/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c403 PetscCall(DMStagVecGetArray(ctx->dm_velocity, velocity_local, &arr_velocity)); in UpdateVelocity_2d()
493 PetscCall(DMStagVecGetArray(ctx->dm_velocity, velocity_local, &arr_velocity)); in UpdateVelocity_3d()
581 PetscCall(DMStagVecGetArray(ctx->dm_stress, stress_local, &arr_stress)); in UpdateStress_2d()
667 PetscCall(DMStagVecGetArray(ctx->dm_stress, stress_local, &arr_stress)); in UpdateStress_3d()
H A Dex1.c133 PetscCall(DMStagVecGetArray(dmSol, solRefLocal, &arrSol)); in main()
H A Dex2.c589 PetscCall(DMStagVecGetArray(dmSol, solRefLocal, &arrSol)); in CreateReferenceSolution()
H A Dex4.c1893 PetscCall(DMStagVecGetArray(dm_coefficients, coeff_local, &arr_coefficients)); in PopulateCoefficientData()
1910 PetscCall(DMStagVecGetArray(dm_coefficients, coeff_local, &arr_coefficients)); in PopulateCoefficientData()
H A Dex3.c1821 PetscCall(DMStagVecGetArray(dmSol, solRefLocal, &arrSol)); in CreateReferenceSolution()
/petsc/doc/manual/
H A Ddmcommonality.md39 …l we are referring to. This is done using `DMStagStencilLocation`. `DMStagVecGetArray()` returns a…