Spectral Integral Suite in C++
|
This solves the problem for a block matrix operator system. More...
This solves the problem for a block matrix operator system.
The eigenvalue problem is given by:
\[ \left[ \begin{array}{cc} \frac{1}{4} \mathrm D^2 + 2y & 1.0 \\ \sin (2y) & \frac{1}{4}\mathrm D^2 \end{array} \right] \left[ \begin{array}{c} u \\ v \end{array} \right] \;=\; \lambda \left[ \begin{array}{c} u \\ v \end{array} \right], \]
with boundary conditions:
\[ u(\pm 1) \;=\; v(\pm 1) \;=\; 0. \]
where \( \mathrm D = \mathrm d/\mathrm d y \).
Definition in file Ex_04.cpp.
Go to the source code of this file.
Typedefs | |
typedef complex< double > | Cd_t |
typedef valarray< double > | Vd_t |
Functions | |
int | main () |
int main | ( | ) |
Definition at line 40 of file Ex_04.cpp.
References sis::Linop< T >::coef, sis::GeneralizedEigenSolver< T >::compute(), sis::GeneralizedEigenSolver< T >::eigenvalues, sis::BcMat< T >::eval, ii(), sis::BcMat< T >::L, sis::N, sis::sis_setup(), and sis::y().