LifeV
|
Analytical_Solution - A particular case of Cos_min_Sin. More...
#include <ud_functions.hpp>
Public Member Functions | |
Analytical_Solution (Real const &sol_amplitude_Re, Real const &sol_amplitude_Im, Real const &kappa_Re, Real const &kappa_Im, Real const &omega) | |
The constructor. More... | |
virtual | ~Analytical_Solution () |
Real | operator() (const Real &time) |
Compute the wave at the specified time. More... | |
void | update_x (const Real &_x) |
Compute the wave at the specified time. More... | |
Public Member Functions inherited from Cos_min_Sin | |
Cos_min_Sin (const Real coeff_exp_t_cos=0, const Real mean_cos=0, const Real amplitude_cos=10, const Real frequency_cos=8.*atan(1.), const Real phase_cos=0., const Real coeff_exp_t_sin=0, const Real mean_sin=0, const Real amplitude_sin=10, const Real frequency_sin=8.*atan(1.), const Real phase_sin=0.) | |
The constructor. More... | |
virtual | ~Cos_min_Sin () |
Real | operator() (const Real &time) |
Compute the wave at the specified time. More... | |
Real & | coeff_exp_t_cos () |
Real & | mean_cos () |
Real & | amplitude_cos () |
Real & | frequency_cos () |
Real & | phase_cos () |
Real & | coeff_exp_t_sin () |
Real & | mean_sin () |
Real & | amplitude_sin () |
Real & | frequency_sin () |
Real & | phase_sin () |
Private Attributes | |
Real | M_sol_amplitude_Re |
Real | M_sol_amplitude_Im |
Real | M_kappa_Re |
Real | M_kappa_Im |
Analytical_Solution - A particular case of Cos_min_Sin.
This analytical solution is in the form
U = ( Re(U) + i Im(U) ) * exp( Im(k) x ) * exp[ i ( t - Re(k) x ) ] .
Its real part is Re(U) = [ Re(U) * exp( Im(k) x ) ] * cos( t - Re(k) x ) +
Definition at line 265 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
inlineexplicit |
The constructor.
[in] | sol_amplitude_Re | the real part of the wave amplitude |
[in] | sol_amplitude_Im | the imaginary part of the wave amplitude |
[in] | kappa_Re | the real part of the wave number |
[in] | kappa_Im | the imaginary part of the wave number |
[in] | omega | the wave time frequency (supposed to be real) |
Definition at line 278 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
inlinevirtual |
Definition at line 289 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
Compute the wave at the specified time.
[in] | time | the time |
Definition at line 298 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
inline |
Compute the wave at the specified time.
[in] | time | the time |
Definition at line 310 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 320 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 321 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 322 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 323 of file multiscale/testsuite/onedmodel/ud_functions.hpp.