Re: [Libmesh-users] deleting DofConstraintRow

2017-07-09 Thread Roy Stogner
On Fri, 7 Jul 2017, Manav Bhatia wrote: What method would provide the functionality to clear and reinitialize the dof constraints? I see that _dof_constraints.clear() is called in DofMap::create_dof_constraints(). But I wouldn’t call this directly (?). You would, I'm afraid. After the cle

Re: [Libmesh-users] deleting DofConstraintRow

2017-07-07 Thread Manav Bhatia
Thanks for your detailed response, Roy. What method would provide the functionality to clear and reinitialize the dof constraints? I see that _dof_constraints.clear() is called in DofMap::create_dof_constraints(). But I wouldn’t call this directly (?). Regards, Manav > On Jul 7, 2017, at 1

Re: [Libmesh-users] deleting DofConstraintRow

2017-07-07 Thread David Knezevic
On Fri, Jul 7, 2017 at 11:01 AM, Roy Stogner wrote: > > > On Fri, 7 Jul 2017, David Knezevic wrote: > > It would be reasonable to (optionally) forgo this pre-expansion, but >> a bit of other code would have to be added to handle the unexpanded >> case. Dependency constraint equ

Re: [Libmesh-users] deleting DofConstraintRow

2017-07-07 Thread Roy Stogner
On Fri, 7 Jul 2017, David Knezevic wrote: It would be reasonable to (optionally) forgo this pre-expansion, but a bit of other code would have to be added to handle the unexpanded case.  Dependency constraint equations would have to be communicated properly on Distribute

Re: [Libmesh-users] deleting DofConstraintRow

2017-07-07 Thread David Knezevic
On Fri, Jul 7, 2017 at 10:31 AM, Roy Stogner wrote: > > On Fri, 7 Jul 2017, Manav Bhatia wrote: > > I am working on a case where I need to dynamically add/remove constraints >> on dofs. >> >> I see the method DofMap::add_constraint_row to add a constraint >> row. Is there a corresponding metho

Re: [Libmesh-users] deleting DofConstraintRow

2017-07-07 Thread Roy Stogner
On Fri, 7 Jul 2017, Manav Bhatia wrote: I am working on a case where I need to dynamically add/remove constraints on dofs. I see the method DofMap::add_constraint_row to add a constraint row. Is there a corresponding method to delete these constraints for the dofmap? Not a good one, IIR

[Libmesh-users] deleting DofConstraintRow

2017-07-07 Thread Manav Bhatia
Hi, I am working on a case where I need to dynamically add/remove constraints on dofs. I see the method DofMap::add_constraint_row to add a constraint row. Is there a corresponding method to delete these constraints for the dofmap? Regards, Manav ---