![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/opencascade/boundary_lib.h>
Public Member Functions | |
| ArclengthProjectionLineManifold (const TopoDS_Shape &sh, const double tolerance=1e-7) | |
| virtual Point< 1 > | pull_back (const Point< spacedim > &space_point) const |
| virtual Point< spacedim > | push_forward (const Point< 1 > &chart_point) const |
Public Member Functions inherited from ChartManifold< dim, spacedim, 1 > | |
| ChartManifold (const Point< chartdim > periodicity=Point< chartdim >()) | |
| virtual | ~ChartManifold () |
| virtual Point< spacedim > | get_new_point (const Quadrature< spacedim > &quad) const |
| virtual Point< spacedim > | push_forward (const Point< chartdim > &chart_point) const=0 |
Public Member Functions inherited from Manifold< dim, spacedim > | |
| virtual | ~Manifold () |
| virtual Point< spacedim > | project_to_manifold (const std::vector< Point< spacedim > > &surrounding_points, const Point< spacedim > &candidate) const |
| virtual Point< spacedim > | get_new_point_on_line (const typename Triangulation< dim, spacedim >::line_iterator &line) const |
| virtual Point< spacedim > | get_new_point_on_quad (const typename Triangulation< dim, spacedim >::quad_iterator &quad) const |
| virtual Point< spacedim > | get_new_point_on_hex (const typename Triangulation< dim, spacedim >::hex_iterator &hex) const |
| Point< spacedim > | get_new_point_on_face (const typename Triangulation< dim, spacedim >::face_iterator &face) const |
| Point< spacedim > | get_new_point_on_cell (const typename Triangulation< dim, spacedim >::cell_iterator &cell) const |
Public Member Functions inherited from Subscriptor | |
| Subscriptor () | |
| Subscriptor (const Subscriptor &) | |
| virtual | ~Subscriptor () |
| Subscriptor & | operator= (const Subscriptor &) |
| void | subscribe (const char *identifier=0) const |
| void | unsubscribe (const char *identifier=0) const |
| unsigned int | n_subscriptions () const |
| void | list_subscribers () const |
| DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects."<< "\"<< "(Additional information: "<< arg3<< ")\"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.") | |
| DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.") | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| Handle_Adaptor3d_HCurve | curve |
| const double | tolerance |
| const double | length |
A Boundary object based on OpenCASCADE TopoDS_Shape objects which have topological dimension equal to one (TopoDS_Edge or TopoDS_Wire) where new points are located at the arclength average of the surrounding points. If the given TopoDS_Shape can be casted to a periodic (closed) curve, then this information is used internally to set the periodicity of the base ChartManifold class.
This class can only work on TopoDS_Edge or TopoDS_Wire objects, and it only makes sense when spacedim is three. If you use an object of topological dimension different from one, an exception is throw.
In debug mode there is an additional sanity check to make sure that the surrounding points actually live on the Manifold, i.e., calling OpenCASCADE::closest_point() on those points leaves them untouched. If this is not the case, an ExcPointNotOnManifold is thrown.
Definition at line 281 of file boundary_lib.h.
| OpenCASCADE::ArclengthProjectionLineManifold< dim, spacedim >::ArclengthProjectionLineManifold | ( | const TopoDS_Shape & | sh, |
| const double | tolerance = 1e-7 |
||
| ) |
Default constructor with a TopoDS_Edge.
Definition at line 217 of file boundary_lib.cc.
|
virtual |
Given a point on real space, find its arclength parameter. Throws an error in debug mode, if the point is not on the TopoDS_Edge given at construction time.
Implements ChartManifold< dim, spacedim, 1 >.
Definition at line 233 of file boundary_lib.cc.
|
virtual |
Given an arclength parameter, find its image in real space.
Definition at line 248 of file boundary_lib.cc.
|
private |
A Curve adaptor. This is the one which is used in the computations, and it points to the right one above.
Definition at line 309 of file boundary_lib.h.
|
private |
Relative tolerance used in all internal computations.
Definition at line 314 of file boundary_lib.h.
|
private |
The total length of the curve. This is also used as a period if the edge is periodic.
Definition at line 320 of file boundary_lib.h.
1.8.12