[cig-commits] commit 2564 by gassmoeller to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Fri May 2 07:52:17 PDT 2014


Revision 2564

Renamed variable for clarification.

U   trunk/aspect/source/material_model/latent_heat.cc


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2564&peg=2564

Diff:
Modified: trunk/aspect/source/material_model/latent_heat.cc
===================================================================
--- trunk/aspect/source/material_model/latent_heat.cc	2014-05-02 13:26:56 UTC (rev 2563)
+++ trunk/aspect/source/material_model/latent_heat.cc	2014-05-02 14:52:15 UTC (rev 2564)
@@ -275,9 +275,9 @@
       if (is_compressible() && &this->get_adiabatic_conditions())
         {
           const Point<dim> surface_point = this->get_geometry_model().representative_point(0.0);
-          const double adiabatic_pressure = this->get_adiabatic_conditions().pressure(surface_point);
+          const double adiabatic_surface_pressure = this->get_adiabatic_conditions().pressure(surface_point);
           const double kappa = compressibility(temperature,pressure,compositional_fields,position);
-          pressure_dependence = kappa * (pressure - adiabatic_pressure);
+          pressure_dependence = kappa * (pressure - adiabatic_surface_pressure);
         }
 
       // in the end, all the influences are added up


More information about the CIG-COMMITS mailing list