Lines Matching refs:baseVecMapped
245 Vec baseVec, baseVecMapped; in main() local
252 PetscCall(DMGetGlobalVector(preForest, &baseVecMapped)); in main()
253 PetscCall(DMForestTransferVecFromBase(preForest, baseVec, baseVecMapped)); in main()
254 PetscCall(VecViewFromOptions(baseVecMapped, NULL, "-vec_map_base_view")); in main()
257 PetscCall(VecAXPY(baseVecMapped, -1., preVec)); in main()
258 PetscCall(VecViewFromOptions(baseVecMapped, NULL, "-vec_map_diff_view")); in main()
259 PetscCall(VecNorm(baseVecMapped, NORM_2, &diff)); in main()
269 PetscCall(DMRestoreGlobalVector(preForest, &baseVecMapped)); in main()
331 Vec baseVec, baseVecMapped; in main() local
339 PetscCall(DMGetGlobalVector(preForest, &baseVecMapped)); in main()
340 PetscCall(DMForestTransferVecFromBase(preForest, baseVec, baseVecMapped)); in main()
341 PetscCall(VecViewFromOptions(baseVecMapped, NULL, "-vec_map_base_view")); in main()
344 PetscCall(VecAXPY(baseVecMapped, -1., preVec)); in main()
345 PetscCall(VecViewFromOptions(baseVecMapped, NULL, "-vec_map_diff_view")); in main()
346 PetscCall(VecNorm(baseVecMapped, NORM_2, &diff)); in main()
356 PetscCall(DMRestoreGlobalVector(preForest, &baseVecMapped)); in main()