Brilliant, thank you John. Ata
On Thu, Nov 14, 2013 at 9:58 AM, John Peterson <jwpeter...@gmail.com> wrote: > > > > On Thu, Nov 14, 2013 at 8:23 AM, Ataollah Mesgarnejad < > ames...@tigers.lsu.edu> wrote: > >> Thanks John for the quick answer, >> >> Let me explain; what I would like to do is to create an EquationSystems >> and then create a system under it with a (several) variable(s) and fill the >> solution vector from the ExodusII file. Is this possible and how can I do >> it? >> > > You can use > > void copy_nodal_solution(System& es, std::string system_var_name, > std::string exodus_var_name, unsigned int timestep=1); > void copy_elemental_solution(System& es, std::string system_var_name, > std::string exodus_var_name, unsigned int timestep=1); > > The former works for LAGRANGE type variables, definititely FIRST order but > possibly SECOND as well. The latter works for CONSTANT MONOMIAL variables. > > -- > John > -- A. Mesgarnejad PhD Student, Research Assistant Mechanical Engineering Department Louisiana State University 2203 Patrick F. Taylor Hall Baton Rouge, La 70803 ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users