I've never tried this, but at a minimum something like dof_map.reinit() would be needed I think, as it is here the object->dof index mapping is constructed.   The map stating which variables are active where is still valid, but the changes in the mesh are not automatically propagated. 

-Ben


On Nov 14, 2013, at 9:56 PM, "Vikram Garg" <simulationist@gmail.com> wrote:

Hey all,
           I had a question regarding the subdomain restricted variables functionality. My understanding is that the user specifies specific subdomains and regions where certain variables are defined and are active, and the library then assembles the systems accordingly.

If the subdomains are updated dynamically, for example: suppose we have two different models specified on the two subdomains in the same simulation, and decided to change where we use which model after the first iteration. Does the library then automatically reassign the variables, or does the user have to once again define where the variables are now active ?

Thanks.
--
Vikram Garg
Postdoctoral Associate
Center for Computational Engineering
Massachusetts Institute of Technology

http://www.runforindia.org/runners/vikramg
------------------------------------------------------------------------------
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-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel