refactor color bubble
This commit is contained in:
@@ -23,6 +23,7 @@ public:
|
||||
|
||||
// functions in they should be run
|
||||
void ReadParams(string filename);
|
||||
void ReadParams(std::shared_ptr<Database> DB)
|
||||
void ReadInput();
|
||||
void Create();
|
||||
void Initialize();
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <fstream>
|
||||
#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);
|
||||
}
|
||||
// ****************************************************
|
||||
|
||||
Reference in New Issue
Block a user