//---------------------------- geometry_info_4.cc ---------------------------
-// check GeometryInfo::bilinear_shape_function
+// check GeometryInfo::d_linear_shape_function
#include "../tests.h"
#include <base/logstream.h>
for (unsigned int v=0;v<GeometryInfo<dim>::vertices_per_cell;++v)
{
const double
- phi_i = GeometryInfo<dim>::bilinear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
+ phi_i = GeometryInfo<dim>::d_linear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
deallog << phi_i << std::endl;
Assert (phi_i == (i==v ? 1 : 0),
{
double s = 0;
for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
- s += GeometryInfo<dim>::bilinear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
+ s += GeometryInfo<dim>::d_linear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
Assert (s == 1, ExcInternalError());
deallog << "Sum of shape functions: " << s << std::endl;
double s = 0;
for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
- s += GeometryInfo<dim>::bilinear_shape_function(center,i);
+ s += GeometryInfo<dim>::d_linear_shape_function(center,i);
Assert (s == 1, ExcInternalError());
deallog << "Sum of shape functions: " << s << std::endl;
//---------------------------- geometry_info_5.cc ---------------------------
-// check GeometryInfo::bilinear_shape_function_gradient
+// check GeometryInfo::d_linear_shape_function_gradient
#include "../tests.h"
#include <base/logstream.h>
{
const Tensor<1,dim>
phi_i_grad
- = GeometryInfo<dim>::bilinear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
+ = GeometryInfo<dim>::d_linear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
deallog << phi_i_grad << std::endl;
}
{
Tensor<1,dim> s;
for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
- s += GeometryInfo<dim>::bilinear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
+ s += GeometryInfo<dim>::d_linear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
Assert (s.norm() == 0, ExcInternalError());
deallog << "Sum of shape functions: " << s << std::endl;
Tensor<1,dim> s;
for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
- s += GeometryInfo<dim>::bilinear_shape_function_gradient(center,i);
+ s += GeometryInfo<dim>::d_linear_shape_function_gradient(center,i);
Assert (s.norm() == 0, ExcInternalError());
deallog << "Sum of shape functions: " << s << std::endl;