2026-03-20 13:27:11 -04:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
< meta name = "generator" content = "Doxygen 1.13.2" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > stroid: src/include/stroid/IO/mesh.h File Reference< / title >
< link rel = "icon" href = "Logo.png" type = "image/x-icon" / >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< script type = "text/javascript" src = "clipboard.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "cookie.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "doxygen-awesome.css" rel = "stylesheet" type = "text/css" / >
< link href = "doxygen-awesome-sidebar-only.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectlogo" > < img alt = "Logo" src = "Logo.png" / > < / td >
< td id = "projectalign" >
2026-09-09 12:39:53 -04:00
< div id = "projectname" > stroid< span id = "projectnumber" >   v0.6.0< / span >
2026-03-20 13:27:11 -04:00
< / div >
< div id = "projectbrief" > Multi-block curvilinear mesh generation< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
< / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
< / script >
< div id = "main-nav" > < / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function(){initNavTree('mesh_8h.html',''); initResizable(true); });
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#namespaces" > Namespaces< / a > |
< a href = "#enum-members" > Enumerations< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" > < div class = "title" > mesh.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < string> < / code > < br / >
2026-09-09 12:39:53 -04:00
< code > #include < expected> < / code > < br / >
< code > #include < istream> < / code > < br / >
< code > #include < memory> < / code > < br / >
2026-03-20 13:27:11 -04:00
< code > #include " mfem.hpp" < / code > < br / >
2026-09-09 12:39:53 -04:00
< code > #include " < a class = "el" href = "types_8h.html" > stroid/utils/types.h< / a > " < / code > < br / >
2026-03-20 13:27:11 -04:00
< / div > < div class = "textblock" > < div class = "dynheader" >
Include dependency graph for mesh.h:< / div >
< div class = "dyncontent" >
2026-09-09 12:39:53 -04:00
< div class = "center" > < div class = "zoom" > < iframe scrolling = "no" frameborder = "0" src = "mesh_8h__incl.svg" width = "100%" height = "504" > < p > < b > This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.< / b > < / p > < / iframe > < / div > < / div >
2026-03-20 13:27:11 -04:00
< / div >
< / div > < div class = "textblock" > < div class = "dynheader" >
This graph shows which files directly or indirectly include this file:< / div >
< div class = "dyncontent" >
2026-09-09 12:39:53 -04:00
< div class = "center" > < iframe scrolling = "no" frameborder = "0" src = "mesh_8h__dep__incl.svg" width = "511" height = "214" > < p > < b > This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.< / b > < / p > < / iframe > < / div >
2026-03-20 13:27:11 -04:00
< / div >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "namespaces" name = "namespaces" > < / a >
Namespaces< / h2 > < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > namespace   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid.html" > stroid< / a > < / td > < / tr >
2026-09-09 12:39:53 -04:00
< tr class = "memdesc:namespacestroid" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Public API surface for the stroid mesh generation library. < br / > < / td > < / tr >
2026-03-20 13:27:11 -04:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > namespace   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html" > stroid::IO< / a > < / td > < / tr >
2026-09-09 12:39:53 -04:00
< tr class = "memdesc:namespacestroid_1_1_i_o" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Mesh serialization and visualization helpers. < br / > < / td > < / tr >
2026-03-20 13:27:11 -04:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "enum-members" name = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
< tr class = "memitem:ad4048304d8a0c7075d2b2a6e465d0b6e" id = "r_ad4048304d8a0c7075d2b2a6e465d0b6e" > < td class = "memItemLeft" align = "right" valign = "top" > enum class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#ad4048304d8a0c7075d2b2a6e465d0b6e" > stroid::IO::VISUALIZATION_MODE< / a > : uint8_t { < a class = "el" href = "namespacestroid_1_1_i_o.html#ad4048304d8a0c7075d2b2a6e465d0b6eab50339a10e1de285ac99d4c3990b8693" > stroid::IO::NONE< / a >
, < a class = "el" href = "namespacestroid_1_1_i_o.html#ad4048304d8a0c7075d2b2a6e465d0b6eac31a2fe3e97d218a154c1947b43d6bbf" > stroid::IO::ELEMENT_ID< / a >
, < a class = "el" href = "namespacestroid_1_1_i_o.html#ad4048304d8a0c7075d2b2a6e465d0b6eaee96e14c2b71bd59252006289ba464cf" > stroid::IO::BOUNDARY_ELEMENT_ID< / a >
}< / td > < / tr >
< tr class = "memdesc:ad4048304d8a0c7075d2b2a6e465d0b6e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Visualization modes for GLVis display. < a href = "namespacestroid_1_1_i_o.html#ad4048304d8a0c7075d2b2a6e465d0b6e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ad4048304d8a0c7075d2b2a6e465d0b6e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "func-members" name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
2026-09-09 12:39:53 -04:00
< tr class = "memitem:ab854167b428c1a77597d9bb3a972b363" id = "r_ab854167b428c1a77597d9bb3a972b363" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#ab854167b428c1a77597d9bb3a972b363" > stroid::IO::SaveStroidMesh< / a > (const < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > StroidMesh< / a > & mesh, const std::string & filename, const std::string & comment=" " )< / td > < / tr >
< tr class = "separator:ab854167b428c1a77597d9bb3a972b363" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2026-03-20 13:27:11 -04:00
< tr class = "memitem:aeb567ddc70ff2d064c139dee87575830" id = "r_aeb567ddc70ff2d064c139dee87575830" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#aeb567ddc70ff2d064c139dee87575830" > stroid::IO::SaveMesh< / a > (const mfem::Mesh & mesh, const std::string & filename)< / td > < / tr >
< tr class = "memdesc:aeb567ddc70ff2d064c139dee87575830" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Save a mesh to MFEM's native < code > .mesh< / code > format. < br / > < / td > < / tr >
< tr class = "separator:aeb567ddc70ff2d064c139dee87575830" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2026-09-09 12:39:53 -04:00
< tr class = "memitem:ad7721ff3eda0ad42365955ea33da2b0a" id = "r_ad7721ff3eda0ad42365955ea33da2b0a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#ad7721ff3eda0ad42365955ea33da2b0a" > stroid::IO::SaveMesh< / a > (const < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > stroid::StroidMesh< / a > & mesh, const std::string & filename)< / td > < / tr >
< tr class = "memdesc:ad7721ff3eda0ad42365955ea33da2b0a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Overload of SaveMesh which accepts a < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > StroidMesh< / a > type and will internally unpack it. < br / > < / td > < / tr >
< tr class = "separator:ad7721ff3eda0ad42365955ea33da2b0a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2026-03-20 13:27:11 -04:00
< tr class = "memitem:ab4c8bda7ab370e34376a7832fbf0951e" id = "r_ab4c8bda7ab370e34376a7832fbf0951e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#ab4c8bda7ab370e34376a7832fbf0951e" > stroid::IO::SaveVTU< / a > (mfem::Mesh & mesh, const std::string & exportName)< / td > < / tr >
< tr class = "memdesc:ab4c8bda7ab370e34376a7832fbf0951e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Save a mesh as a ParaView VTU dataset. < br / > < / td > < / tr >
< tr class = "separator:ab4c8bda7ab370e34376a7832fbf0951e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2026-09-09 12:39:53 -04:00
< tr class = "memitem:ae0fc8e0663da26ff11be71fb1b5a0b0e" id = "r_ae0fc8e0663da26ff11be71fb1b5a0b0e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#ae0fc8e0663da26ff11be71fb1b5a0b0e" > stroid::IO::SaveVTU< / a > (const < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > stroid::StroidMesh< / a > & mesh, const std::string & exportName)< / td > < / tr >
< tr class = "memdesc:ae0fc8e0663da26ff11be71fb1b5a0b0e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Overload of SaveVTU which accepts a < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > StroidMesh< / a > type and will internally unpack it. < br / > < / td > < / tr >
< tr class = "separator:ae0fc8e0663da26ff11be71fb1b5a0b0e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7426b1e664be45cbf791167748d4feb8" id = "r_a7426b1e664be45cbf791167748d4feb8" > < td class = "memItemLeft" align = "right" valign = "top" > std::unique_ptr< mfem::Mesh >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#a7426b1e664be45cbf791167748d4feb8" > stroid::IO::MakeConformingVisualizationMesh< / a > (const mfem::Mesh & mesh)< / td > < / tr >
< tr class = "memdesc:a7426b1e664be45cbf791167748d4feb8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a display-only mesh copy with matching face subdivisions. This is purely for visualization and should not be used for any science goals. < br / > < / td > < / tr >
< tr class = "separator:a7426b1e664be45cbf791167748d4feb8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7bc6daa0f9ef8327355022363e1db3fb" id = "r_a7bc6daa0f9ef8327355022363e1db3fb" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#a7bc6daa0f9ef8327355022363e1db3fb" > stroid::IO::ViewMesh< / a > (mfem::Mesh & mesh, const std::string & title, < a class = "el" href = "namespacestroid_1_1_i_o.html#ad4048304d8a0c7075d2b2a6e465d0b6e" > VISUALIZATION_MODE< / a > mode, const std::string & vishost, int visport, bool conforming_display=true)< / td > < / tr >
< tr class = "memdesc:a7bc6daa0f9ef8327355022363e1db3fb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Stream a mesh to a running GLVis server for interactive viewing. < br / > < / td > < / tr >
< tr class = "separator:a7bc6daa0f9ef8327355022363e1db3fb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6491a99d6d2859b2c098b94f2f8171d3" id = "r_a6491a99d6d2859b2c098b94f2f8171d3" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#a6491a99d6d2859b2c098b94f2f8171d3" > stroid::IO::ViewMesh< / a > (const < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > stroid::StroidMesh< / a > & mesh, const std::string & title, < a class = "el" href = "namespacestroid_1_1_i_o.html#ad4048304d8a0c7075d2b2a6e465d0b6e" > VISUALIZATION_MODE< / a > mode, const std::string & vishost, int visport, bool conforming_display=true)< / td > < / tr >
< tr class = "separator:a6491a99d6d2859b2c098b94f2f8171d3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a516d260163e0b6ac000b301b0b8cf4bb" id = "r_a516d260163e0b6ac000b301b0b8cf4bb" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#a516d260163e0b6ac000b301b0b8cf4bb" > stroid::IO::VisualizeFaceValence< / a > (mfem::Mesh & mesh, const std::string & vishost, int visport, bool conforming_display=true)< / td > < / tr >
< tr class = "memdesc:a516d260163e0b6ac000b301b0b8cf4bb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Color boundary-adjacent elements by face valence (1=surface, 2=internal). Untagged elements are zero; elements touching several tagged faces use the maximum valence. Values are computed before display subdivision. < br / > < / td > < / tr >
< tr class = "separator:a516d260163e0b6ac000b301b0b8cf4bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a26155a525b34257a3eb2305e477b6bef" id = "r_a26155a525b34257a3eb2305e477b6bef" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#a26155a525b34257a3eb2305e477b6bef" > stroid::IO::VisualizeFaceValence< / a > (const < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > stroid::StroidMesh< / a > & mesh, const std::string & vishost, int visport, bool conforming_display=true)< / td > < / tr >
< tr class = "separator:a26155a525b34257a3eb2305e477b6bef" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a20ae517986b9c27d23ef5f0ab704b247" id = "r_a20ae517986b9c27d23ef5f0ab704b247" > < td class = "memItemLeft" align = "right" valign = "top" > std::expected< < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > StroidMesh< / a > , std::string >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#a20ae517986b9c27d23ef5f0ab704b247" > stroid::IO::ParseStroidMesh< / a > (std::istream & is)< / td > < / tr >
< tr class = "separator:a20ae517986b9c27d23ef5f0ab704b247" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3f39dc149d5650468b579c76d00f991d" id = "r_a3f39dc149d5650468b579c76d00f991d" > < td class = "memItemLeft" align = "right" valign = "top" > std::expected< < a class = "el" href = "structstroid_1_1_stroid_mesh.html" > StroidMesh< / a > , std::string >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacestroid_1_1_i_o.html#a3f39dc149d5650468b579c76d00f991d" > stroid::IO::LoadStroidMesh< / a > (const std::string & filename)< / td > < / tr >
< tr class = "separator:a3f39dc149d5650468b579c76d00f991d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2026-03-20 13:27:11 -04:00
< / table >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "dir_68267d1309a1af8e8297ef4c3efbcdba.html" > src< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_b0856f6b0d80ccb263b2f415c91f9e17.html" > include< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_3f4f28e99864f6e7d54ad0c93ce0a2a5.html" > stroid< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_31a6c70da1404d38d1b51e38b19548a1.html" > IO< / a > < / li > < li class = "navelem" > < a class = "el" href = "mesh_8h.html" > mesh.h< / a > < / li >
< li class = "footer" > Generated by < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.13.2 < / li >
< / ul >
< / div >
< / body >
< / html >