From ebbccdaf7c94fee169bfe6c79985295e946826b2 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Thu, 17 May 2018 10:18:57 -0400 Subject: [PATCH] refactor color bubble --- models/ColorModel.h | 1 + tests/TestColorBubble.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/models/ColorModel.h b/models/ColorModel.h index c371297a..03f7fa32 100644 --- a/models/ColorModel.h +++ b/models/ColorModel.h @@ -23,6 +23,7 @@ public: // functions in they should be run void ReadParams(string filename); + void ReadParams(std::shared_ptr DB) void ReadInput(); void Create(); void Initialize(); diff --git a/tests/TestColorBubble.cpp b/tests/TestColorBubble.cpp index 6f0438b1..fd0d21bd 100644 --- a/tests/TestColorBubble.cpp +++ b/tests/TestColorBubble.cpp @@ -8,6 +8,7 @@ #include #include "common/ScaLBL.h" #include "common/MPI_Helpers.h" +#include "models/ColorModel.h" using namespace std; @@ -108,7 +109,7 @@ int main(int argc, char **argv) } } auto filename = argv[1]; - ScaLBL_ColorModel() ColorModel; + ScaLBL_ColorModel ColorModel; ColorModel.ReadParams(filename); } // ****************************************************