Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
sierra::nalu::LU Class Reference

Supports LU-decompositon for a matrix. More...

#include <LU.h>

Classes

class  SparseMatrix
 

Public Member Functions

 LU (const int dim, const int bandwidth)
 
 ~LU ()
 
double & operator() (int row, int col)
 
double operator() (int row, int col) const
 
double value (int row, int col) const
 
void decompose ()
 
void back_subs (double *rhs)
 
void dump ()
 

Private Member Functions

 LU ()
 

Private Attributes

const int dim_
 
bool isReady_
 
SparseMatrix AA_
 

Detailed Description

Supports LU-decompositon for a matrix.

Author
James C. Sutherland
Date
November, 2005

Constructor & Destructor Documentation

sierra::nalu::LU::LU ( const int  dim,
const int  bandwidth 
)
sierra::nalu::LU::~LU ( )
sierra::nalu::LU::LU ( )
private

Referenced by value().

Member Function Documentation

void sierra::nalu::LU::back_subs ( double *  rhs)
void sierra::nalu::LU::decompose ( )
void sierra::nalu::LU::dump ( )
double& sierra::nalu::LU::operator() ( int  row,
int  col 
)
inline

References AA_, dim_, and isReady_.

double sierra::nalu::LU::operator() ( int  row,
int  col 
) const
inline

References AA_, and dim_.

double sierra::nalu::LU::value ( int  row,
int  col 
) const
inline

Member Data Documentation

SparseMatrix sierra::nalu::LU::AA_
private
const int sierra::nalu::LU::dim_
private
bool sierra::nalu::LU::isReady_
private

Referenced by back_subs(), decompose(), and operator()().


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