feat(cpp-object-oriented-modular-refactoring): step 18 - load-hierarchy

This commit is contained in:
KOKO\Mimi
2026-08-16 10:56:57 +09:00
parent 08d352ae46
commit 9ad72e6d21
18 changed files with 705 additions and 137 deletions
+9
View File
@@ -3,6 +3,7 @@
#include "fesa/analysis/analysis_model.h"
#include "fesa/fem/dof_manager.h"
#include "fesa/loads/load.h"
#include "fesa/math/sparse_matrix.h"
#include "fesa/math/vector.h"
@@ -16,6 +17,14 @@ class LoadAssembler {
static Result<Vector> AssembleFullNodalLoad(const AnalysisModel& model,
const DofManager& dofs);
/// @brief Accumulates explicitly supplied loads in their view order.
/// @param loads Non-owning loads whose contribution source orders must match
/// their view positions.
/// @return A candidate committed only after all contributions validate.
static Result<Vector> AssembleFullNodalLoad(const AnalysisModel& model,
const DofManager& dofs,
const LoadView& loads);
/// @brief Forms Ff-Kfc*dc in stable free/constrained order.
/// @note This operation neither factorizes nor invokes a solver.
static Result<Vector> EffectiveFreeRhs(const Vector& full_load,