Skip to content

Commit

Permalink
Added CAMP_FILES constant string.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwfncar committed Sep 19, 2023
1 parent 231209a commit ce81070
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/micm/configure/solver_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ namespace micm
std::vector<Process> processes_;

// Constants
// find names from config.json
// Configure files
static const inline std::string SPECIES_CONFIG = "species.json";
static const inline std::string MECHANISM_CONFIG = "mechanism.json";
Expand All @@ -110,6 +111,7 @@ namespace micm

// Common JSON
static const inline std::string CAMP_DATA = "camp-data";
static const inline std::string CAMP_FILES = "camp-files";
static const inline std::string TYPE = "type";

// Functions
Expand All @@ -118,6 +120,8 @@ namespace micm
/// @return True for successful parsing
ConfigParseStatus Parse(const std::filesystem::path& config_dir)
{
// Look for CAMP_FILES here

// Create configure paths
std::filesystem::path species_config(config_dir / SPECIES_CONFIG);
std::filesystem::path mechanism_config(config_dir / MECHANISM_CONFIG);
Expand Down Expand Up @@ -784,4 +788,4 @@ namespace micm
}
};

} // namespace micm
} // namespace micm

0 comments on commit ce81070

Please sign in to comment.