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

Removed interface compatibility. #1706

Merged
merged 1 commit into from May 16, 2017
Merged

Removed interface compatibility. #1706

merged 1 commit into from May 16, 2017

Conversation

alarshi
Copy link
Contributor

@alarshi alarshi commented May 16, 2017

In material_model/latent_heat_melt

@gassmoeller
Copy link
Member

/run-tests

@tjhei
Copy link
Member

tjhei commented May 16, 2017

Arushi, here the reaction terms are missing (need to be filled with 0).


virtual
double
entropy_derivative ( const double temperature,
Copy link
Member

Choose a reason for hiding this comment

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

please remove this function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This function was very long, I am using it as a private member just for this class.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think that makes sense. But you can then remove the virtual marker.

@@ -649,6 +615,7 @@ namespace aspect
this->model_dependence.compressibility = NonlinearDependence::none;
this->model_dependence.specific_heat = NonlinearDependence::none;
this->model_dependence.thermal_conductivity = NonlinearDependence::none;
// this->model_dependence.entropy_derivative_temperature = NonlinearDependence::temperature;
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be ::none.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From what I understood in the interface class, we don't have model dependence for entropy derivative. I removed the comment.

@tjhei
Copy link
Member

tjhei commented May 16, 2017

Okay, makes sense!

@alarshi
Copy link
Contributor Author

alarshi commented May 16, 2017

Rebase done.

@gassmoeller gassmoeller merged commit abbecc1 into geodynamics:master May 16, 2017
@bangerth
Copy link
Contributor

Addresses #1538.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants