From: Luca Heltai Date: Sat, 13 Sep 2014 12:12:53 +0000 (+0200) Subject: Addressed last comments by WB. X-Git-Tag: v8.2.0-rc1~153^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af5a16b483b290f3926089b7117b7845a2a637ba;p=dealii.git Addressed last comments by WB. --- diff --git a/include/deal.II/grid/tria_accessor.h b/include/deal.II/grid/tria_accessor.h index 1e021d7178..4cbcc3cd5f 100644 --- a/include/deal.II/grid/tria_accessor.h +++ b/include/deal.II/grid/tria_accessor.h @@ -1568,10 +1568,10 @@ public: * to true. If you find this to be case, than you can further refine * the computation of the center by setting to true the second * additional parameter @p use_laplace_transformation, which will - * force this function to compute the center performing a Laplace - * transformation on all bounding support points. The Laplace - * transformation is computed similarly to what happens in - * @p{MappingQ::set_laplace_on_vector}. + * force this function to compute the location of the center by + * solving a linear elasticity problem with Dirichlet boundary + * conditions set to the location of the bounding vertices and the + * centers of the bounding lines and quads. */ Point center (const bool respect_manifold=false, const bool use_laplace_transformation=false) const; diff --git a/source/grid/tria_accessor.cc b/source/grid/tria_accessor.cc index b8feff30ff..74108d632d 100644 --- a/source/grid/tria_accessor.cc +++ b/source/grid/tria_accessor.cc @@ -1023,21 +1023,21 @@ namespace } template - Point get_new_point_on_obj(const TriaAccessor<1, dim, spacedim> &obj) + Point get_new_point_on_object(const TriaAccessor<1, dim, spacedim> &obj) { TriaIterator > it(obj); return obj.get_manifold().get_new_point_on_line(it); } template - Point get_new_point_on_obj(const TriaAccessor<2, dim, spacedim> &obj) + Point get_new_point_on_object(const TriaAccessor<2, dim, spacedim> &obj) { TriaIterator > it(obj); return obj.get_manifold().get_new_point_on_quad(it); } template - Point get_new_point_on_obj(const TriaAccessor<3, dim, spacedim> &obj) + Point get_new_point_on_object(const TriaAccessor<3, dim, spacedim> &obj) { TriaIterator > it(obj); return obj.get_manifold().get_new_point_on_hex(it);