Public Member Functions | Protected Attributes | Private Attributes | List of all members
oomph::TriangleMeshCurveSection Class Referenceabstract

#include <unstructured_two_d_mesh_geometry_base.h>

+ Inheritance diagram for oomph::TriangleMeshCurveSection:

Public Member Functions

 TriangleMeshCurveSection ()
 Empty constructor. Initialises the curve section as non connected. More...
 
virtual ~TriangleMeshCurveSection ()
 Empty destructor. More...
 
virtual unsigned nsegment () const =0
 Number of segments that this part of the boundary is to be represented by. This corresponds to the number of straight-line segments in triangle representation. More...
 
virtual unsigned boundary_id () const =0
 Boundary id. More...
 
virtual unsigned boundary_chunk () const =0
 
virtual unsigned nvertex () const =0
 Number of vertices. More...
 
virtual void output (std::ostream &outfile, const unsigned &n_sample=50)=0
 Output the curve_section. More...
 
void enable_refinement_tolerance (const double &tolerance=0.08)
 Enable refinement of curve section to create a better representation of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the optional argument which specifies the refinement tolerance. It defaults to 0.08 and the smaller the number the finer the surface representation. More...
 
void set_refinement_tolerance (const double &tolerance)
 Set tolerance for refinement of curve sections to create a better representation of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the refinement tolerance. (The smaller the number the finer the surface representation). If set to a negative value, we're switching off refinement – equivalent to calling disable_polyline_refinement() More...
 
double refinement_tolerance ()
 Get tolerance for refinement of curve sections to create a better representation of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation. If it's negative refinement is disabled. More...
 
void disable_refinement_tolerance ()
 Disable refinement of curve section. More...
 
void enable_unrefinement_tolerance (const double &tolerance=0.04)
 Enable unrefinement of curve sections to avoid unnecessarily large numbers of elements on of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the optional argument which specifies the unrefinement tolerance. It defaults to 0.04 and the larger the number the more agressive we are when removing unnecessary vertices on gently curved polylines. More...
 
void set_unrefinement_tolerance (const double &tolerance)
 Set tolerance for unrefinement of curve sections to avoid unnecessarily large numbers of elements on of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the optional argument which specifies the unrefinement tolerance. It defaults to 0.04 and the larger the number the more agressive we are when removing unnecessary vertices on gently curved polylines. If set to a negative value, we're switching off unrefinement – equivalent to calling disable_curve_section_unrefinement() More...
 
double unrefinement_tolerance ()
 Get tolerance for unrefinement of curve section to create a better representation of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation. If it's negative unrefinement is disabled. More...
 
void disable_unrefinement_tolerance ()
 Disable unrefinement of curve sections. More...
 
void set_maximum_length (const double &maximum_length)
 Allows to specify the maximum distance between two vertices that define the associated polyline of the curve section, it only takes effect on the unrefinement and refinement steps. More...
 
void disable_use_maximum_length ()
 Disables the use of the maximum length criteria on the unrefinement or refinement steps. More...
 
double maximum_length ()
 Gets access to the maximum length variable. More...
 
virtual void initial_vertex_coordinate (Vector< double > &vertex)=0
 Get first vertex coordinates. More...
 
virtual void final_vertex_coordinate (Vector< double > &vertex)=0
 Get last vertex coordinates. More...
 
void connect_initial_vertex_to_polyline (TriangleMeshPolyLine *polyline_pt, const unsigned &vertex_number, const double &tolerance_for_connection=1.0e-14)
 Connects the initial vertex of the curve section to a desired target polyline by specifying the vertex number. There is a checking which verifies that the initial vertex is close enough to the destination vertex on the target polyline by no more than the specified tolerance. More...
 
void connect_final_vertex_to_polyline (TriangleMeshPolyLine *polyline_pt, const unsigned &vertex_number, const double &tolerance_for_connection=1.0e-14)
 Connects the final vertex of the curve section to a desired target polyline by specifying the vertex number. There is a checking which verifies that the final vertex is close enough to the destination vertex on the target polyline by no more than the specified tolerance. More...
 
void connect_initial_vertex_to_curviline (TriangleMeshCurviLine *curviline_pt, const double &s_value, const double &tolerance_for_connection=1.0e-14)
 Connects the initial vertex of the curve section to a desired target curviline by specifying the s value (intrinsic value on the geometric object of the curviline) where to connect on the target curviline. There is a checking which verifies that the initial vertex and the coordinates on the given s value are close enough by no more than the given tolerance. More...
 
void connect_final_vertex_to_curviline (TriangleMeshCurviLine *curviline_pt, const double &s_value, const double &tolerance_for_connection=1.0e-14)
 Connects the final vertex of the curve section to a desired target curviline by specifying the s value (intrinsic value on the geometric object of the curviline) where to connect on the target curviline. There is a checking which verifies that the final vertex and the coordinates on the given s value are close enough by no more than the given tolerance. More...
 
bool is_initial_vertex_connected () const
 Test whether initial vertex is connected or not. More...
 
void set_initial_vertex_connected ()
 Sets the initial vertex as connected. More...
 
void unset_initial_vertex_connected ()
 Sets the initial vertex as non connected. More...
 
void suspend_initial_vertex_connected ()
 
void resume_initial_vertex_connected ()
 
bool is_final_vertex_connected () const
 Test whether final vertex is connected or not. More...
 
void set_final_vertex_connected ()
 Sets the final vertex as connected. More...
 
void unset_final_vertex_connected ()
 Sets the final vertex as non connected. More...
 
void suspend_final_vertex_connected ()
 
void resume_final_vertex_connected ()
 
unsigned initial_vertex_connected_bnd_id () const
 Gets the id to which the initial end is connected. More...
 
unsigned & initial_vertex_connected_bnd_id ()
 Sets the id to which the initial end is connected. More...
 
unsigned initial_vertex_connected_n_vertex () const
 Gets the vertex number to which the initial end is connected. More...
 
unsigned & initial_vertex_connected_n_vertex ()
 Sets the vertex number to which the initial end is connected. More...
 
unsigned initial_vertex_connected_n_chunk () const
 Gets the boundary chunk to which the initial end is connected. More...
 
unsigned & initial_vertex_connected_n_chunk ()
 Sets the boundary chunk to which the initial end is connected. More...
 
unsigned final_vertex_connected_bnd_id () const
 Gets the id to which the final end is connected. More...
 
unsigned & final_vertex_connected_bnd_id ()
 Sets the id to which the final end is connected. More...
 
unsigned final_vertex_connected_n_vertex () const
 Sets the vertex number to which the final end is connected. More...
 
unsigned & final_vertex_connected_n_vertex ()
 Gets the vertex number to which the final end is connected. More...
 
unsigned final_vertex_connected_n_chunk () const
 Gets the boundary chunk to which the final end is connected. More...
 
unsigned & final_vertex_connected_n_chunk ()
 Sets the boundary chunk to which the final end is connected. More...
 
bool is_initial_vertex_connected_to_curviline () const
 Test whether the initial vertex is connected to a curviline. More...
 
void set_initial_vertex_connected_to_curviline ()
 Sets the initial vertex as connected to a curviline. More...
 
void unset_initial_vertex_connected_to_curviline ()
 Sets the initial vertex as non connected to a curviline. More...
 
bool is_final_vertex_connected_to_curviline () const
 Test whether the final vertex is connected to a curviline. More...
 
void set_final_vertex_connected_to_curviline ()
 Sets the final vertex as connected to a curviline. More...
 
void unset_final_vertex_connected_to_curviline ()
 Sets the final vertex as non connected to a curviline. More...
 
double initial_s_connection_value () const
 Gets the s value to which the initial end is connected. More...
 
double & initial_s_connection_value ()
 Sets the s value to which the initial end is connected. More...
 
double final_s_connection_value () const
 Gets the s value to which the final end is connected. More...
 
double & final_s_connection_value ()
 Sets the s value to which the final end is connected. More...
 
double tolerance_for_s_connection () const
 Gets the tolerance value for connections among curvilines. More...
 
double & tolerance_for_s_connection ()
 Sets the tolerance value for connections among curvilines. More...
 

Protected Attributes

bool Initial_vertex_connected
 Used for stating if the initial end is connected to another boundary. More...
 
bool Final_vertex_connected
 Used for stating if the final end is connected to another boundary. More...
 
bool Initial_vertex_connected_suspended
 Indicates if the connection is suspended because the boundary to connect is no longer part of the domain (only used in a distributed context) More...
 
bool Final_vertex_connected_suspended
 Indicates if the connection is suspended because the boundary to connect is no longer part of the domain (only used in a distributed context) More...
 
unsigned Initial_vertex_connected_bnd_id
 Stores the id to which the initial end is connected. More...
 
unsigned Initial_vertex_connected_n_vertex
 Stores the vertex number used for connection with the initial end. More...
 
unsigned Initial_vertex_connected_n_chunk
 Stores the chunk number of the boundary to which is connected th initial end. More...
 
unsigned Final_vertex_connected_bnd_id
 Stores the id to which the initial end is connected. More...
 
unsigned Final_vertex_connected_n_vertex
 Stores the vertex number used for connection with the final end. More...
 
unsigned Final_vertex_connected_n_chunk
 Stores the chunk number of the boundary to which is connected th initial end. More...
 
bool Initial_vertex_connected_to_curviline
 States if the initial vertex is connected to a curviline. More...
 
bool Final_vertex_connected_to_curviline
 States if the final vertex is connected to a curviline. More...
 
double Initial_s_connection_value
 Stores the s value used for connecting the initial end with a curviline. More...
 
double Final_s_connection_value
 Stores the s value used for connecting the final end with a curviline. More...
 
double Tolerance_for_s_connection
 Tolerance used for connecting the ends to a curviline. More...
 

Private Attributes

double Refinement_tolerance
 
double Unrefinement_tolerance
 
double Maximum_length
 

Detailed Description

Base class for defining a triangle mesh boundary, this class has the methods that allow to connect the initial and final ends to other triangle mesh boundaries

Definition at line 172 of file unstructured_two_d_mesh_geometry_base.h.

Constructor & Destructor Documentation

◆ TriangleMeshCurveSection()

oomph::TriangleMeshCurveSection::TriangleMeshCurveSection ( )
inline

Empty constructor. Initialises the curve section as non connected.

Definition at line 178 of file unstructured_two_d_mesh_geometry_base.h.

◆ ~TriangleMeshCurveSection()

virtual oomph::TriangleMeshCurveSection::~TriangleMeshCurveSection ( )
inlinevirtual

Empty destructor.

Definition at line 191 of file unstructured_two_d_mesh_geometry_base.h.

References oomph::output().

Member Function Documentation

◆ boundary_chunk()

virtual unsigned oomph::TriangleMeshCurveSection::boundary_chunk ( ) const
pure virtual

◆ boundary_id()

virtual unsigned oomph::TriangleMeshCurveSection::boundary_id ( ) const
pure virtual

◆ connect_final_vertex_to_curviline()

void oomph::TriangleMeshCurveSection::connect_final_vertex_to_curviline ( TriangleMeshCurviLine curviline_pt,
const double &  s_value,
const double &  tolerance_for_connection = 1.0e-14 
)

Connects the final vertex of the curve section to a desired target curviline by specifying the s value (intrinsic value on the geometric object of the curviline) where to connect on the target curviline. There is a checking which verifies that the final vertex and the coordinates on the given s value are close enough by no more than the given tolerance.

target curviline by specifying the s value (intrinsic value on the geometric object of the curviline) where to connect on the target curviline. There is a checking which verifies that the final vertex and the coordinates on the given s value are close enough by no more than the given tolerance

Definition at line 1348 of file unstructured_two_d_mesh_geometry_base.cc.

References oomph::TriangleMeshCurviLine::add_connection_point(), oomph::TriangleMeshCurviLine::boundary_chunk(), oomph::TriangleMeshCurviLine::boundary_id(), oomph::TriangleMeshCurviLine::geom_object_pt(), oomph::GeomObject::position(), oomph::TriangleMeshCurviLine::zeta_end(), and oomph::TriangleMeshCurviLine::zeta_start().

◆ connect_final_vertex_to_polyline()

void oomph::TriangleMeshCurveSection::connect_final_vertex_to_polyline ( TriangleMeshPolyLine polyline_pt,
const unsigned &  vertex_number,
const double &  tolerance_for_connection = 1.0e-14 
)

Connects the final vertex of the curve section to a desired target polyline by specifying the vertex number. There is a checking which verifies that the final vertex is close enough to the destination vertex on the target polyline by no more than the specified tolerance.

target polyline by specifying the vertex number. There is a checking which verifies that the final vertex is close enough to the destination vertex on the target polyline by no more than the specified tolerance

Definition at line 1194 of file unstructured_two_d_mesh_geometry_base.cc.

References oomph::TriangleMeshPolyLine::boundary_chunk(), oomph::TriangleMeshPolyLine::boundary_id(), oomph::TriangleMeshPolyLine::nvertex(), and oomph::TriangleMeshPolyLine::vertex_coordinate().

Referenced by oomph::TriangleMesh< ELEMENT >::create_shared_polylines_connections().

◆ connect_initial_vertex_to_curviline()

void oomph::TriangleMeshCurveSection::connect_initial_vertex_to_curviline ( TriangleMeshCurviLine curviline_pt,
const double &  s_value,
const double &  tolerance_for_connection = 1.0e-14 
)

Connects the initial vertex of the curve section to a desired target curviline by specifying the s value (intrinsic value on the geometric object of the curviline) where to connect on the target curviline. There is a checking which verifies that the initial vertex and the coordinates on the given s value are close enough by no more than the given tolerance.

target curviline by specifying the s value (intrinsic value on the geometric object of the curviline) where to connect on the target curviline. There is a checking which verifies that the initial vertex and the coordinates on the given s value are close enough by no more than the given tolerance

Definition at line 1265 of file unstructured_two_d_mesh_geometry_base.cc.

References oomph::TriangleMeshCurviLine::add_connection_point(), oomph::TriangleMeshCurviLine::boundary_chunk(), oomph::TriangleMeshCurviLine::boundary_id(), oomph::TriangleMeshCurviLine::geom_object_pt(), oomph::GeomObject::position(), oomph::TriangleMeshCurviLine::zeta_end(), and oomph::TriangleMeshCurviLine::zeta_start().

◆ connect_initial_vertex_to_polyline()

void oomph::TriangleMeshCurveSection::connect_initial_vertex_to_polyline ( TriangleMeshPolyLine polyline_pt,
const unsigned &  vertex_number,
const double &  tolerance_for_connection = 1.0e-14 
)

Connects the initial vertex of the curve section to a desired target polyline by specifying the vertex number. There is a checking which verifies that the initial vertex is close enough to the destination vertex on the target polyline by no more than the specified tolerance.

target polyline by specifying the vertex number. There is a checking which verifies that the initial vertex is close enough to the destination vertex on the target polyline by no more than the specified tolerance

Definition at line 1124 of file unstructured_two_d_mesh_geometry_base.cc.

References oomph::TriangleMeshPolyLine::boundary_chunk(), oomph::TriangleMeshPolyLine::boundary_id(), oomph::TriangleMeshPolyLine::nvertex(), and oomph::TriangleMeshPolyLine::vertex_coordinate().

Referenced by oomph::TriangleMesh< ELEMENT >::create_shared_polylines_connections().

◆ disable_refinement_tolerance()

void oomph::TriangleMeshCurveSection::disable_refinement_tolerance ( )
inline

Disable refinement of curve section.

Definition at line 245 of file unstructured_two_d_mesh_geometry_base.h.

◆ disable_unrefinement_tolerance()

void oomph::TriangleMeshCurveSection::disable_unrefinement_tolerance ( )
inline

Disable unrefinement of curve sections.

Definition at line 287 of file unstructured_two_d_mesh_geometry_base.h.

◆ disable_use_maximum_length()

void oomph::TriangleMeshCurveSection::disable_use_maximum_length ( )
inline

Disables the use of the maximum length criteria on the unrefinement or refinement steps.

Definition at line 300 of file unstructured_two_d_mesh_geometry_base.h.

◆ enable_refinement_tolerance()

void oomph::TriangleMeshCurveSection::enable_refinement_tolerance ( const double &  tolerance = 0.08)
inline

Enable refinement of curve section to create a better representation of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the optional argument which specifies the refinement tolerance. It defaults to 0.08 and the smaller the number the finer the surface representation.

Definition at line 218 of file unstructured_two_d_mesh_geometry_base.h.

◆ enable_unrefinement_tolerance()

void oomph::TriangleMeshCurveSection::enable_unrefinement_tolerance ( const double &  tolerance = 0.04)
inline

Enable unrefinement of curve sections to avoid unnecessarily large numbers of elements on of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the optional argument which specifies the unrefinement tolerance. It defaults to 0.04 and the larger the number the more agressive we are when removing unnecessary vertices on gently curved polylines.

Definition at line 257 of file unstructured_two_d_mesh_geometry_base.h.

◆ final_s_connection_value() [1/2]

double oomph::TriangleMeshCurveSection::final_s_connection_value ( ) const
inline

◆ final_s_connection_value() [2/2]

double& oomph::TriangleMeshCurveSection::final_s_connection_value ( )
inline

Sets the s value to which the final end is connected.

Definition at line 516 of file unstructured_two_d_mesh_geometry_base.h.

◆ final_vertex_connected_bnd_id() [1/2]

unsigned oomph::TriangleMeshCurveSection::final_vertex_connected_bnd_id ( ) const
inline

◆ final_vertex_connected_bnd_id() [2/2]

unsigned& oomph::TriangleMeshCurveSection::final_vertex_connected_bnd_id ( )
inline

Sets the id to which the final end is connected.

Definition at line 460 of file unstructured_two_d_mesh_geometry_base.h.

◆ final_vertex_connected_n_chunk() [1/2]

unsigned oomph::TriangleMeshCurveSection::final_vertex_connected_n_chunk ( ) const
inline

◆ final_vertex_connected_n_chunk() [2/2]

unsigned& oomph::TriangleMeshCurveSection::final_vertex_connected_n_chunk ( )
inline

Sets the boundary chunk to which the final end is connected.

Definition at line 476 of file unstructured_two_d_mesh_geometry_base.h.

◆ final_vertex_connected_n_vertex() [1/2]

unsigned oomph::TriangleMeshCurveSection::final_vertex_connected_n_vertex ( ) const
inline

◆ final_vertex_connected_n_vertex() [2/2]

unsigned& oomph::TriangleMeshCurveSection::final_vertex_connected_n_vertex ( )
inline

Gets the vertex number to which the final end is connected.

Definition at line 468 of file unstructured_two_d_mesh_geometry_base.h.

◆ final_vertex_coordinate()

virtual void oomph::TriangleMeshCurveSection::final_vertex_coordinate ( Vector< double > &  vertex)
pure virtual

◆ initial_s_connection_value() [1/2]

double oomph::TriangleMeshCurveSection::initial_s_connection_value ( ) const
inline

◆ initial_s_connection_value() [2/2]

double& oomph::TriangleMeshCurveSection::initial_s_connection_value ( )
inline

Sets the s value to which the initial end is connected.

Definition at line 508 of file unstructured_two_d_mesh_geometry_base.h.

◆ initial_vertex_connected_bnd_id() [1/2]

unsigned oomph::TriangleMeshCurveSection::initial_vertex_connected_bnd_id ( ) const
inline

◆ initial_vertex_connected_bnd_id() [2/2]

unsigned& oomph::TriangleMeshCurveSection::initial_vertex_connected_bnd_id ( )
inline

Sets the id to which the initial end is connected.

Definition at line 436 of file unstructured_two_d_mesh_geometry_base.h.

◆ initial_vertex_connected_n_chunk() [1/2]

unsigned oomph::TriangleMeshCurveSection::initial_vertex_connected_n_chunk ( ) const
inline

◆ initial_vertex_connected_n_chunk() [2/2]

unsigned& oomph::TriangleMeshCurveSection::initial_vertex_connected_n_chunk ( )
inline

Sets the boundary chunk to which the initial end is connected.

Definition at line 452 of file unstructured_two_d_mesh_geometry_base.h.

◆ initial_vertex_connected_n_vertex() [1/2]

unsigned oomph::TriangleMeshCurveSection::initial_vertex_connected_n_vertex ( ) const
inline

◆ initial_vertex_connected_n_vertex() [2/2]

unsigned& oomph::TriangleMeshCurveSection::initial_vertex_connected_n_vertex ( )
inline

Sets the vertex number to which the initial end is connected.

Definition at line 444 of file unstructured_two_d_mesh_geometry_base.h.

◆ initial_vertex_coordinate()

virtual void oomph::TriangleMeshCurveSection::initial_vertex_coordinate ( Vector< double > &  vertex)
pure virtual

◆ is_final_vertex_connected()

bool oomph::TriangleMeshCurveSection::is_final_vertex_connected ( ) const
inline

◆ is_final_vertex_connected_to_curviline()

bool oomph::TriangleMeshCurveSection::is_final_vertex_connected_to_curviline ( ) const
inline

◆ is_initial_vertex_connected()

bool oomph::TriangleMeshCurveSection::is_initial_vertex_connected ( ) const
inline

◆ is_initial_vertex_connected_to_curviline()

bool oomph::TriangleMeshCurveSection::is_initial_vertex_connected_to_curviline ( ) const
inline

◆ maximum_length()

double oomph::TriangleMeshCurveSection::maximum_length ( )
inline

◆ nsegment()

virtual unsigned oomph::TriangleMeshCurveSection::nsegment ( ) const
pure virtual

Number of segments that this part of the boundary is to be represented by. This corresponds to the number of straight-line segments in triangle representation.

Implemented in oomph::TriangleMeshPolyLine, and oomph::TriangleMeshCurviLine.

◆ nvertex()

virtual unsigned oomph::TriangleMeshCurveSection::nvertex ( ) const
pure virtual

◆ output()

virtual void oomph::TriangleMeshCurveSection::output ( std::ostream &  outfile,
const unsigned &  n_sample = 50 
)
pure virtual

Output the curve_section.

Implemented in oomph::TriangleMeshPolyLine, and oomph::TriangleMeshCurviLine.

◆ refinement_tolerance()

double oomph::TriangleMeshCurveSection::refinement_tolerance ( )
inline

◆ resume_final_vertex_connected()

void oomph::TriangleMeshCurveSection::resume_final_vertex_connected ( )
inline

Resumes the final vertex connection, it may be that after load balancing the boundary to which the connection was suspended be part of the domain

Definition at line 422 of file unstructured_two_d_mesh_geometry_base.h.

Referenced by oomph::RefineableTriangleMesh< ELEMENT >::resume_boundary_connections().

◆ resume_initial_vertex_connected()

void oomph::TriangleMeshCurveSection::resume_initial_vertex_connected ( )
inline

Resumes the initial vertex connection, it may be that after load balancing the boundary to which the connection was suspended be part of the domain

Definition at line 384 of file unstructured_two_d_mesh_geometry_base.h.

Referenced by oomph::RefineableTriangleMesh< ELEMENT >::resume_boundary_connections().

◆ set_final_vertex_connected()

void oomph::TriangleMeshCurveSection::set_final_vertex_connected ( )
inline

◆ set_final_vertex_connected_to_curviline()

void oomph::TriangleMeshCurveSection::set_final_vertex_connected_to_curviline ( )
inline

Sets the final vertex as connected to a curviline.

Definition at line 496 of file unstructured_two_d_mesh_geometry_base.h.

◆ set_initial_vertex_connected()

void oomph::TriangleMeshCurveSection::set_initial_vertex_connected ( )
inline

◆ set_initial_vertex_connected_to_curviline()

void oomph::TriangleMeshCurveSection::set_initial_vertex_connected_to_curviline ( )
inline

Sets the initial vertex as connected to a curviline.

Definition at line 484 of file unstructured_two_d_mesh_geometry_base.h.

◆ set_maximum_length()

void oomph::TriangleMeshCurveSection::set_maximum_length ( const double &  maximum_length)
inline

◆ set_refinement_tolerance()

void oomph::TriangleMeshCurveSection::set_refinement_tolerance ( const double &  tolerance)
inline

Set tolerance for refinement of curve sections to create a better representation of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the refinement tolerance. (The smaller the number the finer the surface representation). If set to a negative value, we're switching off refinement – equivalent to calling disable_polyline_refinement()

Definition at line 230 of file unstructured_two_d_mesh_geometry_base.h.

Referenced by oomph::RefineableTriangleMesh< ELEMENT >::update_open_curve_after_restart(), oomph::RefineableTriangleMesh< ELEMENT >::update_open_curve_using_elements_area(), oomph::RefineableTriangleMesh< ELEMENT >::update_open_curve_using_face_mesh(), oomph::RefineableTriangleMesh< ELEMENT >::update_polygon_after_restart(), oomph::RefineableTriangleMesh< ELEMENT >::update_polygon_using_elements_area(), and oomph::RefineableTriangleMesh< ELEMENT >::update_polygon_using_face_mesh().

◆ set_unrefinement_tolerance()

void oomph::TriangleMeshCurveSection::set_unrefinement_tolerance ( const double &  tolerance)
inline

Set tolerance for unrefinement of curve sections to avoid unnecessarily large numbers of elements on of curvilinear boundaries (e.g. in free-surface problems). See tutorial for interpretation of the optional argument which specifies the unrefinement tolerance. It defaults to 0.04 and the larger the number the more agressive we are when removing unnecessary vertices on gently curved polylines. If set to a negative value, we're switching off unrefinement – equivalent to calling disable_curve_section_unrefinement()

Definition at line 272 of file unstructured_two_d_mesh_geometry_base.h.

Referenced by oomph::RefineableTriangleMesh< ELEMENT >::update_open_curve_after_restart(), oomph::RefineableTriangleMesh< ELEMENT >::update_open_curve_using_elements_area(), oomph::RefineableTriangleMesh< ELEMENT >::update_open_curve_using_face_mesh(), oomph::RefineableTriangleMesh< ELEMENT >::update_polygon_after_restart(), oomph::RefineableTriangleMesh< ELEMENT >::update_polygon_using_elements_area(), and oomph::RefineableTriangleMesh< ELEMENT >::update_polygon_using_face_mesh().

◆ suspend_final_vertex_connected()

void oomph::TriangleMeshCurveSection::suspend_final_vertex_connected ( )
inline

Set the final vertex connection as suspended, it will be resumed when the method to resume the connections is called This method is only used in a distributed context, when the boundary to connect is no longer part of the domain in the processor

Definition at line 410 of file unstructured_two_d_mesh_geometry_base.h.

Referenced by oomph::RefineableTriangleMesh< ELEMENT >::restore_polyline_connections_helper().

◆ suspend_initial_vertex_connected()

void oomph::TriangleMeshCurveSection::suspend_initial_vertex_connected ( )
inline

Set the initial vertex connection as suspended, it will be resumed when the method to resume the connections is called This method is only used in a distributed context, when the boundary to connect is no longer part of the domain in the processor

Definition at line 372 of file unstructured_two_d_mesh_geometry_base.h.

Referenced by oomph::RefineableTriangleMesh< ELEMENT >::restore_polyline_connections_helper().

◆ tolerance_for_s_connection() [1/2]

double oomph::TriangleMeshCurveSection::tolerance_for_s_connection ( ) const
inline

◆ tolerance_for_s_connection() [2/2]

double& oomph::TriangleMeshCurveSection::tolerance_for_s_connection ( )
inline

Sets the tolerance value for connections among curvilines.

Definition at line 526 of file unstructured_two_d_mesh_geometry_base.h.

◆ unrefinement_tolerance()

double oomph::TriangleMeshCurveSection::unrefinement_tolerance ( )
inline

◆ unset_final_vertex_connected()

void oomph::TriangleMeshCurveSection::unset_final_vertex_connected ( )
inline

Sets the final vertex as non connected.

Definition at line 402 of file unstructured_two_d_mesh_geometry_base.h.

◆ unset_final_vertex_connected_to_curviline()

void oomph::TriangleMeshCurveSection::unset_final_vertex_connected_to_curviline ( )
inline

◆ unset_initial_vertex_connected()

void oomph::TriangleMeshCurveSection::unset_initial_vertex_connected ( )
inline

Sets the initial vertex as non connected.

Definition at line 364 of file unstructured_two_d_mesh_geometry_base.h.

◆ unset_initial_vertex_connected_to_curviline()

void oomph::TriangleMeshCurveSection::unset_initial_vertex_connected_to_curviline ( )
inline

Member Data Documentation

◆ Final_s_connection_value

double oomph::TriangleMeshCurveSection::Final_s_connection_value
protected

Stores the s value used for connecting the final end with a curviline.

Definition at line 583 of file unstructured_two_d_mesh_geometry_base.h.

◆ Final_vertex_connected

bool oomph::TriangleMeshCurveSection::Final_vertex_connected
protected

Used for stating if the final end is connected to another boundary.

Definition at line 537 of file unstructured_two_d_mesh_geometry_base.h.

◆ Final_vertex_connected_bnd_id

unsigned oomph::TriangleMeshCurveSection::Final_vertex_connected_bnd_id
protected

Stores the id to which the initial end is connected.

Definition at line 561 of file unstructured_two_d_mesh_geometry_base.h.

◆ Final_vertex_connected_n_chunk

unsigned oomph::TriangleMeshCurveSection::Final_vertex_connected_n_chunk
protected

Stores the chunk number of the boundary to which is connected th initial end.

Definition at line 569 of file unstructured_two_d_mesh_geometry_base.h.

◆ Final_vertex_connected_n_vertex

unsigned oomph::TriangleMeshCurveSection::Final_vertex_connected_n_vertex
protected

Stores the vertex number used for connection with the final end.

Definition at line 565 of file unstructured_two_d_mesh_geometry_base.h.

◆ Final_vertex_connected_suspended

bool oomph::TriangleMeshCurveSection::Final_vertex_connected_suspended
protected

Indicates if the connection is suspended because the boundary to connect is no longer part of the domain (only used in a distributed context)

Definition at line 547 of file unstructured_two_d_mesh_geometry_base.h.

◆ Final_vertex_connected_to_curviline

bool oomph::TriangleMeshCurveSection::Final_vertex_connected_to_curviline
protected

States if the final vertex is connected to a curviline.

Definition at line 575 of file unstructured_two_d_mesh_geometry_base.h.

◆ Initial_s_connection_value

double oomph::TriangleMeshCurveSection::Initial_s_connection_value
protected

Stores the s value used for connecting the initial end with a curviline.

Definition at line 579 of file unstructured_two_d_mesh_geometry_base.h.

◆ Initial_vertex_connected

bool oomph::TriangleMeshCurveSection::Initial_vertex_connected
protected

Used for stating if the initial end is connected to another boundary.

Definition at line 533 of file unstructured_two_d_mesh_geometry_base.h.

◆ Initial_vertex_connected_bnd_id

unsigned oomph::TriangleMeshCurveSection::Initial_vertex_connected_bnd_id
protected

Stores the id to which the initial end is connected.

Definition at line 550 of file unstructured_two_d_mesh_geometry_base.h.

◆ Initial_vertex_connected_n_chunk

unsigned oomph::TriangleMeshCurveSection::Initial_vertex_connected_n_chunk
protected

Stores the chunk number of the boundary to which is connected th initial end.

Definition at line 558 of file unstructured_two_d_mesh_geometry_base.h.

◆ Initial_vertex_connected_n_vertex

unsigned oomph::TriangleMeshCurveSection::Initial_vertex_connected_n_vertex
protected

Stores the vertex number used for connection with the initial end.

Definition at line 554 of file unstructured_two_d_mesh_geometry_base.h.

◆ Initial_vertex_connected_suspended

bool oomph::TriangleMeshCurveSection::Initial_vertex_connected_suspended
protected

Indicates if the connection is suspended because the boundary to connect is no longer part of the domain (only used in a distributed context)

Definition at line 542 of file unstructured_two_d_mesh_geometry_base.h.

◆ Initial_vertex_connected_to_curviline

bool oomph::TriangleMeshCurveSection::Initial_vertex_connected_to_curviline
protected

States if the initial vertex is connected to a curviline.

Definition at line 572 of file unstructured_two_d_mesh_geometry_base.h.

◆ Maximum_length

double oomph::TriangleMeshCurveSection::Maximum_length
private

Maximum allowed distance between two vertices on the polyline representation of the curve section

Definition at line 600 of file unstructured_two_d_mesh_geometry_base.h.

◆ Refinement_tolerance

double oomph::TriangleMeshCurveSection::Refinement_tolerance
private

Tolerance for refinement of curve sections (neg if refinement is disabled)

Definition at line 592 of file unstructured_two_d_mesh_geometry_base.h.

◆ Tolerance_for_s_connection

double oomph::TriangleMeshCurveSection::Tolerance_for_s_connection
protected

Tolerance used for connecting the ends to a curviline.

Definition at line 586 of file unstructured_two_d_mesh_geometry_base.h.

◆ Unrefinement_tolerance

double oomph::TriangleMeshCurveSection::Unrefinement_tolerance
private

Tolerance for unrefinement of curve sections (neg if refinement is disabled)

Definition at line 596 of file unstructured_two_d_mesh_geometry_base.h.


The documentation for this class was generated from the following files: