Searched refs:Bv (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex248.c | 8 const PetscScalar *Bv; in main() local 26 PetscCall(MatDenseGetArrayRead(Bd, &Bv)); in main() 27 PetscCall(MatCreateKAIJ(A, p, q, NULL, Bv, &K)); in main() 28 PetscCall(MatDenseRestoreArrayRead(Bd, &Bv)); in main() 35 PetscCall(MatDenseGetArrayRead(Bd, &Bv)); in main() 36 PetscCall(MatKAIJSetT(K, p, q, Bv)); in main() 37 PetscCall(MatDenseRestoreArrayRead(Bd, &Bv)); in main()
|
| /petsc/src/dm/dt/interface/ |
| H A D | dt.c | 2844 PetscReal *Bv; in PetscDTLegendreIntegrate() local 2848 PetscCall(PetscMalloc1((ninterval + 1) * ndegree, &Bv)); in PetscDTLegendreIntegrate() 2850 PetscCall(PetscDTLegendreEval(ninterval + 1, x, ndegree, degrees, Bv, NULL, NULL)); in PetscDTLegendreIntegrate() 2854 if (Transpose) B[i + ninterval * j] = Bv[(i + 1) * ndegree + j] - Bv[i * ndegree + j]; in PetscDTLegendreIntegrate() 2855 else B[i * ndegree + j] = Bv[(i + 1) * ndegree + j] - Bv[i * ndegree + j]; in PetscDTLegendreIntegrate() 2858 PetscCall(PetscFree(Bv)); in PetscDTLegendreIntegrate()
|