From 619392656d96b7e42c33ab93a54f2cde0d901e7d Mon Sep 17 00:00:00 2001 From: chengcli Date: Thu, 19 Oct 2023 18:46:05 -0400 Subject: [PATCH] wip --- src/air_parcel.hpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/air_parcel.hpp b/src/air_parcel.hpp index 33814526..0e0023a1 100644 --- a/src/air_parcel.hpp +++ b/src/air_parcel.hpp @@ -24,6 +24,14 @@ class AirParcel { friend std::ostream &operator<<(std::ostream &os, Type const &type); friend std::ostream &operator<<(std::ostream &os, AirParcel const &var); + protected: + // data holder + std::array data_; + + // type + Type mytype_; + + public: //! data pointers //! hydro data Real *const w; @@ -113,12 +121,6 @@ class AirParcel { void massFractionToMoleConcentration(); void moleConcentrationToMassFraction(); - - // data holder - std::array data_; - - // type - Type mytype_; }; #endif // SRC_AIR_PARCEL_HPP_