OpenCAEPoro  0.2.0 Sep/22/2022
A simulator for multicomponent porous media flow
UtilOutput.cpp
Go to the documentation of this file.
1 
12 #include "UtilOutput.hpp"
13 
14 string GetIJKformat(const string& i, const string& j, const string& k, const USI& s)
15 {
16  std::ostringstream IJKinfo;
17  IJKinfo << "(" << setw(s) << i << ", " << setw(s) << j << ", " << setw(s) << k << ")";
18  return IJKinfo.str();
19 }
20 
21 
22 
23 
24 
25  /*----------------------------------------------------------------------------*/
26  /* Brief Change History of This File */
27  /*----------------------------------------------------------------------------*/
28  /* Author Date Actions */
29  /*----------------------------------------------------------------------------*/
30  /* Shizhe Li Oct/11/2022 Create file */
31  /*----------------------------------------------------------------------------*/
unsigned int USI
Generic unsigned integer.
Definition: OCPConst.hpp:22
Supply basic tools used to output files.