SparseGridMtxLU Class Reference

Summary description for SparseGridMtx. More...

#include <SparseGridMtxLU.h>

Inheritance diagram for SparseGridMtxLU:
SparseGridMtx TraceableMatrix ILargeMatrix IMatrix

List of all members.

Public Member Functions

void AlocateMemoryByPattern (IConectMatrix *bskl)
void BackSubstU (double *x, long fixed_blocks)
virtual double & ElementAt (int i, int j)
virtual void Factorize ()
void ForwardSubstL (double *x, long fixed_blocks)
double GetValue (long bi, long bj, long si, long sj, long &aux_bi_idx, long &aux_bj_idx)
virtual void LoadMatrixNumbers (SparseMatrixF &sm)
virtual void LoadZeros ()
virtual void MultiplyByVector (const LargeVectorAttach &x, LargeVectorAttach &y)
virtual void SchurComplementFactorization (int fixed_blocks)
void Solve (double *b, double *x)
virtual void SolveA11 (double *x, long fixed_blocks)
void SolveLU (double *x, long fixed_blocks=0)
virtual void SolveLV (const LargeVector &b, LargeVector &x)
 SparseGridMtxLU (SparseMatrixF &sm, BYTE block_size, Ordering *block_order, Ordering *node_order, MathTracer *eMT, BOOL load_data=1)
 SparseGridMtxLU (SparseMatrixF &sm, BYTE block_size, Ordering *block_order, MathTracer *eMT, BOOL load_data=1)
virtual void Sub_A11inv_A12 (double *x, long fixed_blocks)
virtual void Sub_A21_A11inv (double *x, long fixed_blocks)
void SubMultL21 (double *px, double *py, long fixed_blocks)
 y -= L12 * x
void SubMultU12 (double *px, double *py, long fixed_blocks)
 y -= U12 * x
virtual void WriteCondensedMatrixA22 (double *a, Ordering *mcn, IntArrayList *lncn)
virtual ~SparseGridMtxLU ()

Public Attributes

double * Columns_data
double * Diagonal_data
double * Rows_data

Detailed Description

Summary description for SparseGridMtx.

Definition at line 13 of file SparseGridMtxLU.h.


Constructor & Destructor Documentation

SparseGridMtxLU ( SparseMatrixF sm,
BYTE  block_size,
Ordering block_order,
MathTracer eMT,
BOOL  load_data = 1 
)
SparseGridMtxLU ( SparseMatrixF sm,
BYTE  block_size,
Ordering block_order,
Ordering node_order,
MathTracer eMT,
BOOL  load_data = 1 
)
~SparseGridMtxLU (  )  [virtual]

Definition at line 194 of file SparseGridMtxLU.cpp.

References Columns_data, Diagonal_data, and Rows_data.


Member Function Documentation

void AlocateMemoryByPattern ( IConectMatrix bskl  ) 
void BackSubstU ( double *  x,
long  fixed_blocks 
)
double & ElementAt ( int  i,
int  j 
) [virtual]
void Factorize (  )  [virtual]
void ForwardSubstL ( double *  x,
long  fixed_blocks 
)
double GetValue ( long  bi,
long  bj,
long  si,
long  sj,
long &  aux_bi_idx,
long &  aux_bj_idx 
) [inline]
void LoadMatrixNumbers ( SparseMatrixF sm  )  [virtual]
void LoadZeros (  )  [virtual]
void MultiplyByVector ( const LargeVectorAttach x,
LargeVectorAttach y 
) [virtual]

Reimplemented from SparseGridMtx.

Definition at line 236 of file SparseGridMtxLU.cpp.

void SchurComplementFactorization ( int  fixed_blocks  )  [virtual]
void Solve ( double *  b,
double *  x 
) [virtual]

Implements SparseGridMtx.

Definition at line 468 of file SparseGridMtxLU.cpp.

References Array::Copy(), SparseGridMtx::n, and SolveLU().

void SolveA11 ( double *  x,
long  fixed_blocks 
) [virtual]

Implements SparseGridMtx.

Definition at line 593 of file SparseGridMtxLU.cpp.

References SolveLU().

void SolveLU ( double *  x,
long  fixed_blocks = 0 
)

Definition at line 537 of file SparseGridMtxLU.cpp.

References BackSubstU(), and ForwardSubstL().

Referenced by Solve(), SolveA11(), and SolveLV().

void SolveLV ( const LargeVector b,
LargeVector x 
) [virtual]
void Sub_A11inv_A12 ( double *  x,
long  fixed_blocks 
) [virtual]

Implements SparseGridMtx.

Definition at line 610 of file SparseGridMtxLU.cpp.

References BackSubstU(), and SubMultU12().

void Sub_A21_A11inv ( double *  x,
long  fixed_blocks 
) [virtual]

Implements SparseGridMtx.

Definition at line 601 of file SparseGridMtxLU.cpp.

References ForwardSubstL(), and SubMultL21().

void SubMultL21 ( double *  px,
double *  py,
long  fixed_blocks 
)
void SubMultU12 ( double *  px,
double *  py,
long  fixed_blocks 
)
void WriteCondensedMatrixA22 ( double *  a,
Ordering mcn,
IntArrayList lncn 
) [virtual]

Member Data Documentation

double* Columns_data
double* Diagonal_data
double* Rows_data

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

Generated by  doxygen 1.6.2