feat: integrate generalized consistent-mass Solid frequency
This commit is contained in:
@@ -172,6 +172,13 @@ const ElementDofLayout& Hex8Element::DofLayout() const noexcept {
|
||||
Result<ElementStiffnessContribution> Hex8Element::ComputeStiffness() const {
|
||||
return Result<ElementStiffnessContribution>::Success({layout_, stiffness_});
|
||||
}
|
||||
std::array<double, 8> Hex8Element::ReferenceWeights() const noexcept {
|
||||
std::array<double, 8> weights{};
|
||||
for (std::size_t g = 0; g < weights.size(); ++g)
|
||||
weights[g] = points_[g].weight;
|
||||
return weights;
|
||||
}
|
||||
|
||||
Result<ElementStiffnessContribution> Hex8Element::ComputeMass() const {
|
||||
if (!density_)
|
||||
return Result<ElementStiffnessContribution>::Failure(
|
||||
|
||||
Reference in New Issue
Block a user