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

The diff_gl class implements the Gauss-Lobatto (or more properly Gauss-Lobatto-Chebyshev) collocation method. More...

#include <numdiff.h>

Collaboration diagram for diff_gl:
Collaboration graph
[legend]

Public Member Functions

 diff_gl (int n=1)
 
 ~diff_gl ()
 
 diff_gl (const diff_gl &)
 
diff_gloperator= (const diff_gl &)
 
void set_ndomains (int n)
 
void set_xif (double,...)
 
void set_npts (int,...)
 
void init ()
 
matrix eval (const matrix &y, const matrix &x, matrix &T) const
 
matrix eval (const matrix &y, const matrix &x) const
 
matrix eval (const matrix &y, double x) const
 
matrix eval (const matrix &y, double x, matrix &T) const
 

Public Attributes

matrix x
 
matrix I
 
matrix_block_diag P
 
matrix_block_diag P1
 
matrix_block_diag D
 
int * npts
 
double * xif
 
const int & ndomains
 
const int & N
 

Private Member Functions

void init_1 ()
 

Private Attributes

int ndom
 
int Ntot
 

Detailed Description

The diff_gl class implements the Gauss-Lobatto (or more properly Gauss-Lobatto-Chebyshev) collocation method.

The basis functions are Chebyshev polynomials of the first kind: \( T_l(x)=cos(l.arccos(x)) \), defined in \( [-1, 1] \).
And the collocation points are \( x_i = -cos(\frac{i \pi}{n})\)

Constructor & Destructor Documentation

diff_gl::diff_gl ( int  n = 1)
explicit
diff_gl::~diff_gl ( )
diff_gl::diff_gl ( const diff_gl gl)

Member Function Documentation

matrix diff_gl::eval ( const matrix y,
const matrix x,
matrix T 
) const

Here is the call graph for this function:

matrix diff_gl::eval ( const matrix y,
const matrix x 
) const

Here is the call graph for this function:

matrix diff_gl::eval ( const matrix y,
double  x 
) const

Here is the call graph for this function:

matrix diff_gl::eval ( const matrix y,
double  x,
matrix T 
) const

Here is the call graph for this function:

void diff_gl::init ( )

Here is the call graph for this function:

void diff_gl::init_1 ( )
private

Here is the call graph for this function:

diff_gl & diff_gl::operator= ( const diff_gl gl)
void diff_gl::set_ndomains ( int  n)
void diff_gl::set_npts ( int  n,
  ... 
)
void diff_gl::set_xif ( double  x,
  ... 
)

Member Data Documentation

matrix_block_diag diff_gl::D
matrix diff_gl::I
const int & diff_gl::N
int diff_gl::ndom
private
const int& diff_gl::ndomains
int* diff_gl::npts
int diff_gl::Ntot
private
matrix_block_diag diff_gl::P
matrix_block_diag diff_gl::P1
matrix diff_gl::x
double* diff_gl::xif

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