PolyFEM
Loading...
Searching...
No Matches
polyfem::solver::LinearFilter Class Reference

#include <Parametrizations.hpp>

Inheritance diagram for polyfem::solver::LinearFilter:
[legend]
Collaboration diagram for polyfem::solver::LinearFilter:
[legend]

Public Member Functions

 LinearFilter (const mesh::Mesh &mesh, const double radius)
 
int size (const int x_size) const override
 
Eigen::VectorXd eval (const Eigen::VectorXd &x) const override
 
Eigen::VectorXd apply_jacobian (const Eigen::VectorXd &grad, const Eigen::VectorXd &x) const override
 
- Public Member Functions inherited from polyfem::solver::Parametrization
 Parametrization ()
 
virtual ~Parametrization ()
 
virtual Eigen::VectorXd inverse_eval (const Eigen::VectorXd &y)
 

Private Attributes

Eigen::SparseMatrix< double > tt_radius_adjacency
 
Eigen::VectorXd tt_radius_adjacency_row_sum
 

Detailed Description

Definition at line 157 of file Parametrizations.hpp.

Constructor & Destructor Documentation

◆ LinearFilter()

polyfem::solver::LinearFilter::LinearFilter ( const mesh::Mesh mesh,
const double  radius 
)

Definition at line 414 of file Parametrizations.cpp.

References polyfem::mesh::Mesh::bounding_box(), polyfem::mesh::Mesh::cell_barycenters(), polyfem::mesh::Mesh::face_barycenters(), polyfem::mesh::Mesh::is_volume(), tt_radius_adjacency, and tt_radius_adjacency_row_sum.

Here is the call graph for this function:

Member Function Documentation

◆ apply_jacobian()

Eigen::VectorXd polyfem::solver::LinearFilter::apply_jacobian ( const Eigen::VectorXd &  grad,
const Eigen::VectorXd &  x 
) const
overridevirtual

◆ eval()

Eigen::VectorXd polyfem::solver::LinearFilter::eval ( const Eigen::VectorXd &  x) const
overridevirtual

◆ size()

int polyfem::solver::LinearFilter::size ( const int  x_size) const
inlineoverridevirtual

Implements polyfem::solver::Parametrization.

Definition at line 162 of file Parametrizations.hpp.

Member Data Documentation

◆ tt_radius_adjacency

Eigen::SparseMatrix<double> polyfem::solver::LinearFilter::tt_radius_adjacency
private

Definition at line 167 of file Parametrizations.hpp.

Referenced by apply_jacobian(), eval(), and LinearFilter().

◆ tt_radius_adjacency_row_sum

Eigen::VectorXd polyfem::solver::LinearFilter::tt_radius_adjacency_row_sum
private

Definition at line 168 of file Parametrizations.hpp.

Referenced by apply_jacobian(), eval(), and LinearFilter().


The documentation for this class was generated from the following files: