* this class and the documentation of the
* base class.
*/
- virtual Point<spacedim>
- get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
- const std::vector<double> &weights) const;
+// virtual Point<spacedim>
+// get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
+// const std::vector<double> &weights) const;
/**
* Refer to the general documentation of
* this class and the documentation of the
* base class.
*/
- virtual Point<dim>
- get_new_point (const std::vector<Point<dim> > &surrounding_points,
- const std::vector<double> &weights) const;
+// virtual Point<dim>
+// get_new_point (const std::vector<Point<dim> > &surrounding_points,
+// const std::vector<double> &weights) const;
/**
* this class and the documentation of the
* base class.
*/
- virtual Point<spacedim>
- get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
- const std::vector<double> &weights) const;
+// virtual Point<spacedim>
+// get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
+// const std::vector<double> &weights) const;
/**
* this class and the documentation of the
* base class.
*/
- virtual Point<dim>
- get_new_point (const std::vector<Point<dim> > &surrounding_points,
- const std::vector<double> &weights) const;
+// virtual Point<dim>
+// get_new_point (const std::vector<Point<dim> > &surrounding_points,
+// const std::vector<double> &weights) const;
/**
* this class and the documentation of the
* base class.
*/
- virtual Point<dim>
- get_new_point (const std::vector<Point<dim> > &surrounding_points,
- const std::vector<double> &weights) const;
+// virtual Point<dim>
+// get_new_point (const std::vector<Point<dim> > &surrounding_points,
+// const std::vector<double> &weights) const;
/**
* this class and the documentation of the
* base class.
*/
- virtual Point<spacedim>
- get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
- const std::vector<double> &weights) const;
+// virtual Point<spacedim>
+// get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
+// const std::vector<double> &weights) const;
/**
DEAL_II_NAMESPACE_OPEN
-
-
template <int dim, int spacedim>
CylinderBoundary<dim,spacedim>::CylinderBoundary (const double radius,
const unsigned int axis)
compute_radius_automatically(false)
{}
-template <int dim, int spacedim>
-Point<spacedim>
-HyperBallBoundary<dim,spacedim>::get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
- const std::vector<double> &weights) const
-{
- Assert(surrounding_points.size() == weights.size(),
- ExcDimensionMismatch(surrounding_points.size(), weights.size()));
-
- double radius = 0;
- for(unsigned int i=0; i<surrounding_points.size(); ++i)
- radius += weights[i]*(surrounding_points[i]-center).norm();
-
- Point<spacedim> p = FlatManifold<spacedim>::get_new_point(surrounding_points, weights);
- p = p-center;
- p = p/p.norm()*radius+center;
- return p;
-}
+// template <int dim, int spacedim>
+// Point<spacedim>
+// HyperBallBoundary<dim,spacedim>::get_new_point (const std::vector<Point<spacedim> > &surrounding_points,
+// const std::vector<double> &weights) const
+// {
+// Assert(surrounding_points.size() == weights.size(),
+// ExcDimensionMismatch(surrounding_points.size(), weights.size()));
+
+// double radius = 0;
+// for(unsigned int i=0; i<surrounding_points.size(); ++i)
+// radius += weights[i]*(surrounding_points[i]-center).norm();
+
+// Point<spacedim> p = FlatManifold<spacedim>::get_new_point(surrounding_points, weights);
+// p = p-center;
+// p = p/p.norm()*radius+center;
+// return p;
+// }
template <int dim, int spacedim>