<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="headertitle">
<divclass="title">property.cpp</div></div>
</div><!--header-->
<divclass="contents">
<ahref="property_8cpp.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*------------------------------- phasicFlow ---------------------------------</span></div>
<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> O C enter of</span></div>
<divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> O O E ngineering and</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> O O M ultiscale modeling of</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> OOOOOOO F luid flow </span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> This file is part of phasicFlow code. It is a free software for simulating </span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> granular and multiphase flows. You can redistribute it and/or modify it under</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> the terms of GNU General Public License v3 or any other later versions. </span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> phasicFlow is distributed to help others in their research in the field of </span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
<divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span> <spanclass="stringliteral">" number of elements in material ("</span><<materials_.size()<<</div>
<divclass="line"><aname="l00039"></a><spanclass="lineno"> 39</span> <spanclass="stringliteral">") is not equal to number of elements in densities ("</span><<densities_.<aclass="code"href="classpFlow_1_1Vector.html#a10efdf47ffedbdc720f71c2f72b98d98">size</a>()<<</div>
<divclass="line"><aname="l00040"></a><spanclass="lineno"> 40</span> <spanclass="stringliteral">") in dictionary "</span><< dict.<aclass="code"href="classpFlow_1_1dictionary.html#a85c3c1fce0c14d36030092df2f27b632">globalName</a>()<<<aclass="code"href="namespacepFlow.html#aba8f0c455a3fdb4b05ad33a25b13b189">endl</a>;</div>
<divclass="line"><aname="l00062"></a><spanclass="lineno"> 62</span> <spanclass="stringliteral">" error in writing materials to dictionary "</span><< dict.<aclass="code"href="classpFlow_1_1dictionary.html#a85c3c1fce0c14d36030092df2f27b632">globalName</a>()<<<aclass="code"href="namespacepFlow.html#aba8f0c455a3fdb4b05ad33a25b13b189">endl</a>;</div>
<divclass="line"><aname="l00069"></a><spanclass="lineno"> 69</span> <spanclass="stringliteral">" error in writing densities to dictionary "</span><< dict.<aclass="code"href="classpFlow_1_1dictionary.html#a85c3c1fce0c14d36030092df2f27b632">globalName</a>()<<<aclass="code"href="namespacepFlow.html#aba8f0c455a3fdb4b05ad33a25b13b189">endl</a>;</div>
<divclass="line"><aname="l00086"></a><spanclass="lineno"> 86</span> <spanclass="stringliteral">" repeated material name in the list of materials: "</span><<<aclass="code"href="classpFlow_1_1property.html#a437403f7d71404549fdfc4fc1825cff2">materials_</a>;</div>
<divclass="line"><aname="l00108"></a><spanclass="lineno"> 108</span> <spanclass="stringliteral">" error in the input parameters of constructor. \n"</span>;</div>
<divclass="ttc"id="aclasspFlow_1_1property_html_a81429b86cbb3fb83ee6752cc2308c094"><divclass="ttname"><ahref="classpFlow_1_1property.html#a81429b86cbb3fb83ee6752cc2308c094">pFlow::property::makeNameIndex</a></div><divclass="ttdeci">bool makeNameIndex()</div><divclass="ttdoc">creates a mapp</div><divclass="ttdef"><b>Definition:</b><ahref="property_8cpp_source.html#l00076">property.cpp:76</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1property_html_a437403f7d71404549fdfc4fc1825cff2"><divclass="ttname"><ahref="classpFlow_1_1property.html#a437403f7d71404549fdfc4fc1825cff2">pFlow::property::materials_</a></div><divclass="ttdeci">wordVector materials_</div><divclass="ttdoc">list of name of materials</div><divclass="ttdef"><b>Definition:</b><ahref="property_8hpp_source.html#l00050">property.hpp:50</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1property_html_ad55987c0647186d3e7acad9cc4166034"><divclass="ttname"><ahref="classpFlow_1_1property.html#ad55987c0647186d3e7acad9cc4166034">pFlow::property::writeDictionary</a></div><divclass="ttdeci">bool writeDictionary(dictionary &dict) const</div><divclass="ttdoc">write to dict</div><divclass="ttdef"><b>Definition:</b><ahref="property_8cpp_source.html#l00054">property.cpp:54</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_abd01e8e67e3d94cab04ecaaf4f85ac1b"><divclass="ttname"><ahref="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">pFlow::uint32</a></div><divclass="ttdeci">unsigned int uint32</div><divclass="ttdef"><b>Definition:</b><ahref="builtinTypes_8hpp_source.html#l00059">builtinTypes.hpp:59</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1dictionary_html_a85c3c1fce0c14d36030092df2f27b632"><divclass="ttname"><ahref="classpFlow_1_1dictionary.html#a85c3c1fce0c14d36030092df2f27b632">pFlow::dictionary::globalName</a></div><divclass="ttdeci">virtual word globalName() const</div><divclass="ttdef"><b>Definition:</b><ahref="dictionary_8cpp_source.html#l00349">dictionary.cpp:349</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1Istream_html_a754ce9966caae1ee331378bf4a87269b"><divclass="ttname"><ahref="classpFlow_1_1Istream.html#a754ce9966caae1ee331378bf4a87269b">pFlow::Istream::name</a></div><divclass="ttdeci">virtual const word & name() const</div><divclass="ttdoc">Return the name of the stream.</div><divclass="ttdef"><b>Definition:</b><ahref="Istream_8hpp_source.html#l00077">Istream.hpp:77</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_aba8f0c455a3fdb4b05ad33a25b13b189"><divclass="ttname"><ahref="namespacepFlow.html#aba8f0c455a3fdb4b05ad33a25b13b189">pFlow::endl</a></div><divclass="ttdeci">iOstream & endl(iOstream &os)</div><divclass="ttdoc">Add newline and flush stream.</div><divclass="ttdef"><b>Definition:</b><ahref="iOstream_8hpp_source.html#l00320">iOstream.hpp:320</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1property_html_a1092ec0af64496d0215071cce3f90c41"><divclass="ttname"><ahref="classpFlow_1_1property.html#a1092ec0af64496d0215071cce3f90c41">pFlow::property::nameIndex_</a></div><divclass="ttdeci">wordHashMap< uint32 > nameIndex_</div><divclass="ttdoc">rapid mapping from name to index</div><divclass="ttdef"><b>Definition:</b><ahref="property_8hpp_source.html#l00056">property.hpp:56</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1property_html_a22879bc8973d7aea0c4eb37a527acac5"><divclass="ttname"><ahref="classpFlow_1_1property.html#a22879bc8973d7aea0c4eb37a527acac5">pFlow::property::property</a></div><divclass="ttdeci">property()</div><divclass="ttdoc">Emptry constructor, used for reading from a file.</div><divclass="ttdef"><b>Definition:</b><ahref="property_8hpp_source.html#l00082">property.hpp:82</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1dictionary_html_a523bcff98ab38f3c5961e56eeb0b1d47"><divclass="ttname"><ahref="classpFlow_1_1dictionary.html#a523bcff98ab38f3c5961e56eeb0b1d47">pFlow::dictionary::getVal</a></div><divclass="ttdeci">T getVal(const word &keyword) const</div><divclass="ttdef"><b>Definition:</b><ahref="dictionary_8hpp_source.html#l00309">dictionary.hpp:309</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1property_html_ad1dfa4ff1700e5649d5651714ad559fa"><divclass="ttname"><ahref="classpFlow_1_1property.html#ad1dfa4ff1700e5649d5651714ad559fa">pFlow::property::numMaterials_</a></div><divclass="ttdeci">uint32 numMaterials_</div><divclass="ttdoc">number of materials</div><divclass="ttdef"><b>Definition:</b><ahref="property_8hpp_source.html#l00059">property.hpp:59</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1IOstream_html_a607efe5fb94edbe4cfa890c4907e76c3"><divclass="ttname"><ahref="classpFlow_1_1IOstream.html#a607efe5fb94edbe4cfa890c4907e76c3">pFlow::IOstream::lineNumber</a></div><divclass="ttdeci">int32 lineNumber() const</div><divclass="ttdoc">Const access to the current stream line number.</div><divclass="ttdef"><b>Definition:</b><ahref="IOstream_8hpp_source.html#l00221">IOstream.hpp:221</a></div></div>