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

#include <Parametrizations.hpp>

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

Public Member Functions

 ScalarVelocityParametrization (const double start_val, const double dt)
 
int size (const int x_size) const override
 
Eigen::VectorXd inverse_eval (const Eigen::VectorXd &y) 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 ()
 

Private Attributes

const double start_val_
 
const double dt_
 

Detailed Description

Definition at line 171 of file Parametrizations.hpp.

Constructor & Destructor Documentation

◆ ScalarVelocityParametrization()

polyfem::solver::ScalarVelocityParametrization::ScalarVelocityParametrization ( const double  start_val,
const double  dt 
)
inline

Definition at line 174 of file Parametrizations.hpp.

Member Function Documentation

◆ apply_jacobian()

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

Implements polyfem::solver::Parametrization.

Definition at line 483 of file Parametrizations.cpp.

References dt_, size(), and x.

Here is the call graph for this function:

◆ eval()

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

Implements polyfem::solver::Parametrization.

Definition at line 473 of file Parametrizations.cpp.

References dt_, size(), start_val_, x, and y.

Here is the call graph for this function:

◆ inverse_eval()

Eigen::VectorXd polyfem::solver::ScalarVelocityParametrization::inverse_eval ( const Eigen::VectorXd &  y)
overridevirtual

Reimplemented from polyfem::solver::Parametrization.

Definition at line 463 of file Parametrizations.cpp.

References dt_, size(), start_val_, x, and y.

Here is the call graph for this function:

◆ size()

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

Implements polyfem::solver::Parametrization.

Definition at line 176 of file Parametrizations.hpp.

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

Here is the caller graph for this function:

Member Data Documentation

◆ dt_

const double polyfem::solver::ScalarVelocityParametrization::dt_
private

Definition at line 183 of file Parametrizations.hpp.

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

◆ start_val_

const double polyfem::solver::ScalarVelocityParametrization::start_val_
private

Definition at line 182 of file Parametrizations.hpp.

Referenced by eval(), and inverse_eval().


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