<!-- 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">error.cpp</div></div>
</div><!--header-->
<divclass="contents">
<ahref="error_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="l00034"></a><spanclass="lineno"> 34</span> <aclass="code"href="error_8cpp.html#a5eb018080f1db7b439575b673d5d5bf2">errorStream</a><<<spanclass="stringliteral">"\n>>> Fatal error in phasicFlow\n"</span><<</div>
<divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <spanclass="stringliteral">"Error occured in source file "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fileName) <<</div>
<divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="stringliteral">" at line "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(linNumber)<<<spanclass="charliteral">'\n'</span>;</div>
<divclass="line"><aname="l00044"></a><spanclass="lineno"> 44</span> <aclass="code"href="error_8cpp.html#a5eb018080f1db7b439575b673d5d5bf2">errorStream</a><<<spanclass="stringliteral">"\n>>> Fatal error in phasicFlow\n"</span><<</div>
<divclass="line"><aname="l00045"></a><spanclass="lineno"> 45</span> <spanclass="stringliteral">" Error is issued in function "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fnName)<<</div>
<divclass="line"><aname="l00046"></a><spanclass="lineno"> 46</span> <spanclass="stringliteral">", located in file "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fileName) <<</div>
<divclass="line"><aname="l00047"></a><spanclass="lineno"> 47</span> <spanclass="stringliteral">" at line "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(linNumber) <<<spanclass="charliteral">'\n'</span>;</div>
<divclass="line"><aname="l00054"></a><spanclass="lineno"> 54</span> <aclass="code"href="error_8cpp.html#a5eb018080f1db7b439575b673d5d5bf2">errorStream</a><<<spanclass="stringliteral">"\n>>> Fatal error in phasicFlow\n"</span>;</div>
<divclass="line"><aname="l00055"></a><spanclass="lineno"> 55</span> <aclass="code"href="error_8cpp.html#a5eb018080f1db7b439575b673d5d5bf2">errorStream</a><<<spanclass="stringliteral">" Function "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fnName) <<<spanclass="stringliteral">" has not implmented yet!\n"</span><<</div>
<divclass="line"><aname="l00056"></a><spanclass="lineno"> 56</span> <spanclass="stringliteral">" Function definition is in source file "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fileName) <<</div>
<divclass="line"><aname="l00057"></a><spanclass="lineno"> 57</span> <spanclass="stringliteral">" at line "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(lineNumber) <<<spanclass="charliteral">'\n'</span>;</div>
<divclass="line"><aname="l00066"></a><spanclass="lineno"> 66</span> <spanclass="stringliteral">" IO error at number "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fileLineNumber)<<</div>
<divclass="line"><aname="l00067"></a><spanclass="lineno"> 67</span> <spanclass="stringliteral">" of file "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fileName)<<<spanclass="charliteral">'\n'</span>;</div>
<divclass="line"><aname="l00068"></a><spanclass="lineno"> 68</span> <aclass="code"href="error_8cpp.html#a5eb018080f1db7b439575b673d5d5bf2">errorStream</a><<<spanclass="stringliteral">" IO operation is peformed from function "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fnName) <<</div>
<divclass="line"><aname="l00069"></a><spanclass="lineno"> 69</span> <spanclass="stringliteral">" in file "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(fName)<<<spanclass="stringliteral">" at line "</span><<<aclass="code"href="streams_8hpp.html#a6536dc902ef8c5e4e8eead6f3c5dc237">redText</a>(lNumber) <<<spanclass="charliteral">'\n'</span>;</div>
<divclass="line"><aname="l00082"></a><spanclass="lineno"> 82</span> <aclass="code"href="error_8cpp.html#a5eb018080f1db7b439575b673d5d5bf2">errorStream</a><<<spanclass="stringliteral">"\n>>> Warning in phasicFlow\n"</span><<</div>
<divclass="line"><aname="l00083"></a><spanclass="lineno"> 83</span> <spanclass="stringliteral">" Warning is issued in function "</span><<<aclass="code"href="streams_8hpp.html#a71e567553baf2a24a11e442683cde599">yellowText</a>(fnName)<<</div>
<divclass="line"><aname="l00084"></a><spanclass="lineno"> 84</span> <spanclass="stringliteral">" in source file "</span><<<aclass="code"href="streams_8hpp.html#a71e567553baf2a24a11e442683cde599">yellowText</a>(fileName) <<</div>
<divclass="line"><aname="l00085"></a><spanclass="lineno"> 85</span> <spanclass="stringliteral">" at line "</span><<<aclass="code"href="streams_8hpp.html#a71e567553baf2a24a11e442683cde599">yellowText</a>(linNumber) <<<spanclass="charliteral">'\n'</span>;</div>
<divclass="ttc"id="aerror_8cpp_html_a5eb018080f1db7b439575b673d5d5bf2"><divclass="ttname"><ahref="error_8cpp.html#a5eb018080f1db7b439575b673d5d5bf2">errorStream</a></div><divclass="ttdeci">static pFlow::Ostream & errorStream</div><divclass="ttdef"><b>Definition:</b><ahref="error_8cpp_source.html#l00028">error.cpp:28</a></div></div>
<divclass="ttc"id="aerror_8cpp_html_a653033f027c35c016ad647d303a53846"><divclass="ttname"><ahref="error_8cpp.html#a653033f027c35c016ad647d303a53846">fatalErrorInMessage</a></div><divclass="ttdeci">pFlow::iOstream & fatalErrorInMessage(const char *fnName, const char *fileName, int linNumber)</div><divclass="ttdef"><b>Definition:</b><ahref="error_8cpp_source.html#l00041">error.cpp:41</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="aerror_8cpp_html_a76fb1cfa092a4635166f1a5b72b3b1e4"><divclass="ttname"><ahref="error_8cpp.html#a76fb1cfa092a4635166f1a5b72b3b1e4">warningMessage</a></div><divclass="ttdeci">pFlow::iOstream & warningMessage(const char *fnName, const char *fileName, int linNumber)</div><divclass="ttdef"><b>Definition:</b><ahref="error_8cpp_source.html#l00079">error.cpp:79</a></div></div>
<divclass="ttc"id="aerror_8cpp_html_a760a332a5ee6b584fb927d3dd452f6d6"><divclass="ttname"><ahref="error_8cpp.html#a760a332a5ee6b584fb927d3dd452f6d6">notImplementedErrorMessage</a></div><divclass="ttdeci">pFlow::iOstream & notImplementedErrorMessage(const char *fnName, const char *fileName, int lineNumber)</div><divclass="ttdef"><b>Definition:</b><ahref="error_8cpp_source.html#l00051">error.cpp:51</a></div></div>
<divclass="ttc"id="aerror_8cpp_html_a0ed43bbcfae7ab9b70cd23a82db23c43"><divclass="ttname"><ahref="error_8cpp.html#a0ed43bbcfae7ab9b70cd23a82db23c43">fatalErrorMessage</a></div><divclass="ttdeci">pFlow::iOstream & fatalErrorMessage(const char *fileName, int linNumber)</div><divclass="ttdef"><b>Definition:</b><ahref="error_8cpp_source.html#l00031">error.cpp:31</a></div></div>
<divclass="ttc"id="aerror_8cpp_html_ac2f5cd92e12e534ad9015645f37f0fdf"><divclass="ttname"><ahref="error_8cpp.html#ac2f5cd92e12e534ad9015645f37f0fdf">reportAndExit</a></div><divclass="ttdeci">pFlow::iOstream & reportAndExit()</div><divclass="ttdef"><b>Definition:</b><ahref="error_8cpp_source.html#l00089">error.cpp:89</a></div></div>
<divclass="ttc"id="aerror_8cpp_html_a1eea9cba7dd30e9c608ddf28b295810f"><divclass="ttname"><ahref="error_8cpp.html#a1eea9cba7dd30e9c608ddf28b295810f">ioErrorMessage</a></div><divclass="ttdeci">pFlow::iOstream & ioErrorMessage(const char *fileName, int fileLineNumber, const char *fnName, const char *fName, int lNumber)</div><divclass="ttdef"><b>Definition:</b><ahref="error_8cpp_source.html#l00062">error.cpp:62</a></div></div>