Hey all, This is the first and hopefully hardest step towards getting time-dependent adjoints support going. The patch attached will enable the user to save and retrieve solutions at all timesteps. The user will do this by declaring a MemorySolutionHistory object and then passing a reference to that object to a SolutionHistory object via a setter function. The library will then automatically store the solution at all timesteps in an appropriate data structure.
The next step is defining a new adjoint_advance_timestep function that will use the retrieve function in MemorySolutionHistory and prepare the vectors for reassembly of the stiffness matrix and doing the adjoint.solve(). Please provide your comments/concerns/corrections. Before being able to compile with the patch, you will need to update your simlinks by navigating to /include/libmesh and doing ./update_links.sh Thanks, Vikram.
solution_history.patch
Description: Binary data
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel