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
EntropyReader Class #5341
EntropyReader Class #5341
Conversation
@gassmoeller Hi Rene, I have modified it according to your comments for #5334. This one doesn't have the strange indents in #5334. |
/rebuild |
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.
Close, just a few comments left.
|
||
/** | ||
* This class reads in an entropy-pressure material table and looks up material | ||
* proporties for the given entropy and pressure. |
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.
* proporties for the given entropy and pressure. | |
* properties for the given entropy and pressure. |
const std::string material_file_name); | ||
|
||
/** | ||
* Reads the specific heat for a given entropy and pressure. |
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.
Reads
is maybe not the correct work. What about:
* Reads the specific heat for a given entropy and pressure. | |
* Returns the specific heat for a given entropy and pressure. |
Same for all the other functions below.
source/material_model/utilities.cc
Outdated
EntropyReader::compressibility(const double entropy, | ||
const double pressure) const | ||
{ | ||
const double compressibility = material_lookup->get_data({entropy,pressure}, 2); |
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.
This seems not correct. The thermal_expansivity
above is also listed as column 2. Which one is it?
source/postprocess/command.cc
Outdated
@@ -29,7 +29,7 @@ namespace aspect | |||
Command<dim>::execute (TableHandler &) | |||
{ | |||
if (on_all_processes || | |||
(Utilities::MPI::this_mpi_process(this->get_mpi_communicator()) == 0)) |
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.
Are these dealii:: prefixes here and in the other instances still necessary? I though the using
statements had fixed that?
f30feb9
to
b68aa12
Compare
Thank you! I have addressed the comments and squashed the previous commits into one. |
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.
Looks good, thank you.
I opened up this pull request to test and fix some issues in my last pull request (#5334 Add EntropyReader Class). The previous one couldn't compile on the testers, but it could on my up-to-date local version. It also seems to have some strange indents.