Function opensn::CopyVecToSTLvectorWithGhosts

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.