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

An example with a fourth order system. More...

Detailed Description

An example with a fourth order system.

Solves a fourth order system:

\[ \mathrm D^4u(y) \,-\, 4\,\mathrm D^2u(y) \,+\, 8\,u(y) \;= \; 1 \,-\, y^2 \,+\, y^3, \]

with clamped boundary conditions:

\[ \begin{array}{cll} [\mathrm D u(\cdot)](+1) \;&=\; u(+1) \;&=\; 0 \\ [\mathrm D u(\cdot)](-1) \;&=\; u(-1) \;&=\; 0. \end{array} \]

where \( \mathrm D = \mathrm d/\mathrm d y \).

Ex_02.svg

Definition in file Ex_02.cpp.

Include dependency graph for Ex_02.cpp:

Go to the source code of this file.

Typedefs

typedef complex< double > Cd_t
 
typedef valarray< double > Vd_t
 

Functions

int main ()
 

Typedef Documentation

◆ Cd_t

typedef complex<double> Cd_t

Definition at line 27 of file Ex_02.cpp.

◆ Vd_t

typedef valarray<double> Vd_t

Definition at line 28 of file Ex_02.cpp.

Function Documentation

◆ main()