refactor: add phase1 module scaffold
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kAnalysis = "Analysis";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kAssembly = "Assembly";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kBoundary = "Boundary";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kCore = "Core";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kElement = "Element";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kIO = "IO";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kLoad = "Load";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kMaterial = "Material";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kMath = "Math";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <string_view>
|
||||
|
||||
namespace fesa {
|
||||
|
||||
using ModuleList = std::array<std::string_view, 12>;
|
||||
|
||||
inline constexpr ModuleList kArchitectureModules = {
|
||||
"Analysis", "Assembly", "Boundary", "Core", "Element", "IO",
|
||||
"Load", "Math", "Material", "Property", "Results", "Util",
|
||||
};
|
||||
|
||||
constexpr const ModuleList& architectureModules() noexcept {
|
||||
return kArchitectureModules;
|
||||
}
|
||||
|
||||
constexpr std::string_view umbrellaFacadeHeader() noexcept {
|
||||
return "fesa/fesa.hpp";
|
||||
}
|
||||
|
||||
} // namespace fesa
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kProperty = "Property";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kResults = "Results";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
namespace fesa::module {
|
||||
|
||||
inline constexpr std::string_view kUtil = "Util";
|
||||
|
||||
} // namespace fesa::module
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/ModuleInfo.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cctype>
|
||||
|
||||
Reference in New Issue
Block a user