Point<dim> p1test{factor, -factor};
Point<dim> p2test{factor, factor};
Point<dim> p3test{-factor, -factor};
std::vector<Point<dim> > surrounding_points;
surrounding_points.push_back(p1test);
surrounding_points.push_back(p2test);
surrounding_points.push_back(p3test);
std::vector<double> surrounding_weights(3);
surrounding_weights[0] = 0.5;
surrounding_weights[1] = 0.25;
surrounding_weights[2] = 0.25;
auto new_vertex = spherical_manifold.get_new_point(
ArrayView<Point<spacedim>>(&surrounding_points[0],
surrounding_points.size()),
ArrayView<double>(&surrounding_weights[0],
surrounding_weights.size()));