[cig-commits] [commit] master: Todo on scale 2D to 3D in statistics (63eb762)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu May 22 15:36:03 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/4a5e27e5690a0e0c1e13e19100af7398e37f36b8...d31f4e9435a1c12781f5b673b672cbd29c41c2c2
>---------------------------------------------------------------
commit 63eb7621002d8558dc69a6d7338520aa4802c7a7
Author: Siqi Zhang <siqi.zhang at mq.edu.au>
Date: Thu May 22 17:20:30 2014 -0500
Todo on scale 2D to 3D in statistics
>---------------------------------------------------------------
63eb7621002d8558dc69a6d7338520aa4802c7a7
source/postprocess/internal_heating_statistics.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/source/postprocess/internal_heating_statistics.cc b/source/postprocess/internal_heating_statistics.cc
index 08f552e..a5ee3aa 100644
--- a/source/postprocess/internal_heating_statistics.cc
+++ b/source/postprocess/internal_heating_statistics.cc
@@ -108,6 +108,9 @@ namespace aspect
statistics.set_precision (name1, 8);
statistics.set_scientific (name1, true);
+ // TODO:
+ // Total internal heating rate is not making sense in 2D at the moment,
+ // need to put a scale factor to transfer it to 3D.
const std::string name2("Total internal heating rate (W) ");
statistics.add_value (name2, global_internal_heating_integrals);
// also make sure that the other columns filled by the this object
More information about the CIG-COMMITS
mailing list