![]() |
|
#include <unstructured_two_d_mesh_geometry_base.h>
Public Member Functions | |
TriangleMeshOpenCurve (const Vector< TriangleMeshCurveSection * > &curve_section_pt) | |
Constructor. More... | |
virtual | ~TriangleMeshOpenCurve () |
Empty destructor. More... | |
unsigned | nvertices () const |
Number of vertices. More... | |
unsigned | nsegments () const |
Total number of segments. More... | |
void | output (std::ostream &outfile, const unsigned &n_sample=50) |
Output each sub-boundary at n_sample (default: 50) points. More... | |
TriangleMeshPolyLine * | polyline_pt (const unsigned &i) const |
Pointer to i-th constituent polyline. More... | |
TriangleMeshPolyLine * | polyline_pt (const unsigned &i) |
Pointer to i-th constituent polyline. More... | |
![]() | |
TriangleMeshCurve (const Vector< TriangleMeshCurveSection * > &curve_section_pt) | |
Empty constructor. More... | |
virtual | ~TriangleMeshCurve () |
Empty destructor. More... | |
unsigned | max_boundary_id () |
Return max boundary id of associated curves. More... | |
virtual unsigned | ncurve_section () const |
Number of constituent curves. More... | |
void | enable_polyline_refinement (const double &tolerance=0.08) |
void | set_polyline_refinement_tolerance (const double &tolerance) |
double | polyline_refinement_tolerance () |
void | disable_polyline_refinement () |
Disable refinement of polylines. More... | |
void | enable_polyline_unrefinement (const double &tolerance=0.04) |
void | set_polyline_unrefinement_tolerance (const double &tolerance) |
double | polyline_unrefinement_tolerance () |
void | disable_polyline_unrefinement () |
Disable unrefinement of polylines. More... | |
virtual TriangleMeshCurveSection * | curve_section_pt (const unsigned &i) const |
Pointer to i-th constituent curve section. More... | |
virtual TriangleMeshCurveSection *& | curve_section_pt (const unsigned &i) |
Pointer to i-th constituent curve section. More... | |
Additional Inherited Members | |
![]() | |
Vector< TriangleMeshCurveSection * > | Curve_section_pt |
Vector of curve sections. More... | |
////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// Base class defining an open curve for the Triangle mesh generation Basically used to define internal boundaries on the mesh
oomph::TriangleMeshOpenCurve::TriangleMeshOpenCurve | ( | const Vector< TriangleMeshCurveSection * > & | curve_section_pt | ) |
Constructor.
Class defining an open curve for the Triangle mesh generation.
////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
References oomph::TriangleMeshCurve::Curve_section_pt, calibrate::error, i, oomph::TriangleMeshPolyLine::nvertex(), OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, Eigen::bfloat16_impl::pow(), sqrt(), oomph::ToleranceForVertexMismatchInPolygons::Tolerable_error, v1(), v2(), and oomph::TriangleMeshPolyLine::vertex_coordinate().
|
inlinevirtual |
|
inlinevirtual |
Total number of segments.
Implements oomph::TriangleMeshCurve.
References oomph::TriangleMeshCurve::Curve_section_pt, j, and oomph::TriangleMeshCurve::ncurve_section().
|
inlinevirtual |
Number of vertices.
Implements oomph::TriangleMeshCurve.
References oomph::TriangleMeshCurve::Curve_section_pt, i, and oomph::TriangleMeshCurve::ncurve_section().
|
inlinevirtual |
Output each sub-boundary at n_sample (default: 50) points.
Implements oomph::TriangleMeshCurve.
References oomph::TriangleMeshCurve::Curve_section_pt, i, and nb.
|
inline |
Pointer to i-th constituent polyline.
References oomph::TriangleMeshCurve::Curve_section_pt, i, OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.
|
inline |
Pointer to i-th constituent polyline.
References oomph::TriangleMeshCurve::Curve_section_pt, i, OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.