Hi all, In my previous email regarding inhomogeneous Dirichlet boundary conditions, David suggested using heterogenously_constrain_element_matrix_and_vector in introduction_ex4, but I'm not sure of how to deal with inhomogeneous Dirichlet BCs in connection with reduced basis models. Suppose we have a simple steady state heat conduction model whose BCs are u = T on \Gamma and u = 0 on the rest surfaces. After variable change, we solve
a(u',v) = f(v) - a(u0,v) where 1) u' = u - T on \Gamma and u' = u on the rest surfaces; and 2) u0 = T on \Gamma and u0 = zero on the rest surfaces. I thought we build the LHS then call attach_F_assembly to attach it, but in that case, I'm not sure how heterogenously_constrain_element_matrix_and_vector can be used. Or should we attach a(u',v) and f(v) as usual then call heterogenously_constrain_element_matrix_and_vector to impose - a(u0,v) on the LHS? I'd appreciate if someone can briefly describe how the function work. Regards, K. Lee. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
