LifeV
|
Sin - Sinusoidal wave. More...
#include <ud_functions.hpp>
Public Member Functions | |
Sin (const Real mean=0, const Real scale=10, const Real period=.01, const Real phase=0.) | |
The constructor. More... | |
virtual | ~Sin () |
Real | operator() (const Real &time) |
Compute the sinus at the specified time. More... | |
Private Attributes | |
Real | M_mean |
Real | M_scale |
Real | M_period |
Real | M_phase |
Sin - Sinusoidal wave.
Definition at line 81 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
inlineexplicit |
The constructor.
[in] | mean | the time average of the sinus |
[in] | scale | the sinus amplitude |
[in] | period | the sinus period |
[in] | phase | the sinus phase |
Definition at line 93 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
inlinevirtual |
Definition at line 100 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
Compute the sinus at the specified time.
[in] | time | the time |
Definition at line 108 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 123 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 124 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 125 of file multiscale/testsuite/onedmodel/ud_functions.hpp.
|
private |
Definition at line 126 of file multiscale/testsuite/onedmodel/ud_functions.hpp.