Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::NullSpaceSolver< SparseMatrixType > Class Template Reference

#include <NullSpaceSolver.h>

Collaboration diagram for model::NullSpaceSolver< SparseMatrixType >:

Public Member Functions

 NullSpaceSolver (const SparseMatrixType &K, const SparseMatrixType &C)
Eigen::VectorXd solve (const Eigen::VectorXd &f, const Eigen::VectorXd &g)
Eigen::VectorXd solve (const Eigen::VectorXd &f)
const Eigen::VectorXd & y () const
const Eigen::VectorXd & z () const
const SparseMatrixType & matrixZ () const
const SparseMatrixType & matrixY () const

Detailed Description

template<typename SparseMatrixType>
class model::NullSpaceSolver< SparseMatrixType >

Definition at line 18 of file NullSpaceSolver.h.

Constructor & Destructor Documentation

◆ NullSpaceSolver()

template<typename SparseMatrixType>
model::NullSpaceSolver< SparseMatrixType >::NullSpaceSolver ( const SparseMatrixType & K,
const SparseMatrixType & C )
inline

Definition at line 45 of file NullSpaceSolver.h.

Member Function Documentation

◆ matrixY()

template<typename SparseMatrixType>
const SparseMatrixType & model::NullSpaceSolver< SparseMatrixType >::matrixY ( ) const
inline
Returns
the matrix Y which is used to compute to solution as x=Y*y+Z*z

Definition at line 105 of file NullSpaceSolver.h.

◆ matrixZ()

template<typename SparseMatrixType>
const SparseMatrixType & model::NullSpaceSolver< SparseMatrixType >::matrixZ ( ) const
inline
Returns
the matrix Z which is used to compute to solution as x=Y*y+Z*z The matrix Z is the null-space of the constaint matrix C

Definition at line 97 of file NullSpaceSolver.h.

◆ solve() [1/2]

template<typename SparseMatrixType>
Eigen::VectorXd model::NullSpaceSolver< SparseMatrixType >::solve ( const Eigen::VectorXd & f)
inline

Solves for the current constraint matrix

Definition at line 73 of file NullSpaceSolver.h.

◆ solve() [2/2]

template<typename SparseMatrixType>
Eigen::VectorXd model::NullSpaceSolver< SparseMatrixType >::solve ( const Eigen::VectorXd & f,
const Eigen::VectorXd & g )
inline

Solves for the current constraint matrix

Definition at line 65 of file NullSpaceSolver.h.

◆ y()

template<typename SparseMatrixType>
const Eigen::VectorXd & model::NullSpaceSolver< SparseMatrixType >::y ( ) const
inline
Returns
the vector y which is used to compute to solution as x=Y*y+Z*z

Definition at line 82 of file NullSpaceSolver.h.

◆ z()

template<typename SparseMatrixType>
const Eigen::VectorXd & model::NullSpaceSolver< SparseMatrixType >::z ( ) const
inline
Returns
the vector z which is used to compute to solution as x=Y*y+Z*z

Definition at line 90 of file NullSpaceSolver.h.


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