[cig-commits] r1373 - trunk/aspect/source/simulator

gassmoeller at dealii.org gassmoeller at dealii.org
Fri Nov 16 05:16:35 PST 2012


Author: gassmoeller
Date: 2012-11-16 06:16:35 -0700 (Fri, 16 Nov 2012)
New Revision: 1373

Modified:
   trunk/aspect/source/simulator/assembly.cc
Log:
Bugfix for heating term.

Modified: trunk/aspect/source/simulator/assembly.cc
===================================================================
--- trunk/aspect/source/simulator/assembly.cc	2012-11-16 09:04:50 UTC (rev 1372)
+++ trunk/aspect/source/simulator/assembly.cc	2012-11-16 13:16:35 UTC (rev 1373)
@@ -1070,7 +1070,7 @@
                                        const unsigned int q) const
   {
 
-    if (index == 0)
+    if (index != 0)
       return 0.0;
 
     double current_T,current_p,alpha,density,viscosity,compressibility;



More information about the CIG-COMMITS mailing list