1 #ifndef EMM_WaveFDMTest_H 2 #define EMM_WaveFDMTest_H 61 inline static SP::EMM_WaveFDMTest
New() {
tBoolean computeVelocityWaveAtPreviousTime(const tBoolean &isPeriodic, const tBoolean dirichletLC[2], tReal U0(const tReal &t), tReal UL(const tReal &t), const EMM_RealArray &Ux_0, const EMM_RealArray &Vx_0, const tReal &c, const tReal &dt, const tReal &dx, EMM_RealArray &dU_dt) const
compute the velocity wave V(-dt,.) with Dirichlet/Neumann limit conditions.
Definition: EMM_WaveFDMTest.cpp:236
tBoolean computeWaveAtFirstTime(const tBoolean &isPeriodic, const tBoolean dirichletLC[2], tReal U0(const tReal &t), tReal UL(const tReal &t), const EMM_RealArray &Ux_0, const EMM_RealArray &dU_dt0, const tReal &s, const tReal &dt, EMM_RealArray &Ux_1) const
compute the wave U(dt,.) with Dirichlet/Neumann limit conditions
Definition: EMM_WaveFDMTest.cpp:125
#define tBoolean
Definition: types.h:139
virtual tBoolean waveSystemP1Propagation(const tBoolean &isTXTOutput, const tString &prefix, const tBoolean dirichletCL[2], tReal U_0(const tReal &t), tReal U_L(const tReal &t), const tReal &c, const tReal &L, const tReal &dt, const tUIndex nT, EMM_RealArray &U, EMM_RealArray &V) const
compute the wave at any time from initial conditions U(0,.) and V(0,x) and from dirichlet limit condi...
Definition: EMM_WaveFDMTest.cpp:565
DEFINE_SPTR(EMM_WaveFDMTest)
virtual tBoolean trianglePeriodicalWave() const
Definition: EMM_WaveFDMTest.h:428
virtual ~EMM_WaveFDMTest(void)
destroy the class
Definition: EMM_WaveFDMTest.cpp:11
virtual tBoolean sharkWave() const
Definition: EMM_WaveFDMTest.h:431
static SP::EMM_WaveFDMTest New()
create a test class
Definition: EMM_WaveFDMTest.h:61
this class is a test class for testing wave equation using the Finite Differences Method: ...
Definition: EMM_WaveFDMTest.h:29
This class is a test class for testing wave equation : .
Definition: EMM_WaveTest.h:28
virtual tBoolean waveSystemP2Propagation(const tBoolean &isTXTOutput, const tString &prefix, const tBoolean dirichletLC[2], tReal U_0(const tReal &t), tReal U_L(const tReal &t), const tReal &c, const tReal &L, const tReal &cfl, const tUIndex nT, EMM_RealArray &U, EMM_RealArray &V) const
compute the wave at any time from initial conditions U(0,.) and V(0,x) and from dirichlet limit condi...
Definition: EMM_WaveFDMTest.cpp:804
virtual tBoolean trianglePeriodicalWave() const =0
#define tUIndex
Definition: types.h:126
This class describes a real array.
Definition: EMM_RealArray.h:16
virtual tBoolean triangleWave() const
Definition: EMM_WaveFDMTest.h:425
virtual tBoolean barWave() const =0
virtual tBoolean sinusoidalWave() const
Definition: EMM_WaveFDMTest.h:422
EMM_WaveFDMTest(void)
create the class
Definition: EMM_WaveFDMTest.cpp:8
#define tString
Definition: types.h:135
virtual tBoolean sinusoidalWave() const =0
virtual tBoolean sharkWave() const =0
virtual tBoolean barWave() const
Definition: EMM_WaveFDMTest.h:436
tBoolean waveTE2Propagation(const tBoolean &isForward, const tBoolean &isTXTOutput, const tString &prefix, const tBoolean &isPeriodic, const tBoolean dirichletLC[2], tReal U_0(const tReal &t), tReal U_L(const tReal &t), const tReal &C, const tReal &L, const tReal &cfl, const tUIndex nT, EMM_RealArray &U, EMM_RealArray &V) const
compute the wave at any time from initial conditions U(0,.) and V(0,x) and from dirichlet limit condi...
Definition: EMM_WaveFDMTest.cpp:365
virtual tBoolean triangleWave() const =0
#define tReal
Definition: types.h:118
SP_OBJECT(EMM_WaveFDMTest)
tBoolean computeWaveAtPreviousTime(const tBoolean &isPeriodic, const tBoolean dirichletLC[2], tReal U0(const tReal &t), tReal UL(const tReal &t), const EMM_RealArray &Ux_0, const EMM_RealArray &dU_dt0, const tReal &s2, const tReal &dt, EMM_RealArray &Ux_1) const
compute the wave U(-dt,.) with Dirichlet/Neumann limit conditions.
Definition: EMM_WaveFDMTest.cpp:18
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141