From: Wolfgang Bangerth Date: Sun, 28 Jun 2009 19:27:43 +0000 (+0000) Subject: Rename functions. X-Git-Tag: v8.0.0~7569 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f94525aab3ca3dd9c4f21a2dde352e3cffd29050;p=dealii.git Rename functions. git-svn-id: https://svn.dealii.org/trunk@18986 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/geometry_info_4.cc b/tests/base/geometry_info_4.cc index 14f77eb439..d6e2d5796d 100644 --- a/tests/base/geometry_info_4.cc +++ b/tests/base/geometry_info_4.cc @@ -12,7 +12,7 @@ //---------------------------- geometry_info_4.cc --------------------------- -// check GeometryInfo::bilinear_shape_function +// check GeometryInfo::d_linear_shape_function #include "../tests.h" #include @@ -32,7 +32,7 @@ void test () for (unsigned int v=0;v::vertices_per_cell;++v) { const double - phi_i = GeometryInfo::bilinear_shape_function(GeometryInfo::unit_cell_vertex(v),i); + phi_i = GeometryInfo::d_linear_shape_function(GeometryInfo::unit_cell_vertex(v),i); deallog << phi_i << std::endl; Assert (phi_i == (i==v ? 1 : 0), @@ -47,7 +47,7 @@ void test () { double s = 0; for (unsigned int i=0;i::vertices_per_cell;++i) - s += GeometryInfo::bilinear_shape_function(GeometryInfo::unit_cell_vertex(v),i); + s += GeometryInfo::d_linear_shape_function(GeometryInfo::unit_cell_vertex(v),i); Assert (s == 1, ExcInternalError()); deallog << "Sum of shape functions: " << s << std::endl; @@ -59,7 +59,7 @@ void test () double s = 0; for (unsigned int i=0;i::vertices_per_cell;++i) - s += GeometryInfo::bilinear_shape_function(center,i); + s += GeometryInfo::d_linear_shape_function(center,i); Assert (s == 1, ExcInternalError()); deallog << "Sum of shape functions: " << s << std::endl; diff --git a/tests/base/geometry_info_5.cc b/tests/base/geometry_info_5.cc index 9f59a4a67b..a6beeacb63 100644 --- a/tests/base/geometry_info_5.cc +++ b/tests/base/geometry_info_5.cc @@ -12,7 +12,7 @@ //---------------------------- geometry_info_5.cc --------------------------- -// check GeometryInfo::bilinear_shape_function_gradient +// check GeometryInfo::d_linear_shape_function_gradient #include "../tests.h" #include @@ -33,7 +33,7 @@ void test () { const Tensor<1,dim> phi_i_grad - = GeometryInfo::bilinear_shape_function_gradient(GeometryInfo::unit_cell_vertex(v),i); + = GeometryInfo::d_linear_shape_function_gradient(GeometryInfo::unit_cell_vertex(v),i); deallog << phi_i_grad << std::endl; } @@ -48,7 +48,7 @@ void test () { Tensor<1,dim> s; for (unsigned int i=0;i::vertices_per_cell;++i) - s += GeometryInfo::bilinear_shape_function_gradient(GeometryInfo::unit_cell_vertex(v),i); + s += GeometryInfo::d_linear_shape_function_gradient(GeometryInfo::unit_cell_vertex(v),i); Assert (s.norm() == 0, ExcInternalError()); deallog << "Sum of shape functions: " << s << std::endl; @@ -60,7 +60,7 @@ void test () Tensor<1,dim> s; for (unsigned int i=0;i::vertices_per_cell;++i) - s += GeometryInfo::bilinear_shape_function_gradient(center,i); + s += GeometryInfo::d_linear_shape_function_gradient(center,i); Assert (s.norm() == 0, ExcInternalError()); deallog << "Sum of shape functions: " << s << std::endl;