On Thu, 18 May 2017, Chang, Hyonu wrote: > And the solution have to be changed to a minimum value if it is under the > minimum. > > However, it is hard to change the values in other processors except root > processor. > > I used *system.current_local_solution to check the solution values, > > .set(dof, value) to set the minimum value and system.update(), > > but solutions are never changed. > > Could anyone help me?
Try using set() on system.solution, then system.update(). current_local_solution is basically a "cache" of local plus ghosted solution values, and so upon an update we move data from solution to current_local_solution, never in the other direction. --- Roy ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
