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

Definition at line 66 of file TQpLinSolverBase.h.

Public Member Functions

 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 Factor (TQpDataBase *prob, TQpVar *vars)
 Sets up the matrix for the main linear system in "augmented system" form. 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 PutXDiagonal (TVectorD &xdiag)=0
 
virtual void PutZDiagonal (TVectorD &zdiag)=0
 
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 SolveCompressed (TVectorD &rhs)=0
 
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

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 <TQpLinSolverBase.h>

Inheritance diagram for TQpLinSolverBase:
[legend]

Constructor & Destructor Documentation

◆ TQpLinSolverBase() [1/3]

TQpLinSolverBase::TQpLinSolverBase ( )

Default constructor.

Definition at line 60 of file TQpLinSolverBase.cxx.

◆ TQpLinSolverBase() [2/3]

TQpLinSolverBase::TQpLinSolverBase ( TQpProbBase factory,
TQpDataBase data 
)

Constructor.

Definition at line 76 of file TQpLinSolverBase.cxx.

◆ TQpLinSolverBase() [3/3]

TQpLinSolverBase::TQpLinSolverBase ( const TQpLinSolverBase another)

Copy constructor.

Definition at line 107 of file TQpLinSolverBase.cxx.

◆ ~TQpLinSolverBase()

virtual TQpLinSolverBase::~TQpLinSolverBase ( )
inlinevirtual

Definition at line 98 of file TQpLinSolverBase.h.

Member Function Documentation

◆ ComputeDiagonals()

void TQpLinSolverBase::ComputeDiagonals ( TVectorD dd,
TVectorD omega,
TVectorD t,
TVectorD lambda,
TVectorD u,
TVectorD pi,
TVectorD v,
TVectorD gamma,
TVectorD w,
TVectorD phi 
)
virtual

Computes the diagonal matrices in the augmented system from the current set of variables.

Definition at line 142 of file TQpLinSolverBase.cxx.

◆ Factor()

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

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

The actual factorization is performed by a routine specific to either the sparse or dense case

Reimplemented in TQpLinSolverDens, and TQpLinSolverSparse.

Definition at line 119 of file TQpLinSolverBase.cxx.

◆ JoinRHS()

void TQpLinSolverBase::JoinRHS ( TVectorD rhs_out,
TVectorD rhs1_in,
TVectorD rhs2_in,
TVectorD rhs3_in 
)
virtual

Assembles a single vector object from three given vectors .

rhs_out (output) final joined vector rhs1_in (input) first part of rhs rhs2_in (input) middle part of rhs rhs3_in (input) last part of rhs .

Definition at line 290 of file TQpLinSolverBase.cxx.

◆ operator=()

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

Assignment opeartor.

Definition at line 314 of file TQpLinSolverBase.cxx.

◆ PutXDiagonal()

virtual void TQpLinSolverBase::PutXDiagonal ( TVectorD xdiag)
pure virtual

Implemented in TQpLinSolverDens, and TQpLinSolverSparse.

◆ PutZDiagonal()

virtual void TQpLinSolverBase::PutZDiagonal ( TVectorD zdiag)
pure virtual

Implemented in TQpLinSolverDens, and TQpLinSolverSparse.

◆ SeparateVars()

void TQpLinSolverBase::SeparateVars ( TVectorD x_in,
TVectorD y_in,
TVectorD z_in,
TVectorD vars_in 
)
virtual

Extracts three component vectors from a given aggregated vector.

vars_in (input) aggregated vector x_in (output) first part of vars y_in (output) middle part of vars z_in (output) last part of vars

Definition at line 304 of file TQpLinSolverBase.cxx.

◆ Solve()

void TQpLinSolverBase::Solve ( TQpDataBase prob,
TQpVar vars,
TQpResidual res,
TQpVar step 
)
virtual

Solves the system for a given set of residuals.

Assembles the right-hand side appropriate to the matrix factored in factor, solves the system using the factorization produced there, partitions the solution vector into step components, then recovers the step components eliminated during the block elimination that produced the augmented system form .

Definition at line 164 of file TQpLinSolverBase.cxx.

◆ SolveCompressed()

virtual void TQpLinSolverBase::SolveCompressed ( TVectorD rhs)
pure virtual

Implemented in TQpLinSolverDens, and TQpLinSolverSparse.

◆ SolveXYZS()

void TQpLinSolverBase::SolveXYZS ( TVectorD stepx,
TVectorD stepy,
TVectorD stepz,
TVectorD steps,
TVectorD ztemp,
TQpDataBase data 
)
virtual

Assemble right-hand side of augmented system and call SolveCompressed to solve it.

Definition at line 263 of file TQpLinSolverBase.cxx.

Member Data Documentation

◆ fCloIndex

TVectorD TQpLinSolverBase::fCloIndex
protected

Definition at line 84 of file TQpLinSolverBase.h.

◆ fCupIndex

TVectorD TQpLinSolverBase::fCupIndex
protected

Definition at line 82 of file TQpLinSolverBase.h.

◆ fDd

TVectorD TQpLinSolverBase::fDd
protected

Definition at line 78 of file TQpLinSolverBase.h.

◆ fDq

TVectorD TQpLinSolverBase::fDq
protected

Definition at line 79 of file TQpLinSolverBase.h.

◆ fFactory

TQpProbBase* TQpLinSolverBase::fFactory
protected

Definition at line 91 of file TQpLinSolverBase.h.

◆ fMclo

Int_t TQpLinSolverBase::fMclo
protected

Definition at line 89 of file TQpLinSolverBase.h.

◆ fMcup

Int_t TQpLinSolverBase::fMcup
protected

Definition at line 88 of file TQpLinSolverBase.h.

◆ fMy

Int_t TQpLinSolverBase::fMy
protected

Definition at line 75 of file TQpLinSolverBase.h.

◆ fMz

Int_t TQpLinSolverBase::fMz
protected

Definition at line 76 of file TQpLinSolverBase.h.

◆ fNomegaInv

TVectorD TQpLinSolverBase::fNomegaInv
protected

Definition at line 71 of file TQpLinSolverBase.h.

◆ fNx

Int_t TQpLinSolverBase::fNx
protected

Definition at line 74 of file TQpLinSolverBase.h.

◆ fNxlo

Int_t TQpLinSolverBase::fNxlo
protected

Definition at line 87 of file TQpLinSolverBase.h.

◆ fNxup

Int_t TQpLinSolverBase::fNxup
protected

Definition at line 86 of file TQpLinSolverBase.h.

◆ fRhs

TVectorD TQpLinSolverBase::fRhs
protected

Definition at line 72 of file TQpLinSolverBase.h.

◆ fXloIndex

TVectorD TQpLinSolverBase::fXloIndex
protected

Definition at line 83 of file TQpLinSolverBase.h.

◆ fXupIndex

TVectorD TQpLinSolverBase::fXupIndex
protected

Definition at line 81 of file TQpLinSolverBase.h.

Libraries for TQpLinSolverBase:
[legend]

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