Lines Matching refs:dmaProj
182 DM dmProj, dmaProj; in TestL2Projection() local
201 PetscCall(DMClone(dma, &dmaProj)); in TestL2Projection()
203 PetscCall(DMSetField(dmaProj, 0, NULL, (PetscObject)fe)); in TestL2Projection()
205 PetscCall(DMCreateDS(dmaProj)); in TestL2Projection()
208 PetscCall(DMGetGlobalVector(dmaProj, &ua)); in TestL2Projection()
209 PetscCall(DMGetGlobalVector(dmaProj, &rhs)); in TestL2Projection()
210 PetscCall(DMGetGlobalVector(dmaProj, &uproj)); in TestL2Projection()
219 PetscCall(DMProjectFunction(dmaProj, 0.0, funcs, NULL, INSERT_VALUES, ua)); in TestL2Projection()
222 PetscCall(DMComputeL2Diff(dmaProj, 0.0, funcs, NULL, ua, &error)); in TestL2Projection()
225 PetscCall(DMCreateInterpolation(dmProj, dmaProj, &Interp, &scaling)); in TestL2Projection()
231 PetscCall(DMComputeL2Diff(dmaProj, 0.0, funcs, NULL, ua, &error)); in TestL2Projection()
234 PetscCall(DMCreateMassMatrix(dmaProj, dmaProj, &mass)); in TestL2Projection()
240 PetscCall(DMCreateMassMatrix(dmProj, dmaProj, &mass2)); in TestL2Projection()
246 PetscCall(DMComputeL2Diff(dmaProj, 0.0, funcs, NULL, uproj, &error)); in TestL2Projection()
251 PetscCall(DMRestoreGlobalVector(dmaProj, &ua)); in TestL2Projection()
252 PetscCall(DMRestoreGlobalVector(dmaProj, &rhs)); in TestL2Projection()
253 PetscCall(DMRestoreGlobalVector(dmaProj, &uproj)); in TestL2Projection()
255 PetscCall(DMDestroy(&dmaProj)); in TestL2Projection()