Spectral Integral Suite in C++
|
Eigenvalues of the diffusion operator. More...
Eigenvalues of the diffusion operator.
Finds the eigenvalues the system:
\begin{align} \mathrm D^2 u(y)\,-\,4\,u(y) \;=\; 0, \end{align}
with homogenous Dirichlet boundary conditions , \(u(\pm 1) = 0\). where \( \mathrm D = \mathrm d/\mathrm d y \). Analytical solution: \(-4 - n^2\pi^2/4\)
Definition in file Ex_05.cpp.
Go to the source code of this file.
Typedefs | |
typedef complex< double > | Cd_t |
Functions | |
int | main () |
int main | ( | ) |
Definition at line 19 of file Ex_05.cpp.
References sis::Linop< T >::coef, sis::GeneralizedEigenSolver< T >::compute(), sis::GeneralizedEigenSolver< T >::eigenvalues, sis::BcMat< T >::eval, sis::BcMat< T >::L, sis::N, and sis::sis_setup().