Skip to content
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

Corrected the output of fluid properties #83

Merged
merged 1 commit into from
Jun 22, 2017
Merged

Conversation

wenqing
Copy link
Member

@wenqing wenqing commented Jun 19, 2017

as titled.

{
double mat_value = .0;
switch (mfp_id)
{
case 0:
mat_value = mfp->Density();
mat_value = mfp->Density(var_values);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember it correctly, when the state variables are not passed, Density() will try to get them within the function. In that case, why do you need to pass it from outside?

Copy link
Member Author

@wenqing wenqing Jun 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. Removed the duplicated part in Density()

@wenqing wenqing force-pushed the fp_output branch 3 times, most recently from 3428e15 to 2260f4f Compare June 20, 2017 10:00
@norihiro-w
Copy link
Contributor

have you completed the modification? if yes, I think you can merge it.

@wenqing wenqing merged commit d7307ce into ufz:master Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants