ComplexContentConstraint< Complex > Class Template Reference

Functor that evaluates the content constraint for a local simplicial mesh. More...

#include <ComplexWithFreeVertex.h>

List of all members.

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.

Detailed Description

template<class Complex>
class ComplexContentConstraint< Complex >

Functor that evaluates the content constraint for a local simplicial mesh.

The functor returns (current_content - initial_content) / initial_content.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3