63 const Int_t n = factory->fNx+factory->fMy+factory->fMz;
66 data->PutQIntoAt(fKkt,0, 0);
67 if (fMy > 0) data->PutAIntoAt(fKkt,fNx, 0);
68 if (fMz > 0) data->PutCIntoAt(fKkt,fNx+fMy,0);
69 for (
Int_t ix = fNx; ix < fNx+fMy+fMz; ix++) {
70 for (
Int_t iy = fNx; iy < fNx+fMy+fMz; iy++)
115 diag[i+
fNx+
fMy] = zdiag[i];
135 if (
this != &source) {
virtual void SolveCompressed(TVectorD &rhs)
Perform the actual solve using the factors produced in factor.
virtual TMatrixTBase< Element > & ResizeTo(Int_t nrows, Int_t ncols, Int_t=-1)
Set size of the matrix to nrows x ncols New dynamic elements are created, the overlapping part of the...
virtual void Factor(TQpDataBase *prob, TQpVar *vars)
Sets up the matrix for the main linear system in "augmented system" form.
TQpLinSolverDens & operator=(const TQpLinSolverDens &source)
Assignment operator.
ClassImp(TQpLinSolverDens) TQpLinSolverDens
Constructor.
virtual void Factor(TQpDataBase *prob, TQpVar *vars)
Sets up the matrix for the main linear system in "augmented system" form.
virtual void PutZDiagonal(TVectorD &zdiag)
Places the diagonal resulting from the bounds on Cx into the augmented system matrix.
virtual void PutXDiagonal(TVectorD &xdiag)
Places the diagonal resulting from the bounds on x into the augmented system matrix.
virtual void SetMatrix(const TMatrixD &a)
Set matrix to be decomposed.
virtual Bool_t Solve(TVectorD &b)
Solve Ax=b assuming the LU form of A is stored in fLU, but assume b has not been transformed.
TQpLinSolverBase & operator=(const TQpLinSolverBase &source)
Assignment opeartor.