From: Prashant K. J. <pra...@gm...> - 2019-12-05 19:21:49
|
Hi Roy, Great. After identifying nodes and element with boundary id, It works. Thank you! Regards, Prashant On Thu, Dec 5, 2019 at 1:08 PM Stogner, Roy H <roy...@ic...> wrote: > > On Thu, 5 Dec 2019, Prashant Kumar Jha wrote: > > > I am not setting boundary id of the element (can we set them?). > > Yes, with BoundaryInfo::add_side(). > > > For Dirichlet boundary condition on 1 dof, I am not sure how to put a > constraint row. > > With DofMap::add_constraint_row() (using the overload with the > constraint_rhs argument, unless you only ever have homogeneous > Dirichlet boundaries). > --- > Roy -- Regards, Prashant https://www.math.lsu.edu/~jha/ |