<div dir="ltr">Hello<div><br></div><div>I'm performing an adjoint sensitivity analysis in a transient problem and I need to save the entire solution history. I don't have many degrees of freedom or time steps so I should be able to avoid memory problems. I've thought of creating a std::vector<Vec> and save all the PETSc Vec that I get from TSGetSolution there. Would this be a problem if I'm running the simulation in parallel? Is there a better way to save the entire solution history in memory?</div><div><br></div><div>Thanks</div><div>Miguel<br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="verdana, sans-serif"><b>Miguel Angel Salazar de Troya</b></font><span><font color="#888888"><br><font face="arial,helvetica,sans-serif">Graduate Research Assistant<br>Department of Mechanical Science and Engineering<br></font>University of Illinois at Urbana-Champaign<br>(217) 550-2360<br>
<a href="mailto:salaza11@illinois.edu" target="_blank">salaza11@illinois.edu</a></font></span><div><br></div></div>
</div></div>