OpenCAEPoro
0.2.0 Sep/22/2022
A simulator for multicomponent porous media flow
|
#include <ParamOutput.hpp>
Public Member Functions | |
void | InputSUMMARY (ifstream &ifs) |
void | InputType_A (ifstream &ifs, Type_A_o &obj) |
void | InputType_B (ifstream &ifs, Type_B_o &obj) |
void | InputRPTSCHED (ifstream &ifs) |
Public Attributes | |
OutputSummary | summary |
See OutputSummary. | |
OutputDetail | detailInfo |
See OutputDetail. | |
ParamOutput is an internal structure used to stores the information of outputting from input files. It is an intermediate interface and independent of the main simulator. After all file inputting finishs, the params in it will pass to corresponding modules.
Definition at line 122 of file ParamOutput.hpp.
void ParamOutput::InputRPTSCHED | ( | ifstream & | ifs | ) |
Input the keyword RPTSCHED, which tells which detailed information will be output to the RPTfile.
Definition at line 183 of file ParamOutput.cpp.
References OutputDetail::BGAS, OutputDetail::BOIL, OutputDetail::BWAT, OutputDetail::DENG, OutputDetail::DENO, OutputDetail::DENW, detailInfo, OutputDetail::KRG, OutputDetail::KRO, OutputDetail::KRW, Map_Str2Int(), OutputDetail::PCW, OutputDetail::PGAS, OutputDetail::PRE, OutputDetail::PWAT, ReadLine(), OutputDetail::SGAS, OutputDetail::SOIL, OutputDetail::SWAT, OutputDetail::VGAS, OutputDetail::VOIL, OutputDetail::VWAT, OutputDetail::XMF, and OutputDetail::YMF.
void ParamOutput::InputSUMMARY | ( | ifstream & | ifs | ) |
Input the keyword SUMMARY, which contains many subkeyword, indicating which results are interested by user. After the simulation, these results will be output into a summary file.
Definition at line 14 of file ParamOutput.cpp.
References OutputSummary::BPR, OutputSummary::DG, OutputSummary::FGIR, OutputSummary::FGIT, OutputSummary::FGPR, OutputSummary::FGPt, OutputSummary::FOPR, OutputSummary::FOPT, OutputSummary::FPR, OutputSummary::FWIR, OutputSummary::FWIT, OutputSummary::FWPR, OutputSummary::FWPT, InputType_A(), InputType_B(), Map_Str2Int(), ReadLine(), OutputSummary::SGAS, OutputSummary::SOIL, summary, OutputSummary::SWAT, OutputSummary::WBHP, OutputSummary::WGIR, OutputSummary::WGIT, OutputSummary::WGPR, OutputSummary::WGPT, OutputSummary::WOPR, OutputSummary::WOPT, OutputSummary::WWIR, OutputSummary::WWIT, OutputSummary::WWPR, and OutputSummary::WWPT.
void ParamOutput::InputType_A | ( | ifstream & | ifs, |
Type_A_o & | obj | ||
) |
Input the subkeyword in SUMMARY, the contents in these keyword is in the form of string.
Definition at line 138 of file ParamOutput.cpp.
References ReadLine().
void ParamOutput::InputType_B | ( | ifstream & | ifs, |
Type_B_o & | obj | ||
) |
Input the subkeyword in SUMMARY, the contents in these keyword is in the form of coordinates.
Definition at line 165 of file ParamOutput.cpp.
References DealDefault(), and ReadLine().