File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -1012,19 +1012,6 @@ class Elem : public ReferenceCountedObject<Elem>,
10121012 */
10131013 virtual Order default_side_order () const { return default_order (); }
10141014
1015- #ifdef LIBMESH_ENABLE_DEPRECATED
1016- /* *
1017- * Calls Elem::vertex_average() for backwards compatibility.
1018- *
1019- * \deprecated This method has now been deprecated, so it will be
1020- * removed at some point in the future. Calls to Elem::centroid()
1021- * in user code should be updated to either call
1022- * Elem::vertex_average() or Elem::true_centroid() on a case by case
1023- * basis.
1024- */
1025- virtual Point centroid () const ;
1026- #endif // LIBMESH_ENABLE_DEPRECATED
1027-
10281015 /* *
10291016 * \returns The "true" geometric centroid of the element, c=(cx, cy,
10301017 * cz), where:
Original file line number Diff line number Diff line change @@ -572,23 +572,6 @@ const Elem * Elem::reference_elem () const
572572
573573
574574
575- #ifdef LIBMESH_ENABLE_DEPRECATED
576- Point Elem ::centroid () const
577- {
578- libmesh_do_once (libMesh ::err
579- << "Elem::centroid() has been deprecated. Replace with either "
580- << "Elem::vertex_average() to maintain existing behavior, or "
581- << "the more expensive Elem::true_centroid() "
582- << "in cases where the true 'geometric' centroid is required."
583- << std ::endl );
584- libmesh_deprecated ();
585-
586- return Elem ::vertex_average ();
587- }
588- #endif // LIBMESH_ENABLE_DEPRECATED
589-
590-
591-
592575Point Elem ::true_centroid () const
593576{
594577 // The base class implementation builds a finite element of the correct
You can’t perform that action at this time.
0 commit comments