Spectral Integral Suite in C++
Ex_10.cpp File Reference

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...

Detailed Description

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.

Include dependency graph for 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 ()
 

Macro Definition Documentation

◆ SIS_USE_LAPACK

#define SIS_USE_LAPACK

Definition at line 15 of file Ex_10.cpp.

Typedef Documentation

◆ Cd_t

typedef complex<double> Cd_t

Definition at line 21 of file Ex_10.cpp.

Function Documentation

◆ main()