<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.17"/> <meta name="description" content="PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU."> <title>PhasicFlow: shapeMixture Class Reference</title> <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> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.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> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function() { init_search(); }); /* @license-end */ </script> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ extensions: ["tex2jax.js"], jax: ["input/TeX","output/HTML-CSS"], }); </script> <script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="customdoxygen.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" > <tbody> <tr> <td id="projectlogo"><a href="https://github.com/PhasicFlow"><img alt="Logo" src="phasicFlow_logo.png"></a></td> <td> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </td> </tr> <tr> <td id="projectbrief"> <a href="https://https://cemf.ir">www.cemf.ir</a> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.17 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> </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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('classpFlow_1_1shapeMixture.html',''); initResizable(); }); /* @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"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="classpFlow_1_1shapeMixture-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">shapeMixture Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Defines a mixture of particles for particle insertion. <a href="classpFlow_1_1shapeMixture.html#details">More...</a></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for shapeMixture:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture__coll__graph.png" border="0" usemap="#shapeMixture_coll__map" alt="Collaboration graph"/></div> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a549b362afb3aa0fb9fb1f2119116b3e9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a549b362afb3aa0fb9fb1f2119116b3e9">TypeInfoNV</a> ("shapeMixture")</td></tr> <tr class="memdesc:a549b362afb3aa0fb9fb1f2119116b3e9"><td class="mdescLeft"> </td><td class="mdescRight">Type info. <a href="classpFlow_1_1shapeMixture.html#a549b362afb3aa0fb9fb1f2119116b3e9">More...</a><br /></td></tr> <tr class="separator:a549b362afb3aa0fb9fb1f2119116b3e9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a30b28159990ebe96ff0cdd6184f093a4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a30b28159990ebe96ff0cdd6184f093a4">shapeMixture</a> (const <a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> &dict, const <a class="el" href="namespacepFlow.html#ac2c8831a940f11de069cd73eb255b3ae">wordList</a> &validNames)</td></tr> <tr class="memdesc:a30b28159990ebe96ff0cdd6184f093a4"><td class="mdescLeft"> </td><td class="mdescRight">Construct from dictionary. <a href="classpFlow_1_1shapeMixture.html#a30b28159990ebe96ff0cdd6184f093a4">More...</a><br /></td></tr> <tr class="separator:a30b28159990ebe96ff0cdd6184f093a4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3a72daf9b057197e1e34eeafe2c7951e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a3a72daf9b057197e1e34eeafe2c7951e">shapeMixture</a> (const <a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> &)=default</td></tr> <tr class="memdesc:a3a72daf9b057197e1e34eeafe2c7951e"><td class="mdescLeft"> </td><td class="mdescRight">Copy. <a href="classpFlow_1_1shapeMixture.html#a3a72daf9b057197e1e34eeafe2c7951e">More...</a><br /></td></tr> <tr class="separator:a3a72daf9b057197e1e34eeafe2c7951e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1015a6277f40c0c2d9cbea6106112cf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#af1015a6277f40c0c2d9cbea6106112cf">shapeMixture</a> (<a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> &&)=default</td></tr> <tr class="memdesc:af1015a6277f40c0c2d9cbea6106112cf"><td class="mdescLeft"> </td><td class="mdescRight">Move. <a href="classpFlow_1_1shapeMixture.html#af1015a6277f40c0c2d9cbea6106112cf">More...</a><br /></td></tr> <tr class="separator:af1015a6277f40c0c2d9cbea6106112cf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abdbd4fa4a6104b73948d21f7790843b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#abdbd4fa4a6104b73948d21f7790843b6">operator=</a> (const <a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> &)=default</td></tr> <tr class="memdesc:abdbd4fa4a6104b73948d21f7790843b6"><td class="mdescLeft"> </td><td class="mdescRight">Copy assignment. <a href="classpFlow_1_1shapeMixture.html#abdbd4fa4a6104b73948d21f7790843b6">More...</a><br /></td></tr> <tr class="separator:abdbd4fa4a6104b73948d21f7790843b6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f408b2522402cfcdf8eb98ddd997896"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a5f408b2522402cfcdf8eb98ddd997896">operator=</a> (<a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> &&)=default</td></tr> <tr class="memdesc:a5f408b2522402cfcdf8eb98ddd997896"><td class="mdescLeft"> </td><td class="mdescRight">Move assignment. <a href="classpFlow_1_1shapeMixture.html#a5f408b2522402cfcdf8eb98ddd997896">More...</a><br /></td></tr> <tr class="separator:a5f408b2522402cfcdf8eb98ddd997896"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac0ec73071d169582a428f38621008f9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpFlow_1_1uniquePtr.html">uniquePtr</a>< <a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#ac0ec73071d169582a428f38621008f9b">clone</a> () const</td></tr> <tr class="memdesc:ac0ec73071d169582a428f38621008f9b"><td class="mdescLeft"> </td><td class="mdescRight">Polymorphic copy. <a href="classpFlow_1_1shapeMixture.html#ac0ec73071d169582a428f38621008f9b">More...</a><br /></td></tr> <tr class="separator:ac0ec73071d169582a428f38621008f9b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a38936e774330ca34a7baacb38a42602a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a38936e774330ca34a7baacb38a42602a">~shapeMixture</a> ()=default</td></tr> <tr class="memdesc:a38936e774330ca34a7baacb38a42602a"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classpFlow_1_1shapeMixture.html#a38936e774330ca34a7baacb38a42602a">More...</a><br /></td></tr> <tr class="separator:a38936e774330ca34a7baacb38a42602a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5801efcf4ecfd26a91571260a672155b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">word</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a5801efcf4ecfd26a91571260a672155b">getNextShapeName</a> ()</td></tr> <tr class="memdesc:a5801efcf4ecfd26a91571260a672155b"><td class="mdescLeft"> </td><td class="mdescRight">The name of the next shape that should be inserted. <a href="classpFlow_1_1shapeMixture.html#a5801efcf4ecfd26a91571260a672155b">More...</a><br /></td></tr> <tr class="separator:a5801efcf4ecfd26a91571260a672155b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abe6a32d589238a46ff8bd34e0f7ad07f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#abe6a32d589238a46ff8bd34e0f7ad07f">getNextShapeNameN</a> (<a class="el" href="namespacepFlow.html#a801d6a451a01953ef8cbae6feb6a3638">size_t</a> <a class="el" href="NBSLoop_8hpp.html#a58f1256fe216b2e84819aa621b683de1">n</a>, <a class="el" href="namespacepFlow.html#a6e76b0fc4f41684b7dd691cb6552384d">wordVector</a> &names)</td></tr> <tr class="memdesc:abe6a32d589238a46ff8bd34e0f7ad07f"><td class="mdescLeft"> </td><td class="mdescRight">The name of the n next shapes that should be inserted. <a href="classpFlow_1_1shapeMixture.html#abe6a32d589238a46ff8bd34e0f7ad07f">More...</a><br /></td></tr> <tr class="separator:abe6a32d589238a46ff8bd34e0f7ad07f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a10efdf47ffedbdc720f71c2f72b98d98"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a10efdf47ffedbdc720f71c2f72b98d98">size</a> () const</td></tr> <tr class="memdesc:a10efdf47ffedbdc720f71c2f72b98d98"><td class="mdescLeft"> </td><td class="mdescRight">Size of mixture (names) <a href="classpFlow_1_1shapeMixture.html#a10efdf47ffedbdc720f71c2f72b98d98">More...</a><br /></td></tr> <tr class="separator:a10efdf47ffedbdc720f71c2f72b98d98"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a547b89bc9ee73b29de71fd577f1ba326"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a547b89bc9ee73b29de71fd577f1ba326">totalInserted</a> () const</td></tr> <tr class="memdesc:a547b89bc9ee73b29de71fd577f1ba326"><td class="mdescLeft"> </td><td class="mdescRight">Total number inserted particles. <a href="classpFlow_1_1shapeMixture.html#a547b89bc9ee73b29de71fd577f1ba326">More...</a><br /></td></tr> <tr class="separator:a547b89bc9ee73b29de71fd577f1ba326"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ce0c64db98eb6144d363dbfc86104eb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a6ce0c64db98eb6144d363dbfc86104eb">read</a> (const <a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> &dict)</td></tr> <tr class="separator:a6ce0c64db98eb6144d363dbfc86104eb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6964e9f1f100001543fdb044fa7fc896"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a6964e9f1f100001543fdb044fa7fc896">write</a> (<a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> &dict) const</td></tr> <tr class="separator:a6964e9f1f100001543fdb044fa7fc896"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr class="memitem:a13902f92224f21f04ebc99f7079f1485"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#a6e76b0fc4f41684b7dd691cb6552384d">wordVector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a13902f92224f21f04ebc99f7079f1485">names_</a> {"shapeNames"}</td></tr> <tr class="memdesc:a13902f92224f21f04ebc99f7079f1485"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classpFlow_1_1List.html">List</a> of shape names. <a href="classpFlow_1_1shapeMixture.html#a13902f92224f21f04ebc99f7079f1485">More...</a><br /></td></tr> <tr class="separator:a13902f92224f21f04ebc99f7079f1485"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a90175b7550227100304df03bd98b6ebb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#a90d3f047f5a86872dd6ee80ebab12b0d">uint32Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a90175b7550227100304df03bd98b6ebb">number_</a> {"number"}</td></tr> <tr class="memdesc:a90175b7550227100304df03bd98b6ebb"><td class="mdescLeft"> </td><td class="mdescRight">Number composition. <a href="classpFlow_1_1shapeMixture.html#a90175b7550227100304df03bd98b6ebb">More...</a><br /></td></tr> <tr class="separator:a90175b7550227100304df03bd98b6ebb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afa3677c5a67fed9bb84308580ee9c21b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#a90d3f047f5a86872dd6ee80ebab12b0d">uint32Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#afa3677c5a67fed9bb84308580ee9c21b">numberInserted_</a> {"numberInserted"}</td></tr> <tr class="memdesc:afa3677c5a67fed9bb84308580ee9c21b"><td class="mdescLeft"> </td><td class="mdescRight">Number of inserted particles of each shape. <a href="classpFlow_1_1shapeMixture.html#afa3677c5a67fed9bb84308580ee9c21b">More...</a><br /></td></tr> <tr class="separator:afa3677c5a67fed9bb84308580ee9c21b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acb35c3bca327d646b0cea8c6fc853b48"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#a90d3f047f5a86872dd6ee80ebab12b0d">uint32Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#acb35c3bca327d646b0cea8c6fc853b48">current_</a> {"currentInserted"}</td></tr> <tr class="memdesc:acb35c3bca327d646b0cea8c6fc853b48"><td class="mdescLeft"> </td><td class="mdescRight">Current number of inserted. <a href="classpFlow_1_1shapeMixture.html#acb35c3bca327d646b0cea8c6fc853b48">More...</a><br /></td></tr> <tr class="separator:acb35c3bca327d646b0cea8c6fc853b48"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a09344743633f03659607d422a024dc3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1shapeMixture.html#a09344743633f03659607d422a024dc3b">lastPeaked_</a> = 0</td></tr> <tr class="separator:a09344743633f03659607d422a024dc3b"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Defines a mixture of particles for particle insertion. </p> <p>The mixture composition is defined based on the integer numbers. For example, if there are 3 shape names in the simulaiotn (shape1, shape2, and shape3), the mixture composition can be defined as: </p><pre class="fragment">{ shape1 4; shape2 2; shape3 6; } </pre> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00047">47</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a30b28159990ebe96ff0cdd6184f093a4"></a> <h2 class="memtitle"><span class="permalink"><a href="#a30b28159990ebe96ff0cdd6184f093a4">◆ </a></span>shapeMixture() <span class="overload">[1/3]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> & </td> <td class="paramname"><em>dict</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacepFlow.html#ac2c8831a940f11de069cd73eb255b3ae">wordList</a> & </td> <td class="paramname"><em>validNames</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct from dictionary. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8cpp_source.html#l00024">24</a> of file <a class="el" href="shapeMixture_8cpp_source.html">shapeMixture.cpp</a>.</p> <p class="reference">References <a class="el" href="iOstream_8hpp_source.html#l00341">pFlow::endl()</a>, <a class="el" href="error_8hpp_source.html#l00077">fatalErrorInFunction</a>, <a class="el" href="error_8hpp_source.html#l00098">fatalExit</a>, <a class="el" href="dictionary_8cpp_source.html#l00356">dictionary::globalName()</a>, <a class="el" href="shapeMixture_8hpp_source.html#l00052">shapeMixture::names_</a>, and <a class="el" href="shapeMixture_8cpp_source.html#l00085">shapeMixture::read()</a>.</p> <div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture_a30b28159990ebe96ff0cdd6184f093a4_cgraph.png" border="0" usemap="#classpFlow_1_1shapeMixture_a30b28159990ebe96ff0cdd6184f093a4_cgraph" alt=""/></div> </div> </div> </div> <a id="a3a72daf9b057197e1e34eeafe2c7951e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3a72daf9b057197e1e34eeafe2c7951e">◆ </a></span>shapeMixture() <span class="overload">[2/3]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">default</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Copy. </p> </div> </div> <a id="af1015a6277f40c0c2d9cbea6106112cf"></a> <h2 class="memtitle"><span class="permalink"><a href="#af1015a6277f40c0c2d9cbea6106112cf">◆ </a></span>shapeMixture() <span class="overload">[3/3]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> </td> <td>(</td> <td class="paramtype"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> && </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">default</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Move. </p> </div> </div> <a id="a38936e774330ca34a7baacb38a42602a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a38936e774330ca34a7baacb38a42602a">◆ </a></span>~shapeMixture()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">~<a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">default</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a549b362afb3aa0fb9fb1f2119116b3e9"></a> <h2 class="memtitle"><span class="permalink"><a href="#a549b362afb3aa0fb9fb1f2119116b3e9">◆ </a></span>TypeInfoNV()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TypeInfoNV </td> <td>(</td> <td class="paramtype">"shapeMixture" </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Type info. </p> </div> </div> <a id="abdbd4fa4a6104b73948d21f7790843b6"></a> <h2 class="memtitle"><span class="permalink"><a href="#abdbd4fa4a6104b73948d21f7790843b6">◆ </a></span>operator=() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a>& operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">default</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Copy assignment. </p> </div> </div> <a id="a5f408b2522402cfcdf8eb98ddd997896"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5f408b2522402cfcdf8eb98ddd997896">◆ </a></span>operator=() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a>& operator= </td> <td>(</td> <td class="paramtype"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a> && </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">default</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Move assignment. </p> </div> </div> <a id="ac0ec73071d169582a428f38621008f9b"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac0ec73071d169582a428f38621008f9b">◆ </a></span>clone()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classpFlow_1_1uniquePtr.html">uniquePtr</a><<a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a>> clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Polymorphic copy. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00088">88</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> </div> </div> <a id="a5801efcf4ecfd26a91571260a672155b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5801efcf4ecfd26a91571260a672155b">◆ </a></span>getNextShapeName()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">pFlow::word</a> getNextShapeName </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>The name of the next shape that should be inserted. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8cpp_source.html#l00057">57</a> of file <a class="el" href="shapeMixture_8cpp_source.html">shapeMixture.cpp</a>.</p> <p class="reference">References <a class="el" href="VectorAlgorithm_8hpp_source.html#l00044">pFlow::fill()</a>, and <a class="el" href="pFlowMacros_8hpp_source.html#l00075">ForAll</a>.</p> <div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-2-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-2-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-2-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture_a5801efcf4ecfd26a91571260a672155b_cgraph.png" border="0" usemap="#classpFlow_1_1shapeMixture_a5801efcf4ecfd26a91571260a672155b_cgraph" alt=""/></div> </div> </div> </div> <a id="abe6a32d589238a46ff8bd34e0f7ad07f"></a> <h2 class="memtitle"><span class="permalink"><a href="#abe6a32d589238a46ff8bd34e0f7ad07f">◆ </a></span>getNextShapeNameN()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void getNextShapeNameN </td> <td>(</td> <td class="paramtype"><a class="el" href="namespacepFlow.html#a801d6a451a01953ef8cbae6feb6a3638">size_t</a> </td> <td class="paramname"><em>n</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespacepFlow.html#a6e76b0fc4f41684b7dd691cb6552384d">wordVector</a> & </td> <td class="paramname"><em>names</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>The name of the n next shapes that should be inserted. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8cpp_source.html#l00074">74</a> of file <a class="el" href="shapeMixture_8cpp_source.html">shapeMixture.cpp</a>.</p> <p class="reference">References <a class="el" href="NBSLoop_8hpp_source.html#l00024">n</a>.</p> </div> </div> <a id="a10efdf47ffedbdc720f71c2f72b98d98"></a> <h2 class="memtitle"><span class="permalink"><a href="#a10efdf47ffedbdc720f71c2f72b98d98">◆ </a></span>size()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">auto size </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Size of mixture (names) </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00105">105</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> <p class="reference">References <a class="el" href="shapeMixture_8hpp_source.html#l00052">shapeMixture::names_</a>, and <a class="el" href="Vector_8hpp_source.html#l00265">Vector< T, Allocator >::size()</a>.</p> <div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-3-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-3-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-3-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture_a10efdf47ffedbdc720f71c2f72b98d98_cgraph.png" border="0" usemap="#classpFlow_1_1shapeMixture_a10efdf47ffedbdc720f71c2f72b98d98_cgraph" alt=""/></div> </div> </div> </div> <a id="a547b89bc9ee73b29de71fd577f1ba326"></a> <h2 class="memtitle"><span class="permalink"><a href="#a547b89bc9ee73b29de71fd577f1ba326">◆ </a></span>totalInserted()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">auto totalInserted </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Total number inserted particles. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00110">110</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> <p class="reference">References <a class="el" href="shapeMixture_8hpp_source.html#l00058">shapeMixture::numberInserted_</a>, and <a class="el" href="VectorMath_8hpp_source.html#l00197">pFlow::sum()</a>.</p> <div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-4-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-4-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-4-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture_a547b89bc9ee73b29de71fd577f1ba326_cgraph.png" border="0" usemap="#classpFlow_1_1shapeMixture_a547b89bc9ee73b29de71fd577f1ba326_cgraph" alt=""/></div> </div> </div> </div> <a id="a6ce0c64db98eb6144d363dbfc86104eb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6ce0c64db98eb6144d363dbfc86104eb">◆ </a></span>read()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool read </td> <td>(</td> <td class="paramtype">const <a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> & </td> <td class="paramname"><em>dict</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="shapeMixture_8cpp_source.html#l00085">85</a> of file <a class="el" href="shapeMixture_8cpp_source.html">shapeMixture.cpp</a>.</p> <p class="reference">References <a class="el" href="dictionary_8cpp_source.html#l00719">dictionary::dataEntryKeywords()</a>, <a class="el" href="iOstream_8hpp_source.html#l00341">pFlow::endl()</a>, <a class="el" href="error_8hpp_source.html#l00077">fatalErrorInFunction</a>, <a class="el" href="pFlowMacros_8hpp_source.html#l00075">ForAll</a>, <a class="el" href="dictionary_8hpp_source.html#l00379">dictionary::getVal()</a>, and <a class="el" href="dictionary_8cpp_source.html#l00356">dictionary::globalName()</a>.</p> <p class="reference">Referenced by <a class="el" href="shapeMixture_8cpp_source.html#l00024">shapeMixture::shapeMixture()</a>.</p> <div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-5-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-5-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-5-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture_a6ce0c64db98eb6144d363dbfc86104eb_cgraph.png" border="0" usemap="#classpFlow_1_1shapeMixture_a6ce0c64db98eb6144d363dbfc86104eb_cgraph" alt=""/></div> </div> <div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-6-trigger" src="closed.png" alt="+"/> Here is the caller graph for this function:</div> <div id="dynsection-6-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-6-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture_a6ce0c64db98eb6144d363dbfc86104eb_icgraph.png" border="0" usemap="#classpFlow_1_1shapeMixture_a6ce0c64db98eb6144d363dbfc86104eb_icgraph" alt=""/></div> </div> </div> </div> <a id="a6964e9f1f100001543fdb044fa7fc896"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6964e9f1f100001543fdb044fa7fc896">◆ </a></span>write()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool write </td> <td>(</td> <td class="paramtype"><a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> & </td> <td class="paramname"><em>dict</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="shapeMixture_8cpp_source.html#l00146">146</a> of file <a class="el" href="shapeMixture_8cpp_source.html">shapeMixture.cpp</a>.</p> <p class="reference">References <a class="el" href="dictionary_8cpp_source.html#l00435">dictionary::add()</a>, <a class="el" href="iOstream_8hpp_source.html#l00341">pFlow::endl()</a>, <a class="el" href="error_8hpp_source.html#l00077">fatalErrorInFunction</a>, <a class="el" href="pFlowMacros_8hpp_source.html#l00075">ForAll</a>, and <a class="el" href="dictionary_8cpp_source.html#l00356">dictionary::globalName()</a>.</p> <div id="dynsection-7" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-7-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-7-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-7-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classpFlow_1_1shapeMixture_a6964e9f1f100001543fdb044fa7fc896_cgraph.png" border="0" usemap="#classpFlow_1_1shapeMixture_a6964e9f1f100001543fdb044fa7fc896_cgraph" alt=""/></div> </div> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a13902f92224f21f04ebc99f7079f1485"></a> <h2 class="memtitle"><span class="permalink"><a href="#a13902f92224f21f04ebc99f7079f1485">◆ </a></span>names_</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacepFlow.html#a6e76b0fc4f41684b7dd691cb6552384d">wordVector</a> names_ {"shapeNames"}</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classpFlow_1_1List.html">List</a> of shape names. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00052">52</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> <p class="reference">Referenced by <a class="el" href="shapeMixture_8cpp_source.html#l00024">shapeMixture::shapeMixture()</a>, and <a class="el" href="shapeMixture_8hpp_source.html#l00105">shapeMixture::size()</a>.</p> </div> </div> <a id="a90175b7550227100304df03bd98b6ebb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a90175b7550227100304df03bd98b6ebb">◆ </a></span>number_</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacepFlow.html#a90d3f047f5a86872dd6ee80ebab12b0d">uint32Vector</a> number_ {"number"}</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Number composition. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00055">55</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> </div> </div> <a id="afa3677c5a67fed9bb84308580ee9c21b"></a> <h2 class="memtitle"><span class="permalink"><a href="#afa3677c5a67fed9bb84308580ee9c21b">◆ </a></span>numberInserted_</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacepFlow.html#a90d3f047f5a86872dd6ee80ebab12b0d">uint32Vector</a> numberInserted_ {"numberInserted"}</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Number of inserted particles of each shape. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00058">58</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> <p class="reference">Referenced by <a class="el" href="shapeMixture_8hpp_source.html#l00110">shapeMixture::totalInserted()</a>.</p> </div> </div> <a id="acb35c3bca327d646b0cea8c6fc853b48"></a> <h2 class="memtitle"><span class="permalink"><a href="#acb35c3bca327d646b0cea8c6fc853b48">◆ </a></span>current_</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacepFlow.html#a90d3f047f5a86872dd6ee80ebab12b0d">uint32Vector</a> current_ {"currentInserted"}</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Current number of inserted. </p> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00061">61</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> </div> </div> <a id="a09344743633f03659607d422a024dc3b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a09344743633f03659607d422a024dc3b">◆ </a></span>lastPeaked_</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> lastPeaked_ = 0</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="shapeMixture_8hpp_source.html#l00063">63</a> of file <a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>src/Particles/Insertion/shapeMixture/<a class="el" href="shapeMixture_8hpp_source.html">shapeMixture.hpp</a></li> <li>src/Particles/Insertion/shapeMixture/<a class="el" href="shapeMixture_8cpp_source.html">shapeMixture.cpp</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespacepFlow.html">pFlow</a></li><li class="navelem"><a class="el" href="classpFlow_1_1shapeMixture.html">shapeMixture</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> </ul> </div> </body> </html>