Home
last modified time | relevance | path

Searched refs:VecGetValues (Results 1 – 15 of 15) sorted by relevance

/petsc/src/vec/vec/tutorials/
H A Dex2f.F9067 PetscCallA(VecGetValues(x, ione, [i], value, ierr))
/petsc/src/mat/tests/
H A Dex146.c119 VecGetValues(fin, local_n0 * N1 * N2, indx4, x_arr); in main()
124 VecGetValues(fout1, local_n0 * N1 * N2, indx4, y_arr); in main()
H A Dex144.c130 PetscCall(VecGetValues(fin, local_n0 * N1, indx4, (PetscScalar *)x_arr)); in main()
136 PetscCall(VecGetValues(fout1, local_n0 * N1, indx4, y_arr)); in main()
/petsc/src/snes/tests/
H A Dex17.c527 PetscCall(VecGetValues(x1, 1, &index, &xx_0)); in FormFunction1_block()
528 PetscCall(VecGetValues(x2, 1, &index, &xx_1)); in FormFunction1_block()
561 PetscCall(VecGetValues(x1, 1, &index, &xx_0)); in FormJacobian1_block()
562 PetscCall(VecGetValues(x2, 1, &index, &xx_1)); in FormJacobian1_block()
/petsc/src/vec/vec/tests/
H A Dex36.c74 PetscCall(VecGetValues(x, m, indices, values)); in main()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscvec.pxi96 PetscErrorCode VecGetValues(PetscVec, PetscInt, PetscInt[], PetscScalar[])
402 CHKERR(VecGetValues(vec, ni, i, v))
H A DVec.pyx2748 getValues, petsc.VecGetValues
2753 CHKERR(VecGetValues(self.vec, 1, &ival, &sval))
2776 getValue, setValues, petsc.VecGetValues
/petsc/src/dm/impls/network/
H A Dnetworkview.c59 PetscCall(VecGetValues(allVertexCoords, 2, vertexOffsets, vertexCoords)); in DMView_Network_CSV()
/petsc/src/tao/leastsquares/impls/pounders/
H A Dpounders.c44 PetscCall(VecGetValues(F, 1, &row, &fr)); in pounders_feval()
45 PetscCall(VecGetValues(F, 1, &col, &fc)); in pounders_feval()
165 PetscCall(VecGetValues(tao->res_weights_v, 1, &i, &factor)); in pounders_update_res()
173 PetscCall(VecGetValues(tao->res_weights_v, 1, &i, &wii)); in pounders_update_res()
/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmproducts.c496 PetscCall(VecGetValues(dots->diagonal_dup, 1, &idx, v)); in LMProductsGetDiagonalValue()
/petsc/doc/manual/
H A Dfortran.md186 PetscCall(VecGetValues(v, one, idx, [val], ierr))
H A Dvec.md365 You can call `VecGetValues()` to pull local values from a vector (but
1000 `VecGetValues()` can only access
/petsc/include/
H A Dpetscvec.h359 PETSC_EXTERN PetscErrorCode VecGetValues(Vec, PetscInt, const PetscInt[], PetscScalar[]);
/petsc/src/vec/vec/interface/
H A Drvector.c969 PetscErrorCode VecGetValues(Vec x, PetscInt ni, const PetscInt ix[], PetscScalar y[]) in VecGetValues() function
/petsc/src/dm/impls/plex/
H A Dplextree.c3353 if (gatheredValues) PetscCall(VecGetValues(fineVec, dof, pInd, pVal)); in DMPlexTransferInjectorTree()