Lines Matching refs:daVector
111 DM da, daVector; in test_3d_compat() local
125 PetscCall(DMDACreateCompatibleDMDA(da, dof, &daVector)); in test_3d_compat()
126 if (namefields) PetscCall(NameFields(daVector, dof)); in test_3d_compat()
128 PetscCall(DMCreateGlobalVector(daVector, &vVector)); in test_3d_compat()
130 PetscCall(DMDAVecGetArrayDOF(daVector, vVector, &vVectora)); in test_3d_compat()
151 PetscCall(DMDestroy(&daVector)); in test_3d_compat()
163 DM da, daVector; in test_2d_compat() local
175 PetscCall(DMDACreateCompatibleDMDA(da, dof, &daVector)); in test_2d_compat()
176 if (namefields) PetscCall(NameFields(daVector, dof)); in test_2d_compat()
179 PetscCall(DMCreateGlobalVector(daVector, &vVector)); in test_2d_compat()
181 PetscCall(DMDAVecGetArrayDOF(daVector, vVector, &vVectora)); in test_2d_compat()
191 PetscCall(DMDAVecRestoreArrayDOF(daVector, vVector, &vVectora)); in test_2d_compat()
199 PetscCall(DMDestroy(&daVector)); in test_2d_compat()