perf(hex8): cache immutable paired linear Hessian

This commit is contained in:
KOKO\Mimi
2026-10-09 23:55:01 +09:00
parent 5435acdde3
commit e878379c30
6 changed files with 76 additions and 3 deletions
+5
View File
@@ -101,6 +101,11 @@ class Hex8Element final : public Element {
SourceLocation location_;
std::array<ReferencePoint, 8> points_{};
Matrix stiffness_{24U, 24U};
// Optional immutable Hessian from the same paired quadrature graph. Failure
// to build it does not reject models supported by the original F64 paths.
bool paired_linear_tangent_ready_{false};
Matrix paired_linear_tangent_high_{24U, 24U};
Matrix paired_linear_tangent_low_{24U, 24U};
};
} // namespace fesa