-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Log refactor - Output PVT #3149
Conversation
…dudes/table-layout
…feature/dudes/table-layout" This reverts commit 8f74cfa.
…nto feature/dudes/table-layout
Hi @rrsettgast , @paveltomin, I only have this error in the integrated tests :
It seems normal to me because I added the writeCSV attribute in CO2BrineFluid file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arng40 I suggest you to go for the "option 2" I proposed.
It's good |
A few more adjustments may need to be done. |
Hello @rrsettgast , All the comments has been addressed, I think we can safely rebase the PR and merge it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only have a question about the removal of the catalog.
@@ -67,7 +68,8 @@ string TableCSVFormatter::dataToString( TableData const & tableData ) const | |||
return oss.str(); | |||
} | |||
|
|||
string TableCSVFormatter::toString( TableData const & tableData ) const | |||
template<> | |||
string TableCSVFormatter::toString< TableData >( TableData const & tableData ) const |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the benefit of the template specialization here vs overload?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting with a TableFunction
is very different from formatting with a normal data source and is heavily coupled to TableFunctions,
I did that to avoid to add dependancies to TableFunction
src/coreComponents/constitutive/fluid/multifluid/CO2Brine/functions/PVTFunctionBase.hpp
Show resolved
Hide resolved
… documentation on how to fix sphinx errors
This PR follows the #2984 that aim to standardize logs.
Currently PVT tables are only accessible through
.csv
files. In this PR, logs will indicate which csv files are generated along with their associated pathCSV Generated to inputFiles/compositionalMultiphaseWell/test.xml/fluid1_phaseModel1_PhillipsBrineDensity_table.csv :
In addition to csv files, PVT Tables with dimensions n <= 2 can be written in log by meetings 2 conditions :
logLevel
CSV Generated to inputFiles/compositionalMultiphaseWell/test.xml/fluid1_phaseModel1_PhillipsBrineViscosity_table.csv
An example of 2D table :