* using a Q1-mapping for cell
* boundaries to call the other
* point_difference() function.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
void point_difference (const DoFHandler<dim,spacedim> &dof,
* this function uses an
* arbitrary mapping to evaluate
* the difference.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
void point_difference (const Mapping<dim, spacedim> &mapping,
* using a Q1-mapping for cell
* boundaries to call the other
* point_difference() function.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
void
/**
* Same as above for hp.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
void
* "Possibilities for extensions" part of
* the results section of @ref step_3
* "step-3".
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
double
/**
* Same as above for hp.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
double
* function of the same name,
* this function uses an arbitrary
* mapping to evaluate the difference.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
void
/**
* Same as above for hp.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
void
* function of the same name,
* this function uses an arbitrary
* mapping to evaluate the difference.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
double
/**
* Same as above for hp.
+ *
+ * @note If the cell in which the point is found
+ * is not locally owned, an exception of type
+ * VectorTools<dim, InVector, spacedim>::ExcPointNotAvailableHere
+ * is thrown.
*/
template <int dim, class InVector, int spacedim>
double
* Exception
*/
DeclException0 (ExcNonInterpolatingFE);
+
+ /**
+ * Exception
+ */
+ DeclException0 (ExcPointNotAvailableHere);
}
const std::pair<typename DoFHandler<dim,spacedim>::active_cell_iterator, Point<spacedim> >
cell_point = GridTools::find_active_cell_around_point (mapping, dof, point);
+ AssertThrow(cell_point.first->is_locally_owned(),
+ ExcPointNotAvailableHere());
Assert(GeometryInfo<dim>::distance_to_unit_cell(cell_point.second) < 1e-10,
ExcInternalError());
cell_point
= GridTools::find_active_cell_around_point (mapping, dof, point);
+ AssertThrow(cell_point.first->is_locally_owned(),
+ ExcPointNotAvailableHere());
Assert(GeometryInfo<dim>::distance_to_unit_cell(cell_point.second) < 1e-10,
ExcInternalError());
const std::pair<typename hp::DoFHandler<dim,spacedim>::active_cell_iterator, Point<spacedim> >
cell_point = GridTools::find_active_cell_around_point (mapping, dof, point);
+ AssertThrow(cell_point.first->is_locally_owned(),
+ ExcPointNotAvailableHere());
Assert(GeometryInfo<dim>::distance_to_unit_cell(cell_point.second) < 1e-10,
ExcInternalError());
const std::pair<typename DoFHandler<dim,spacedim>::active_cell_iterator, Point<spacedim> >
cell_point = GridTools::find_active_cell_around_point (mapping, dof, point);
+ AssertThrow(cell_point.first->is_locally_owned(),
+ ExcPointNotAvailableHere());
Assert(GeometryInfo<dim>::distance_to_unit_cell(cell_point.second) < 1e-10,
ExcInternalError());
const std::pair<typename hp::DoFHandler<dim,spacedim>::active_cell_iterator, Point<spacedim> >
cell_point = GridTools::find_active_cell_around_point (mapping, dof, point);
+ AssertThrow(cell_point.first->is_locally_owned(),
+ ExcPointNotAvailableHere());
Assert(GeometryInfo<dim>::distance_to_unit_cell(cell_point.second) < 1e-10,
ExcInternalError());