1 #ifndef EMM_WaveFEMTest_H 2 #define EMM_WaveFEMTest_H 66 inline static SP::EMM_WaveFEMTest
New() {
80 mIsMassMatrixCondensed=isCondensed;
351 cout <<
"FEM P1 System not yet implemented \n";
385 cout <<
"FEM P2 System not yet implemented \n";
tBoolean computeWaveAtFirstTime(const MATH_Matrix &M, const MATH_Matrix &X, MATH_Solver &solver, const tBoolean &isPeriodic, const tBoolean dirichletLC[2], tReal U0(const tReal &t), tReal UL(const tReal &t), EMM_RealArray &Ux_0, 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_WaveFEMTest.cpp:282
void computeMassMatrix(const tUIndex &nPts, const tBoolean &isPeriodic, const tBoolean dirichletLC[2], MATH_FullMatrix &M) const
compute the mass matrix
Definition: EMM_WaveFEMTest.cpp:19
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_WaveFEMTest.h:374
void computeStressMatrix(const tUIndex &nPts, const tBoolean &isPeriodic, const tBoolean dirichletLC[2], MATH_FullMatrix &S) const
compute the stress matrix
Definition: EMM_WaveFEMTest.cpp:179
This class describes a general matrix interface used in solver.
Definition: MATH_Matrix.h:20
static SP::EMM_WaveFEMTest New()
create a test class
Definition: EMM_WaveFEMTest.h:66
#define tBoolean
Definition: types.h:139
virtual tBoolean trianglePeriodicalWave() const
Definition: EMM_WaveFEMTest.h:397
virtual tBoolean triangleWave() const
Definition: EMM_WaveFEMTest.h:394
void computeCondensedMassMatrix(const tUIndex &nPts, const tBoolean &isPeriodic, const tBoolean dirichletLC[2], MATH_ArrayVector &M) const
compute the condensed mass matrix as diagonal
Definition: EMM_WaveFEMTest.cpp:132
virtual tBoolean sharkWave() const
Definition: EMM_WaveFEMTest.h:400
this class is a test class for testing wave equation using the Finite elements Method with two implem...
Definition: EMM_WaveFEMTest.h:32
This class is a test class for testing wave equation : .
Definition: EMM_WaveTest.h:28
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_WaveFEMTest.cpp:483
virtual tBoolean trianglePeriodicalWave() const =0
SP_OBJECT(EMM_WaveFEMTest)
This class impements the MATH_Vector class thanks to CORE_RealArray data.
Definition: MATH_ArrayVector.h:17
virtual tBoolean barWave() const
Definition: EMM_WaveFEMTest.h:405
#define tUIndex
Definition: types.h:126
This class describes a real array.
Definition: EMM_RealArray.h:16
This class describes a solver of Ax=b.
Definition: MATH_Solver.h:18
virtual tBoolean barWave() const =0
This class impements the MATH_Matrix class thanks to CORE_RealArray data.
Definition: MATH_FullMatrix.h:19
#define tString
Definition: types.h:135
virtual ~EMM_WaveFEMTest(void)
destroy the class
Definition: EMM_WaveFEMTest.cpp:14
virtual tBoolean sinusoidalWave() const =0
EMM_WaveFEMTest(void)
create the class
Definition: EMM_WaveFEMTest.cpp:10
virtual tBoolean sharkWave() const =0
DEFINE_SPTR(EMM_WaveFEMTest)
tBoolean mIsMassMatrixCondensed
Definition: EMM_WaveFEMTest.h:41
virtual tBoolean triangleWave() const =0
virtual tBoolean waveSystemP1Propagation(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 &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_WaveFEMTest.h:340
#define tReal
Definition: types.h:118
void setIsCondensedMassMatrix(const tBoolean &isCondensed)
set true if the Mass Matrix is condensed or not
Definition: EMM_WaveFEMTest.h:79
virtual tBoolean sinusoidalWave() const
Definition: EMM_WaveFEMTest.h:391
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141