You can use DoFTools::write_gnuplot_dof_support_point_info for visualizing the DoF locations. If you don't use a special mapping in other places in your code, you can use "MappingQ1<dim>()".
On Fri, Dec 9, 2016 at 12:14 PM, Hamed Babaei <[email protected]> wrote: > Dear Daniel, > >> >> I would suggest you to look at the constraints in the ConstraintMatrix >> using ConstraintMatrix::print[1] for a mesh consisting of has few cells as >> possible. >> Using DoFTools::map_dofs_to_support_points[2] you can then verify that >> these are correct. > > > Issuing " constraints.print(std::cout);" I printed my Constraint matrix but > I have two problems regarding using > DoFTools::map_dofs_to_support_points(const Mapping< dim, spacedim > > &mapping, const DoFHandler< dim, spacedim > &dof_handler, std::vector< > Point< spacedim > > &support_points); . First, I do not know how to > construct and initialize the mapping argument since I could not find the > constructor in the documentation. Second, I do not know how to visualize the > result of this object. > > Thanks, > > -- > The deal.II project is located at > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_&d=CwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=RpeCU3dTBYI5Hfgf2r6BDrF7P7WnVyeS6q12wHsxwzQ&s=WN3HwSWJvbbwvpL3OuCB2jiiqDcphwTBSxqgwN9RmLc&e= > > For mailing list/forum options, see > https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den&d=CwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=RpeCU3dTBYI5Hfgf2r6BDrF7P7WnVyeS6q12wHsxwzQ&s=h8q_Zp77COG6SFzBfJ6tkz0rJxhYy0paD4pOCZHe0h4&e= > > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit > https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=RpeCU3dTBYI5Hfgf2r6BDrF7P7WnVyeS6q12wHsxwzQ&s=pZqh3z-dkQputoPPle_PLU3pqAXKoKlR2YRHGKg7Row&e= > . -- Timo Heister http://www.math.clemson.edu/~heister/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
