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

Solving for the singular values, power spectral density and the \(\mathcal{H}_\infty\) norm of the linearized Navier stokes equations. We reproduce Figure 4.10 in [5] using spectral integration with the linearized Navier-Stokes equations in primitive variables. More...

Detailed Description

Solving for the singular values, power spectral density and the \(\mathcal{H}_\infty\) norm of the linearized Navier stokes equations. We reproduce Figure 4.10 in [5] using spectral integration with the linearized Navier-Stokes equations in primitive variables.

Ex_12.svg

The we plot the power spectral density:

Ex_12_2.svg

Lastly notice that the largest singular value is somewhere near \(-0.5\); the exact value can be calculated using the fast algorithm by Bruinsma and Steinbuch [1] that is implemented in our codes.

Definition in file Ex_12.cpp.

Include dependency graph for Ex_12.cpp:

Go to the source code of this file.

Macros

#define EIGEN_USE_BLAS
 
#define SIS_USE_LAPACK
 

Typedefs

typedef complex< double > Cd_t
 
typedef valarray< complex< double > > Vcd_t
 

Functions

complex< double > ii (0.0, 1.0)
 
int main ()
 

Macro Definition Documentation

◆ EIGEN_USE_BLAS

#define EIGEN_USE_BLAS

Definition at line 15 of file Ex_12.cpp.

◆ SIS_USE_LAPACK

#define SIS_USE_LAPACK

Definition at line 16 of file Ex_12.cpp.

Typedef Documentation

◆ Cd_t

typedef complex<double> Cd_t

Definition at line 23 of file Ex_12.cpp.

◆ Vcd_t

typedef valarray<complex<double> > Vcd_t

Definition at line 24 of file Ex_12.cpp.

Function Documentation

◆ ii()

complex<double> ii ( 0.  0,
1.  0 
)

Referenced by main().

◆ main()