PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
Header for Valanis-Landel Quasi-Newton stiffness. More...
#include "pbat/common/Concepts.h"
#include "pbat/physics/Enums.h"
#include <Eigen/Core>
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | pbat |
The main namespace of the library. | |
namespace | pbat::sim |
PBAT simulation algorithms. | |
namespace | pbat::sim::algorithm |
Namespace for PBAT simulation algorithms. | |
namespace | pbat::sim::algorithm::pd |
Namespace for Projective Dynamics simulation algorithms. | |
Functions | |
template<common::CArithmetic TScalar> | |
TScalar | pbat::sim::algorithm::pd::ValanisLandelQuasiNewtonStiffness (TScalar mu, TScalar lambda, Eigen::Vector< TScalar, 3 > const &sigma, TScalar sigmalo, TScalar sigmahi, physics::EHyperElasticEnergy energy) |
Computes the element constraint stiffness for the quasi-Newton Projective Dynamics hessian approximation [9] . | |
template<class TDerivedMu, class TDerivedLambda, class TDerivedSigma, class TDerivedSigmaLo, class TDerivedSigmaHi, class TDerivedK> | |
void | pbat::sim::algorithm::pd::ValanisLandelQuasiNewtonStiffness (Eigen::DenseBase< TDerivedMu > const &mu, Eigen::DenseBase< TDerivedLambda > const &lambda, Eigen::DenseBase< TDerivedSigma > const &sigma, Eigen::DenseBase< TDerivedSigmaLo > const &sigmalo, Eigen::DenseBase< TDerivedSigmaHi > const &sigmahi, physics::EHyperElasticEnergy energy, Eigen::DenseBase< TDerivedK > &k) |
Vectorized version of ValanisLandelQuasiNewtonStiffness. | |
Header for Valanis-Landel Quasi-Newton stiffness.