ESTER
Evolution STEllaire en Rotation
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
solver_full Class Reference

#include <solver.h>

Inheritance diagram for solver_full:
Inheritance graph
[legend]
Collaboration diagram for solver_full:
Collaboration graph
[legend]

Public Member Functions

 solver_full (int nblocks, int offcore=0)
 
 ~solver_full ()
 
void set_block (int iblock, matrix &)
 
void set_blocksup (int iblock, matrix &)
 
void set_blockinf (int iblock, matrix &)
 
void left_precond (matrix &x)
 
void right_precond (matrix &x)
 
matrix solve (const matrix &)
 Solves the set of equation stored in the object given the right hand side rhs. More...
 
- Public Member Functions inherited from solver_operator
virtual ~solver_operator ()
 

Private Member Functions

void lu_calc ()
 
void lu_block (int i)
 
void solve_block (int i, char trans, matrix &x)
 
void read_block (int i)
 
void write_block (int i, const matrix &)
 
void flush_block (int i)
 
void read_blocksup (int i)
 
void write_blocksup (int i, const matrix &)
 
void flush_blocksup (int i)
 
void read_blockinf (int i)
 
void write_blockinf (int i, const matrix &)
 
void flush_blockinf (int i)
 
void fwd_subs (matrix &)
 
void back_subs (matrix &)
 

Private Attributes

matrixm
 
matrixmsup
 
matrixminf
 
matrixc
 
matrixr
 
matrix blk_index
 
matrix ipiv_flag
 
int nb
 
int lu_flag
 
int * N
 
int oc
 
char tempdir [50]
 
int ** ipiv
 

Additional Inherited Members

- Public Attributes inherited from solver_operator
int verbose
 

Constructor & Destructor Documentation

solver_full::solver_full ( int  nblocks,
int  offcore = 0 
)
explicit

Here is the call graph for this function:

solver_full::~solver_full ( )

Member Function Documentation

void solver_full::back_subs ( matrix x)
private

Here is the call graph for this function:

void solver_full::flush_block ( int  i)
private

Here is the call graph for this function:

void solver_full::flush_blockinf ( int  i)
private

Here is the call graph for this function:

void solver_full::flush_blocksup ( int  i)
private

Here is the call graph for this function:

void solver_full::fwd_subs ( matrix x)
private

Here is the call graph for this function:

void solver_full::left_precond ( matrix x)
inlinevirtual

Implements solver_operator.

Here is the call graph for this function:

void solver_full::lu_block ( int  i)
private

Here is the call graph for this function:

void solver_full::lu_calc ( )
private

Here is the call graph for this function:

void solver_full::read_block ( int  i)
private

Here is the call graph for this function:

void solver_full::read_blockinf ( int  i)
private

Here is the call graph for this function:

void solver_full::read_blocksup ( int  i)
private

Here is the call graph for this function:

void solver_full::right_precond ( matrix x)
inlinevirtual

Implements solver_operator.

Here is the call graph for this function:

void solver_full::set_block ( int  iblock,
matrix a 
)

Here is the call graph for this function:

void solver_full::set_blockinf ( int  iblock,
matrix a 
)

Here is the call graph for this function:

void solver_full::set_blocksup ( int  iblock,
matrix a 
)

Here is the call graph for this function:

matrix solver_full::solve ( const matrix rhs)
virtual

Solves the set of equation stored in the object given the right hand side rhs.

Solving the equation is done with Crout's method: LU factorization followed forward and backward substitution.

Implements solver_operator.

Here is the call graph for this function:

void solver_full::solve_block ( int  i,
char  trans,
matrix x 
)
private

Here is the call graph for this function:

void solver_full::write_block ( int  i,
const matrix a 
)
private

Here is the call graph for this function:

void solver_full::write_blockinf ( int  i,
const matrix a 
)
private

Here is the call graph for this function:

void solver_full::write_blocksup ( int  i,
const matrix a 
)
private

Here is the call graph for this function:

Member Data Documentation

matrix solver_full::blk_index
private
matrix * solver_full::c
private
int** solver_full::ipiv
private
matrix solver_full::ipiv_flag
private
int solver_full::lu_flag
private
matrix* solver_full::m
private
matrix * solver_full::minf
private
matrix * solver_full::msup
private
int * solver_full::N
private
int solver_full::nb
private
int solver_full::oc
private
matrix * solver_full::r
private
char solver_full::tempdir[50]
private

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