[cig-commits] r1358 - trunk/aspect/source/simulator
heien at dealii.org
heien at dealii.org
Sun Nov 11 13:44:25 PST 2012
Author: heien
Date: 2012-11-11 14:44:24 -0700 (Sun, 11 Nov 2012)
New Revision: 1358
Modified:
trunk/aspect/source/simulator/helper_functions.cc
Log:
Use CFL for conduction timestep
Modified: trunk/aspect/source/simulator/helper_functions.cc
===================================================================
--- trunk/aspect/source/simulator/helper_functions.cc 2012-11-10 07:13:25 UTC (rev 1357)
+++ trunk/aspect/source/simulator/helper_functions.cc 2012-11-11 21:44:24 UTC (rev 1358)
@@ -264,7 +264,7 @@
fe_values.quadrature_point(q));
min_local_conduction_timestep = std::min(min_local_conduction_timestep,
- pow(cell->minimum_vertex_distance(),2)
+ parameters.CFL_number*pow(cell->minimum_vertex_distance(),2)
/ thermal_diffusivity);
}
}
More information about the CIG-COMMITS
mailing list