From 6e63cb0ad485f0ba1f676ee19934b647c02bd05e Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 3 Jul 2021 09:53:58 -0400 Subject: [PATCH] Rename some functions. These are for FE_P and FE_DGP, not FE_(Simplex)Poly. --- source/fe/fe_simplex_p.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source/fe/fe_simplex_p.cc b/source/fe/fe_simplex_p.cc index 25b4ff98ce..9dde03ee7d 100644 --- a/source/fe/fe_simplex_p.cc +++ b/source/fe/fe_simplex_p.cc @@ -81,7 +81,7 @@ namespace */ template std::vector> - unit_support_points_fe_poly(const unsigned int degree) + unit_support_points_fe_p(const unsigned int degree) { std::vector> unit_points; @@ -159,11 +159,11 @@ namespace /** * Set up a vector that contains the unit (reference) cell's faces support - * points for FE_SimplexPoly and sufficiently similar elements. + * points for FE_SimplexP and sufficiently similar elements. */ template std::vector>> - unit_face_support_points_fe_poly( + unit_face_support_points_fe_p( const unsigned int degree, typename FiniteElementData::Conformity conformity) { @@ -184,7 +184,7 @@ namespace { (void)face_n; unit_face_points.emplace_back( - unit_support_points_fe_poly(degree)); + unit_support_points_fe_p(degree)); } return unit_face_points; @@ -197,7 +197,7 @@ namespace */ template FullMatrix - constraints_fe_poly(const unsigned int /*degree*/) + constraints_fe_p(const unsigned int /*degree*/) { // no constraints in 1d // constraints in 3d not implemented yet @@ -206,7 +206,7 @@ namespace template <> FullMatrix - constraints_fe_poly<2>(const unsigned int degree) + constraints_fe_p<2>(const unsigned int degree) { const unsigned int dim = 2; @@ -327,9 +327,9 @@ FE_SimplexPoly::FE_SimplexPoly( 1, degree, conformity), - unit_support_points_fe_poly(degree), - unit_face_support_points_fe_poly(degree, conformity), - constraints_fe_poly(degree)) + unit_support_points_fe_p(degree), + unit_face_support_points_fe_p(degree, conformity), + constraints_fe_p(degree)) {} -- 2.39.5