Logo ROOT   6.13/01
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
TQpLinSolverSparse Class Reference

Definition at line 60 of file TQpLinSolverSparse.h.

Public Member Functions

 TQpLinSolverSparse ()
 
 TQpLinSolverSparse (TQpProbSparse *factory, TQpDataSparse *data)
 Constructor. More...
 
 TQpLinSolverSparse (const TQpLinSolverSparse &another)
 Copy constructor. More...
 
virtual ~TQpLinSolverSparse ()
 
virtual void Factor (TQpDataBase *prob, TQpVar *vars)
 Sets up the matrix for the main linear system in "augmented system" form. More...
 
TQpLinSolverSparseoperator= (const TQpLinSolverSparse &source)
 Assignment operator. More...
 
virtual void PutXDiagonal (TVectorD &xdiag)
 Places the diagonal resulting from the bounds on x into the augmented system matrix. More...
 
virtual void PutZDiagonal (TVectorD &zdiag)
 Places the diagonal resulting from the bounds on Cx into the augmented system matrix. More...
 
virtual void SolveCompressed (TVectorD &rhs)
 Perform the actual solve using the factors produced in factor. More...
 
- Public Member Functions inherited from TQpLinSolverBase
 TQpLinSolverBase ()
 Default constructor. More...
 
 TQpLinSolverBase (TQpProbBase *factory, TQpDataBase *data)
 Constructor. More...
 
 TQpLinSolverBase (const TQpLinSolverBase &another)
 Copy constructor. More...
 
virtual ~TQpLinSolverBase ()
 
virtual void ComputeDiagonals (TVectorD &dd, TVectorD &omega, TVectorD &t, TVectorD &lambda, TVectorD &u, TVectorD &pi, TVectorD &v, TVectorD &gamma, TVectorD &w, TVectorD &phi)
 Computes the diagonal matrices in the augmented system from the current set of variables. More...
 
virtual void JoinRHS (TVectorD &rhs, TVectorD &rhs1, TVectorD &rhs2, TVectorD &rhs3)
 Assembles a single vector object from three given vectors . More...
 
TQpLinSolverBaseoperator= (const TQpLinSolverBase &source)
 Assignment opeartor. More...
 
virtual void SeparateVars (TVectorD &vars1, TVectorD &vars2, TVectorD &vars3, TVectorD &vars)
 Extracts three component vectors from a given aggregated vector. More...
 
virtual void Solve (TQpDataBase *prob, TQpVar *vars, TQpResidual *resids, TQpVar *step)
 Solves the system for a given set of residuals. More...
 
virtual void SolveXYZS (TVectorD &stepx, TVectorD &stepy, TVectorD &stepz, TVectorD &steps, TVectorD &ztemp, TQpDataBase *data)
 Assemble right-hand side of augmented system and call SolveCompressed to solve it. More...
 

Protected Attributes

TMatrixDSparse fKkt
 
TDecompSparse fSolveSparse
 
- Protected Attributes inherited from TQpLinSolverBase
TVectorD fCloIndex
 
TVectorD fCupIndex
 
TVectorD fDd
 
TVectorD fDq
 
TQpProbBasefFactory
 
Int_t fMclo
 
Int_t fMcup
 
Int_t fMy
 
Int_t fMz
 
TVectorD fNomegaInv
 
Int_t fNx
 
Int_t fNxlo
 
Int_t fNxup
 
TVectorD fRhs
 
TVectorD fXloIndex
 
TVectorD fXupIndex
 

#include <TQpLinSolverSparse.h>

Inheritance diagram for TQpLinSolverSparse:
[legend]

Constructor & Destructor Documentation

◆ TQpLinSolverSparse() [1/3]

TQpLinSolverSparse::TQpLinSolverSparse ( )
inline

Definition at line 69 of file TQpLinSolverSparse.h.

◆ TQpLinSolverSparse() [2/3]

TQpLinSolverSparse::TQpLinSolverSparse ( TQpProbSparse factory,
TQpDataSparse data 
)

Constructor.

Definition at line 60 of file TQpLinSolverSparse.cxx.

◆ TQpLinSolverSparse() [3/3]

TQpLinSolverSparse::TQpLinSolverSparse ( const TQpLinSolverSparse another)

Copy constructor.

Definition at line 82 of file TQpLinSolverSparse.cxx.

◆ ~TQpLinSolverSparse()

virtual TQpLinSolverSparse::~TQpLinSolverSparse ( )
inlinevirtual

Definition at line 73 of file TQpLinSolverSparse.h.

Member Function Documentation

◆ Factor()

void TQpLinSolverSparse::Factor ( TQpDataBase prob,
TQpVar vars 
)
virtual

Sets up the matrix for the main linear system in "augmented system" form.

Reimplemented from TQpLinSolverBase.

Definition at line 92 of file TQpLinSolverSparse.cxx.

◆ operator=()

TQpLinSolverSparse & TQpLinSolverSparse::operator= ( const TQpLinSolverSparse source)

Assignment operator.

Definition at line 135 of file TQpLinSolverSparse.cxx.

◆ PutXDiagonal()

void TQpLinSolverSparse::PutXDiagonal ( TVectorD xdiag)
virtual

Places the diagonal resulting from the bounds on x into the augmented system matrix.

Implements TQpLinSolverBase.

Definition at line 102 of file TQpLinSolverSparse.cxx.

◆ PutZDiagonal()

void TQpLinSolverSparse::PutZDiagonal ( TVectorD zdiag)
virtual

Places the diagonal resulting from the bounds on Cx into the augmented system matrix.

Implements TQpLinSolverBase.

Definition at line 113 of file TQpLinSolverSparse.cxx.

◆ SolveCompressed()

void TQpLinSolverSparse::SolveCompressed ( TVectorD compressedRhs)
virtual

Perform the actual solve using the factors produced in factor.

rhs on input contains the aggregated right-hand side of the augmented system; on output contains the solution in aggregated form .

Implements TQpLinSolverBase.

Definition at line 126 of file TQpLinSolverSparse.cxx.

Member Data Documentation

◆ fKkt

TMatrixDSparse TQpLinSolverSparse::fKkt
protected

Definition at line 65 of file TQpLinSolverSparse.h.

◆ fSolveSparse

TDecompSparse TQpLinSolverSparse::fSolveSparse
protected

Definition at line 66 of file TQpLinSolverSparse.h.

Libraries for TQpLinSolverSparse:
[legend]

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