Spectral Integral Suite in C++
|
This solves the generalized eigenvalue problem for a block matrix operator system. More...
This solves the generalized eigenvalue problem for a block matrix operator system.
The eigenvalue problem is given by:
\[ \left[ \begin{array}{cc} \tfrac{1}{16}\mathrm D^4 + 2y & 1.0 \\ \sin (2y) & \tfrac{1}{4}\mathrm D^2 \end{array} \right] \left[ \begin{array}{c} u \\ v \end{array} \right] \;=\; \lambda \left[ \begin{array}{cc} \tfrac{1}{4}\mathrm D^2 & 0\\ 0 & 1 \end{array} \right] \left[ \begin{array}{c} u \\ v \end{array} \right], \]
with boundary conditions:
\[ [\mathrm D u(\cdot)](\pm 1) \;=\; u(\pm 1) \;=\; v(\pm 1) \;=\; 0. \]
Here, \( \mathrm D = \mathrm d/\mathrm d y \).
Definition in file Ex_07.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 48 of file Ex_07.cpp.
References sis::Linop< T >::coef, sis::GeneralizedEigenSolver< T >::compute(), sis::GeneralizedEigenSolver< T >::eigenvalues, sis::BcMat< T >::eval, sis::BcMat< T >::L, sis::N, sis::sis_setup(), and sis::y().