14 virtual std::string
name()
const override {
return "adjoint"; }
17 double value(
const Eigen::VectorXd &
x)
const override;
24 virtual void first_derivative(
const Eigen::VectorXd &
x, Eigen::VectorXd &gradv)
const final override;
28 virtual void update_quantities(
const double t,
const Eigen::VectorXd &
x)
final override;
29 virtual void init_lagging(
const Eigen::VectorXd &
x)
final override;
30 virtual void update_lagging(
const Eigen::VectorXd &
x,
const int iter_num)
final override;
55 virtual std::string
name()
const override {
return "static"; }
78 auto tmp_ids = args[
"volume_selection"].get<std::vector<int>>();
82 std::string
name()
const override {
return "max_stress"; }
main class that contains the polyfem solver and all its state
A collection of VariableToSimulation.
Eigen::SparseMatrix< double, Eigen::ColMajor > StiffnessMatrix