11 class PeriodicBoundary;
33 const std::vector<int> &boundary_nodes,
34 const std::vector<mesh::LocalBoundary> &local_boundary,
35 const std::vector<mesh::LocalBoundary> &local_neumann_boundary,
36 const int n_boundary_samples,
39 const size_t obstacle_ndof,
40 const bool is_time_dependent,
42 const std::shared_ptr<utils::PeriodicBoundary> &periodic_bc =
nullptr);
44 std::string
name()
const override
46 return "bc-alagrangian";
56 const std::vector<int> &boundary_nodes,
58 const size_t obstacle_ndof,
59 const Eigen::MatrixXd &target_x);
89 Eigen::VectorXd
target(
const Eigen::VectorXd &)
const override {
return target_x_; }
115 const size_t obstacle_ndof);
Eigen::SparseMatrix< double, Eigen::ColMajor > StiffnessMatrix