*/
virtual
void
- add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+ get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim>> new_points) const;
*/
virtual
void
- add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+ get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim>> new_points) const override;
*/
virtual
void
- add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+ get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim>> new_points) const override;
/**
* the case for PolarManifold but not for Spherical manifold, so be careful
* when using the latter. In case the quality of the manifold is not good
* enough, upon mesh refinement it may happen that the transformation to a
- * chart inside the get_new_point() or add_new_points() methods produces
+ * chart inside the get_new_point() or get_new_points() methods produces
* points that are outside the unit cell. Then this class throws an exception
* of type Mapping::ExcTransformationFailed. In that case, the mesh should be
* refined before attaching this class, as done in the following example:
*/
virtual
void
- add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+ get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim>> new_points) const override;
const std::size_t n_rows = support_point_weights_perimeter_to_interior[0].size(0);
a.resize(a.size() + n_rows);
auto a_view = make_array_view(a.end() - n_rows, a.end());
- manifold.add_new_points(make_array_view(vertices.begin(),
+ manifold.get_new_points(make_array_view(vertices.begin(),
vertices.end()),
support_point_weights_perimeter_to_interior[0],
a_view);
const std::size_t n_rows = support_point_weights_perimeter_to_interior[1].size(0);
a.resize(a.size() + n_rows);
auto a_view = make_array_view(a.end() - n_rows, a.end());
- face->get_manifold().add_new_points (make_array_view(tmp_points.begin(),
+ face->get_manifold().get_new_points (make_array_view(tmp_points.begin(),
tmp_points.end()),
support_point_weights_perimeter_to_interior[1],
a_view);
const std::size_t n_rows = weights.size(0);
a.resize(a.size() + n_rows);
auto a_view = make_array_view(a.end() - n_rows, a.end());
- cell->get_manifold().add_new_points(make_array_view(vertices.begin(),
+ cell->get_manifold().get_new_points(make_array_view(vertices.begin(),
vertices.end()),
weights,
a_view);
const std::size_t n_rows = support_point_weights_cell.size(0);
a.resize(a.size() + n_rows);
auto a_view = make_array_view(a.end() - n_rows, a.end());
- cell->get_manifold().add_new_points(make_array_view(a.begin(),
+ cell->get_manifold().get_new_points(make_array_view(a.begin(),
a.end() - n_rows),
support_point_weights_cell,
a_view);
const std::size_t n_rows = support_point_weights_perimeter_to_interior[1].size(0);
a.resize(a.size() + n_rows);
auto a_view = make_array_view(a.end() - n_rows, a.end());
- cell->get_manifold().add_new_points(make_array_view(a.begin(),
+ cell->get_manifold().get_new_points(make_array_view(a.begin(),
a.end() - n_rows),
support_point_weights_perimeter_to_interior[1],
a_view);
const std::size_t n_rows = support_point_weights_perimeter_to_interior[2].size(0);
a.resize(a.size() + n_rows);
auto a_view = make_array_view(a.end() - n_rows, a.end());
- cell->get_manifold().add_new_points(make_array_view(a.begin(),
+ cell->get_manifold().get_new_points(make_array_view(a.begin(),
a.end() - n_rows),
support_point_weights_perimeter_to_interior[2],
a_view);
template <int dim, int spacedim>
void
Manifold<dim, spacedim>::
-add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim>> new_points) const
{
template <int dim, int spacedim>
void
FlatManifold<dim, spacedim>::
-add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim>> new_points) const
{
template <int dim, int spacedim, int chartdim>
void
ChartManifold<dim,spacedim,chartdim>::
-add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim>> new_points) const
{
chart_points[i] = pull_back(surrounding_points[i]);
boost::container::small_vector<Point<chartdim>, 200> new_points_on_chart(weights.size(0));
- sub_manifold.add_new_points(make_array_view(chart_points.begin(),
+ sub_manifold.get_new_points(make_array_view(chart_points.begin(),
chart_points.end()),
weights,
make_array_view(new_points_on_chart.begin(),
template <int dim, int spacedim>
void
TransfiniteInterpolationManifold<dim,spacedim>::
-add_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
+get_new_points (const ArrayView<const Point<spacedim>> &surrounding_points,
const Table<2,double> &weights,
ArrayView<Point<spacedim> > new_points) const
{
const auto cell = compute_chart_points(surrounding_points, chart_points_view);
boost::container::small_vector<Point<dim>, 100> new_points_on_chart(weights.size(0));
- chart_manifold.add_new_points(chart_points_view,
+ chart_manifold.get_new_points(chart_points_view,
weights,
make_array_view(new_points_on_chart.begin(),
new_points_on_chart.end()));