Functor that evaluates the content constraint for a local simplicial mesh. More...
#include <ComplexWithFreeVertex.h>
Public Types | |
| typedef base_type::argument_type | argument_type |
| The argument type. | |
| typedef base_type::result_type | result_type |
| The result type. | |
Public Member Functions | |
| ComplexContentConstraint (Complex &sc) | |
Construct from a Complex. | |
| ComplexContentConstraint (const ComplexContentConstraint &other) | |
| Copy constructor. | |
| void | initialize (const argument_type &x) |
| Initialize the content. | |
| result_type | operator() (const argument_type &x) const |
| Return the scaled difference from the initial content. | |
| void | gradient (const argument_type &x, argument_type &grad) const |
| Calculate the gradient of the scaled difference from the initial content. | |
Functor that evaluates the content constraint for a local simplicial mesh.
The functor returns (current_content - initial_content) / initial_content.
1.6.3