// // Created by Wei Chen on 22-9-12. // #ifndef CONFIG_HPP #define CONFIG_HPP #include #include #include #include "BoundaryConditions.hpp" namespace ssim { class Config { public: std::string filePath; double YM = 1e5; double PR = 0.3; double density = 1e3; std::string mshFilePath; std::vector DirichletBCs; std::vector NeumannBCs; public: bool loadFromJSON(const std::string &p_filePath); void backUpConfig(const std::string& p_filePath); }; } // SIM #endif //CONFIG_HPP