feat(linear-static-mitc4-shell): step 2 - shell-director-geometry
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "fesa/io/abaqus/domain_mapper.hpp"
|
||||
|
||||
#include "fesa/model/shell_geometry.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cerrno>
|
||||
@@ -1768,6 +1770,21 @@ private:
|
||||
if (failure_) {
|
||||
return;
|
||||
}
|
||||
if (!definition_.shellElements.empty()) {
|
||||
auto geometry = preprocessShellGeometry(
|
||||
definition_.nodes,
|
||||
definition_.shellElements,
|
||||
definition_.shellSections);
|
||||
if (!geometry.hasValue()) {
|
||||
const auto& status = geometry.status();
|
||||
failure_ = MappingFailure{
|
||||
status.failureCategory().value_or(FailureCategory::model),
|
||||
status.diagnostics().front()};
|
||||
return;
|
||||
}
|
||||
definition_.shellNodeInitialFrames =
|
||||
std::move(geometry.value().nodalFrames);
|
||||
}
|
||||
expandAssemblySets();
|
||||
if (failure_) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user