Spectral Integral Suite in C++
|
Solving for frequency responses of the reaction-diffusion operator,
\[ \partial_t u(y,t) \;=\; \partial_{yy}u(y,t) - \epsilon^2 u(y,t) + d(y) \mathrm{e},^{\! j\omega t} \]
with homogeneous Neumann boundary conditions, \([\partial_y u (\cdot,t)](y = \pm 1) = 0\). More...
Solving for frequency responses of the reaction-diffusion operator,
\[ \partial_t u(y,t) \;=\; \partial_{yy}u(y,t) - \epsilon^2 u(y,t) + d(y) \mathrm{e},^{\! j\omega t} \]
with homogeneous Neumann boundary conditions, \([\partial_y u (\cdot,t)](y = \pm 1) = 0\).
As this system is a linear differential equation, its solution is of the form \(u(y,t) = u(y)\,\mathrm{e},^{\! j\omega t}\) using this on the governing equation we arrive at
\[ ( j\omega - \mathrm{D}^2 + \epsilon^2 \mathrm{I})\, u(y) \;=\; d(y), \]
where \(\mathrm{D} = \mathrm d/\mathrm dy\) and \(\mathrm{I}\) is the identity operator. The singular value decomposition (SVD) of the operator \( ( j\omega - \mathrm{D}^2 + \epsilon^2 \mathrm{I})^{ -1}\) finds the body force of unit \(L^2[-1~\, 1]\) norm that induces the largest amplification of \(u(y)\), which is the principal singular value of \( ( j\omega - \mathrm{D}^2 + \epsilon^2 \mathrm{I}).^{\!\! -1}\)
Singular value decomposition of operators are computed using the class SingularValueDecomposition as illustrated in this example. This class supports calculation of the singular values, power spectral density (a.k.a sum of the squares of singular values of finite-trace operators), and the H-infinity norm. See our related paper for more information.
Definition in file Ex_10.cpp.
Go to the source code of this file.
Macros | |
#define | SIS_USE_LAPACK |
Typedefs | |
typedef complex< double > | Cd_t |
Functions | |
int | main () |
int main | ( | ) |
Definition at line 23 of file Ex_10.cpp.
References sis::Linop< T >::coef, sis::SingularValueDecomposition< T >::compute(), sis::GeneralizedEigenSolver< T >::eigenvalues, sis::BcMat< T >::eval, ii(), sis::BcMat< T >::L, sis::N, and sis::sis_setup().