//! Perform a deep copy of the vector inline MultiVector copyAndInit(const MultiVector & v,double scalar) { MultiVector mv = v->clone_mv(); Thyra::assign(mv.ptr(),scalar); return mv; }
//! Perform a deep copy of the vector inline MultiVector deepcopy(const MultiVector & v) { return v->clone_mv(); }