Add immutable MITC4 drilling selection and direct director springs
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#ifndef FESA_ELEMENTS_MITC4_DRILLING_MODE_H_
|
||||
#define FESA_ELEMENTS_MITC4_DRILLING_MODE_H_
|
||||
|
||||
namespace fesa {
|
||||
|
||||
/// @brief Identifies the immutable numerical MITC4 drilling formulation.
|
||||
enum class Mitc4DrillingMode { kDirectSpring, kLegacyCorotatedTwist };
|
||||
|
||||
/// @brief Returns the stable storage name of a supported drilling formulation.
|
||||
constexpr const char* Mitc4DrillingModeName(Mitc4DrillingMode mode) noexcept {
|
||||
switch (mode) {
|
||||
case Mitc4DrillingMode::kDirectSpring:
|
||||
return "direct-initial-director-spring";
|
||||
case Mitc4DrillingMode::kLegacyCorotatedTwist:
|
||||
return "legacy-corotated-twist";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
namespace mitc4_drilling_internal {
|
||||
struct TestAccess;
|
||||
} // namespace mitc4_drilling_internal
|
||||
|
||||
} // namespace fesa
|
||||
|
||||
#endif // FESA_ELEMENTS_MITC4_DRILLING_MODE_H_
|
||||
Reference in New Issue
Block a user