Thanks Roy, That did the trick. I was on the right course i.e., I was doing : dof_map.get_dirichlet_boundaries()->clear() but I wasn’t regenerating the constraints before putting in the new ones and for some reason the constraints were not imposed correctly.
I think the thread you remembering is also me :). Thanks a lot, Ata On Dec 5, 2013, at 1:38 PM, Roy Stogner <[email protected]> wrote: > > On Thu, 5 Dec 2013, Ataollah Mesgarnejad wrote: > >> How can I remove all previously set DricihletBoundaries for a certain >> system? > > You need to remove them from the collection in the DofMap, then tell > the DofMap to regenerate the constraints. > > dof_map.get_dirichlet_boundaries().clear() would handle the removal in > the "all previously set" case, for primal Dirichlet boundaries. > > IIRC we discussed efficient constraint regeneration on the list > recently. > --- > Roy ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
