|
| | DirichletEnergy2D (std::vector< std::array< double, 4 > > &cells) |
| | The Dirichlet energy of a vertex position on a polyline.
|
| |
|
TVector | initial_position () const |
| |
|
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 |
| |
|
|
std::vector< std::array< double, 4 > > | m_cells |
| |
◆ DirichletEnergy2D()
| wmtk::optimization::DirichletEnergy2D::DirichletEnergy2D |
( |
std::vector< std::array< double, 4 > > & |
cells | ) |
|
The Dirichlet energy of a vertex position on a polyline.
Each edge must be provided as an array of 4 values: {x0, y0, x1, y1}. The first two entries (x0, y0) must be the same for all edges and will be replaced with x during optimization.
The documentation for this class was generated from the following files:
- /home/runner/work/wildmeshing-toolkit/wildmeshing-toolkit/src/wmtk/optimization/DirichletEnergy.hpp
- /home/runner/work/wildmeshing-toolkit/wildmeshing-toolkit/src/wmtk/optimization/DirichletEnergy.cpp