Go to the source code of this file.
Namespaces | |
oomph | |
//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// | |
oomph::TriangleHelper | |
Helper namespace for triangle meshes. | |
oomph::ToleranceForVertexMismatchInPolygons | |
///////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////// | |
Functions | |
void | oomph::TriangleHelper::clear_triangulateio (TriangulateIO &triangulate_io, const bool &clear_hole_data) |
Clear TriangulateIO structure. More... | |
void | oomph::TriangleHelper::initialise_triangulateio (TriangulateIO &triangle_io) |
Initialise TriangulateIO structure. More... | |
TriangulateIO | oomph::TriangleHelper::deep_copy_of_triangulateio_representation (TriangulateIO &triangle_io, const bool &quiet) |
Make (partial) deep copy of TriangulateIO object. We only copy those items we need within oomph-lib's adaptation procedures. Warnings are issued if triangulate_io contains data that is not not copied, unless quiet=true;. More... | |
void | oomph::TriangleHelper::write_triangulateio_to_polyfile (TriangulateIO &triangle_io, std::ostream &poly_file) |
Write the triangulateio data to disk as a poly file, mainly used for debugging. More... | |
void | oomph::TriangleHelper::create_triangulateio_from_polyfiles (const std::string &node_file_name, const std::string &element_file_name, const std::string &poly_file_name, TriangulateIO &triangle_io, bool &use_attributes) |
Create a triangulateio data file from ele node and poly files. This is used if the mesh is generated by using Triangle externally. The triangulateio structure is required to dump the mesh topology for restarts. More... | |
void | oomph::TriangleHelper::dump_triangulateio (TriangulateIO &triangle_io, std::ostream &dump_file) |
Write all the triangulateio data to disk in a dump file that can then be used to restart simulations. More... | |
void | oomph::TriangleHelper::read_triangulateio (std::istream &restart_file, TriangulateIO &triangle_io) |
Read the triangulateio data from a dump file on disk, which can then be used to restart simulations. More... | |
Variables | |
double | oomph::ToleranceForVertexMismatchInPolygons::Tolerable_error = 1.0e-14 |
Acceptable discrepancy for mismatch in vertex coordinates. In paranoid mode, the code will die if the beginning/end of two adjacent polylines differ by more than that. If the discrepancy is smaller (but nonzero) one of the vertex coordinates get adjusted to match perfectly; without paranoia the vertex coordinates are taken as they come... More... | |