I guess that is because the input mesh is read from a file in adaptivity_ex2, however the input file does not boundary info. I am trying to add this to the input file. It looks the format of .xda files is not well documented.
--Junchao Zhang On Wed, Jan 20, 2016 at 3:31 PM, Junchao Zhang <junchao.zh...@gmail.com> wrote: > Hi, > I had a look at introduction_ex4. I found with a DirichletBoundary > object, the diagonal entries in the matrix for boundary nodes were modified > to 1 or 2. I want to add this method to adaptivity_ex2. > It looks quite easy. I just created a DirichletBoundary object and > attached it to the system. I commented out some code with #if 0 and ran it > with *mpirun -n 1 ./.libs/example-dbg -n_timesteps 25 -n_refinements 0 > -output_freq 10 -init_timestep 0* > However, I found the dirichlet_bc object did not take effect. After some > debugging, I found libmesh somehow did not recognize boundary edges and > nodes. I don't know what is wrong. > I attach my modified adaptivity_ex2.C and the diff to see if someone can > help on that. > Thank you! > > > --Junchao Zhang > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users