Thanks Roy,

I will try it and get back to you.

As for the example I have bunch of derived classes from AnalyticFunction
that compute BCs for me. I can try add one of these to Elasticity examples
you already have and generate a new example for you.

Best,
Ata


On Fri, Nov 15, 2013 at 12:37 PM, Roy Stogner <[email protected]>wrote:

>
> 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
>



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

Reply via email to