On Fri, 15 Nov 2013, Ataollah Mesgarnejad wrote:

> I just noticed that. But isn't that rather a high price to pay to reinit
> the whole EquationSystems to get the updated constraints? Can't there be a
> specific function that instead of doing a reinit just updates the
> constraints?

Not one specific function, but I think a sequence of three should do
it:

// Recreate any hanging node constraints
sys.get_dof_map().create_dof_constraints(mesh, time);

// Apply any user-defined constraints
sys.user_constrain();

// Expand any recursive constraints
sys.get_dof_map().process_constraints(mesh);

If you do this we'd love to get it into a short example code.
---
Roy

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to