feat(fem-and-beam-kernel): step 0 — quadrature-and-shape-functions

This commit is contained in:
KOKO\Mimi
2026-07-31 01:48:33 +09:00
parent 4ee3895915
commit 80ea9759da
8 changed files with 255 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#pragma once
#include <span>
namespace fesa {
struct GaussPoint1D final {
double xi;
double weight;
};
[[nodiscard]] std::span<const GaussPoint1D> gauss_rule_1d(int order);
} // namespace fesa
+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include <array>
namespace fesa {
[[nodiscard]] std::array<double, 2> line2_shape(double xi);
[[nodiscard]] std::array<double, 2> line2_shape_derivative(double xi);
[[nodiscard]] double line2_jacobian(double length);
} // namespace fesa