Ok, so if I iterate over the pid_nodes and set the nodal variable values in system.solution, should I call any function (localization, etc.) on the solution vector before I can use it (for example, write it out using VTKIO)?
Thanks, Manav On Mar 12, 2013, at 11:24 AM, John Peterson <[email protected]> wrote: > > > > On Tue, Mar 12, 2013 at 9:14 AM, Manav Bhatia <[email protected]> wrote: > Hi, > > Is there a function to initialize a dense vector to the variable values at > a node? > > Not that I know of. > > Or do I need to iterate over each variable and get the dof values > independently? > > Yes, and if you want it to work for non-Lagrange elements you should multiply > the coefficients by the basis functions and sum them up as well. > > -- > John ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
