|
|
using | Problem = polysolve::nonlinear::Problem |
| |
|
|
| EnergySum ()=default |
| | A weighted sum of multiple energies.
|
| |
|
void | add_energy (const std::shared_ptr< Problem > &energy, const double weight=1) |
| | Add an energy term to the sum of energies.
|
| |
|
double | value (const TVector &x) override |
| |
|
void | gradient (const TVector &x, TVector &gradv) override |
| |
|
void | hessian (const TVector &x, THessian &hessian) override |
| |
|
void | hessian (const TVector &x, MatrixXd &hessian) override |
| |
|
void | solution_changed (const TVector &new_x) override |
| |
|
bool | is_step_valid (const TVector &x0, const TVector &x1) override |
| |
|
|
std::vector< std::shared_ptr< Problem > > | m_energies |
| |
|
std::vector< double > | m_weights |
| |
The documentation for this class was generated from the following files:
- /home/runner/work/wildmeshing-toolkit/wildmeshing-toolkit/src/wmtk/optimization/EnergySum.hpp
- /home/runner/work/wildmeshing-toolkit/wildmeshing-toolkit/src/wmtk/optimization/EnergySum.cpp