<metaname="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.">
<!-- 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">twoPartEntry.cpp</div></div>
</div><!--header-->
<divclass="contents">
<ahref="twoPartEntry_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="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment">// based on OpenFOAM dictionary, with some modifications/simplifications</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment">// to be tailored to our needs</span></div>
<divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <aclass="code"href="classpFlow_1_1iTstream.html">iTstream</a>& iT = entry.<aclass="code"href="classpFlow_1_1dataEntry.html#aec6909dffed34a3c8c286c344e4cf656">stream</a>();</div>
<divclass="line"><aname="l00047"></a><spanclass="lineno"> 47</span> <aclass="code"href="error_8hpp.html#aca9aa547c8441e4410a65a2ce7c21554">fatalErrorInFunction</a><<<spanclass="stringliteral">"attemps to read from token stream failed \n"</span>;</div>
<divclass="ttc"id="aclasspFlow_1_1IOstream_html_af3418ac60d0d7a303478f29a387feb3c"><divclass="ttname"><ahref="classpFlow_1_1IOstream.html#af3418ac60d0d7a303478f29a387feb3c">pFlow::IOstream::eof</a></div><divclass="ttdeci">bool eof() const</div><divclass="ttdoc">Return true if end of input seen.</div><divclass="ttdef"><b>Definition:</b><ahref="IOstream_8hpp_source.html#l00192">IOstream.hpp:192</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1token_html"><divclass="ttname"><ahref="classpFlow_1_1token.html">pFlow::token</a></div><divclass="ttdoc">Token class based on OpenFOAM stream, with some modifications/simplifications to be tailored to our n...</div><divclass="ttdef"><b>Definition:</b><ahref="token_8hpp_source.html#l00044">token.hpp:44</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1dataEntry_html_aec6909dffed34a3c8c286c344e4cf656"><divclass="ttname"><ahref="classpFlow_1_1dataEntry.html#aec6909dffed34a3c8c286c344e4cf656">pFlow::dataEntry::stream</a></div><divclass="ttdeci">virtual iTstream & stream()</div><divclass="ttdoc">access to token stream</div><divclass="ttdef"><b>Definition:</b><ahref="dataEntry_8cpp_source.html#l00265">dataEntry.cpp:265</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1iEntry_html_a7c88d41e6cee4f2ba2bfa06e3078373a"><divclass="ttname"><ahref="classpFlow_1_1iEntry.html#a7c88d41e6cee4f2ba2bfa06e3078373a">pFlow::iEntry::keyword</a></div><divclass="ttdeci">virtual const word & keyword() const</div><divclass="ttdoc">return keyword</div><divclass="ttdef"><b>Definition:</b><ahref="iEntry_8hpp_source.html#l00088">iEntry.hpp:88</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1twoPartEntry_html_a00ad076e871627b9717719b5d1082e71"><divclass="ttname"><ahref="classpFlow_1_1twoPartEntry.html#a00ad076e871627b9717719b5d1082e71">pFlow::twoPartEntry::secondPart</a></div><divclass="ttdeci">iTstream & secondPart()</div><divclass="ttdef"><b>Definition:</b><ahref="twoPartEntry_8hpp_source.html#l00056">twoPartEntry.hpp:56</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1dataEntry_html"><divclass="ttname"><ahref="classpFlow_1_1dataEntry.html">pFlow::dataEntry</a></div><divclass="ttdoc">Data entry to be used in dictionries.</div><divclass="ttdef"><b>Definition:</b><ahref="dataEntry_8hpp_source.html#l00048">dataEntry.hpp:48</a></div></div>
<divclass="ttc"id="aerror_8hpp_html_aca9aa547c8441e4410a65a2ce7c21554"><divclass="ttname"><ahref="error_8hpp.html#aca9aa547c8441e4410a65a2ce7c21554">fatalErrorInFunction</a></div><divclass="ttdeci">#define fatalErrorInFunction</div><divclass="ttdoc">Report a fatal error and function name and exit the application.</div><divclass="ttdef"><b>Definition:</b><ahref="error_8hpp_source.html#l00077">error.hpp:77</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1iTstream_html_a2927b1d2adfb79cfbe30374f02109ac5"><divclass="ttname"><ahref="classpFlow_1_1iTstream.html#a2927b1d2adfb79cfbe30374f02109ac5">pFlow::iTstream::read</a></div><divclass="ttdeci">virtual iIstream & read(token &t) override</div><divclass="ttdoc">Return next token from stream.</div><divclass="ttdef"><b>Definition:</b><ahref="iTstream_8cpp_source.html#l00111">iTstream.cpp:111</a></div></div>