refactor: add phase1 module scaffold

This commit is contained in:
NINI
2026-05-05 00:35:31 +09:00
parent 90307dc13c
commit 59dcc77a24
31 changed files with 239 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kAnalysis = "Analysis";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kAssembly = "Assembly";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kBoundary = "Boundary";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kCore = "Core";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kElement = "Element";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kIO = "IO";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kLoad = "Load";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kMaterial = "Material";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kMath = "Math";
} // namespace fesa::module
+23
View File
@@ -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
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kProperty = "Property";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kResults = "Results";
} // namespace fesa::module
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
namespace fesa::module {
inline constexpr std::string_view kUtil = "Util";
} // namespace fesa::module
+2
View File
@@ -1,5 +1,7 @@
#pragma once
#include "fesa/ModuleInfo.hpp"
#include <algorithm>
#include <array>
#include <cctype>