From a77ac3a8098a0e7544fc0cd0295819d1f67057b8 Mon Sep 17 00:00:00 2001 From: aprilnovak Date: Sun, 9 Jun 2019 15:45:29 -0700 Subject: [PATCH] Clarifying comments regarding differences in data mappings. Refs #17 --- include/enrico/coupled_driver.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/include/enrico/coupled_driver.h b/include/enrico/coupled_driver.h index f72e6dd8..590f2ac1 100644 --- a/include/enrico/coupled_driver.h +++ b/include/enrico/coupled_driver.h @@ -113,11 +113,21 @@ class CoupledDriver { //! this method does not set any initial values. virtual void init_heat_source() {} - xt::xtensor temperatures_; //!< Current Picard iteration temperature + //! Current Picard iteration temperature; this temperature is the temperature + //! computed by the thermal-hydraulic solver, and data mappings may result in + //! a different temperature actually used in the neutronics solver. For example, + //! the entries in this xtensor may be averaged over neutronics cells to give + //! the temperature used by the neutronics solver. + xt::xtensor temperatures_; xt::xtensor temperatures_prev_; //!< Previous Picard iteration temperature - xt::xtensor heat_source_; //!< Current Picard iteration heat source + //! Current Picard iteration heat source; this heat source is the heat source + //! computed by the neutronics solver, and data mappings may result in a different + //! heat source actually used in the heat solver. For example, the entries in this + //! xtensor may be averaged over thermal-hydraulics cells to give the heat source + //! used by the thermal-hydraulics solver. + xt::xtensor heat_source_; xt::xtensor heat_source_prev_; //!< Previous Picard iteration heat source