Public Member Functions | Protected Types

OpenTissue::mbd::NCPSolverInterface< math_policy > Class Template Reference

#include <mbd_ncp_solver_interface.h>

Inheritance diagram for OpenTissue::mbd::NCPSolverInterface< math_policy >:
OpenTissue::mbd::ProjectedGaussSeidel< math_policy >

List of all members.

Public Member Functions

 NCPSolverInterface ()
virtual ~NCPSolverInterface ()
virtual void run (matrix_type const &J, matrix_type const &W, vector_type const &gamma, vector_type const &b, vector_type &lo, vector_type &hi, idx_vector_type const &pi, vector_type const &mu, vector_type &x)=0

Protected Types

typedef math_policy::matrix_type matrix_type
typedef math_policy::vector_type vector_type
typedef
math_policy::idx_vector_type 
idx_vector_type

template<typename math_policy>
class OpenTissue::mbd::NCPSolverInterface< math_policy >


Member Typedef Documentation

template<typename math_policy >
typedef math_policy::idx_vector_type OpenTissue::mbd::NCPSolverInterface< math_policy >::idx_vector_type [protected]
template<typename math_policy >
typedef math_policy::matrix_type OpenTissue::mbd::NCPSolverInterface< math_policy >::matrix_type [protected]
template<typename math_policy >
typedef math_policy::vector_type OpenTissue::mbd::NCPSolverInterface< math_policy >::vector_type [protected]

Constructor & Destructor Documentation

template<typename math_policy >
OpenTissue::mbd::NCPSolverInterface< math_policy >::NCPSolverInterface (  )  [inline]
template<typename math_policy >
virtual OpenTissue::mbd::NCPSolverInterface< math_policy >::~NCPSolverInterface (  )  [inline, virtual]

Member Function Documentation

template<typename math_policy >
virtual void OpenTissue::mbd::NCPSolverInterface< math_policy >::run ( matrix_type const &  J,
matrix_type const &  W,
vector_type const &  gamma,
vector_type const &  b,
vector_type lo,
vector_type hi,
idx_vector_type const &  pi,
vector_type const &  mu,
vector_type x 
) [pure virtual]

Run Sover.

Parameters:
J The Jacobian matrix, this is used to find the system matrix, A = J W J^T
W The inverted mass matrix, this is used to find the system matrix, A = J W J^T
gamma A regularization vector used to regularize the system such that the system matrix is replaced by, A' = A + diag(gamma).
b This vector is termed the right-hand-side vector, used in setting up the relation, y = A x + b
lo Lower bounds on the x-solution
hi Upper bounds on the x-solution
pi Some bounds are given as a linear mapping dependent on the x-solution, this vector encodes the linear dependency.
mu For those bounds that are linear dependent this vector holds the coefficients.
x Upon return this vector holds the solution

Implemented in OpenTissue::mbd::ProjectedGaussSeidel< math_policy >.


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