<div dir="ltr">Hi guys,<div><br></div><div>This is rather a simple question. For objects that have both sequential and parallel versions (like Vec, Mat, etc), is there any benefit in directly calling to the sequential version instead of calling to the generic version (like VecCreateSeq instead of VecCreate) and running the code with 1 proc? I've always thought that PETSc would directly call the appropriate function at run time. Is this not the case?</div>
<div><br></div><div>I'm writing some wrappers for my code and i'm thinking if I need to consider different classes for seq and parallel or if I could get away by just working with the generic functions.</div><div>
<br></div><div>Thanks a lot,</div><div>Mohammad</div></div>