Function opensn::CopyVecToSTLvectorWithGhosts
Defined in File petsc_utils.h
Function Documentation
-
void opensn::CopyVecToSTLvectorWithGhosts(Vec x, std::vector<double> &data, size_t N, bool resize_STL = true)
Copies a PETSc vector to a STL vector. Only the local portion is copied.