Files
FESADev/include/fesa/elements/mitc4_drilling_mode.h
T

27 lines
798 B
C++

#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_