Mushy Layer  1.0
Public Member Functions | List of all members
band_matrix Class Reference

Class for describing the matrix. More...

#include <ChomboSpline.h>

Public Member Functions

 band_matrix ()
 constructor
 
 band_matrix (int dim, int n_u, int n_l)
 destructor
 
 ~band_matrix ()
 destructor
 
void resize (int dim, int n_u, int n_l)
 init with dim,n_u,n_l
 
int dim () const
 matrix dimension
 
int num_upper () const
 num upper
 
int num_lower () const
 num lower
 
Realoperator() (int i, int j)
 write access operator
 
Real operator() (int i, int j) const
 read access operator
 
Realsaved_diag (int i)
 we can store an additional diagonal (in m_lower)
 
Real saved_diag (int i) const
 we can store an additional diagonal (in m_lower)
 
void lu_decompose ()
 lu decomposition
 
std::vector< Realr_solve (const std::vector< Real > &b) const
 r solve
 
std::vector< Reall_solve (const std::vector< Real > &b) const
 l solve
 
std::vector< Reallu_solve (const std::vector< Real > &b, bool is_lu_decomposed=false)
 lu solve
 

Detailed Description

Class for describing the matrix.


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