Searched refs:baseVecMapped (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/forest/tests/ |
| H A D | ex2.c | 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() [all …]
|