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

Capitalized Boussinesq approximation #1639

Merged
merged 2 commits into from May 14, 2017
Merged

Conversation

bobmyhill
Copy link
Member

Addresses Issue #1623

@@ -2005,13 +2005,13 @@ \subsubsection{Combined formulations}
(Section~\ref{sec:tala}).

\item
``boussinesq approximation'': This formulation sets the mass conservation approximation to ``incompressible'',
``Boussinesq approximation'': This formulation sets the mass conservation approximation to ``incompressible'',
Copy link
Contributor

Choose a reason for hiding this comment

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

this occurrence of the word needs to match what is being used in the .prm files. Did you change that as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that should be changed in all files where it occurs (this PR is just a recursive sed find-replace)

@@ -123,7 +123,7 @@ namespace aspect
*/
enum Kind
{
boussinesq_approximation,
Boussinesq_approximation,
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 we should keep it lower-case here, just like we have functions such as solve_stokes() etc.

else if (input == "boussinesq approximation")
return Formulation::boussinesq_approximation;
else if (input == "Boussinesq approximation")
return Formulation::Boussinesq_approximation;
Copy link
Contributor

Choose a reason for hiding this comment

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

and this changes what we accept in .prm files

@@ -322,7 +322,7 @@ namespace aspect
prm.enter_subsection("Formulation");
{
prm.declare_entry ("Formulation", "custom",
Patterns::Selection ("isothermal compression|custom|anelastic liquid approximation|boussinesq approximation"),
Patterns::Selection ("isothermal compression|custom|anelastic liquid approximation|Boussinesq approximation"),
Copy link
Contributor

Choose a reason for hiding this comment

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

this is an incompatible change -- we should discuss

@gassmoeller
Copy link
Member

Yes, for this change we should include the sed command to fix it into the doc/update_prm_files_... script

@tjhei
Copy link
Member

tjhei commented May 13, 2017

/run-tests

@bangerth bangerth merged commit a4ce900 into geodynamics:master May 14, 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.

None yet

4 participants