C++ main module for emicrom Package  1.0
EMM_VelocitySolverTest.h
Go to the documentation of this file.
1 #ifndef EMM_VelocitySolverTest_H
2 #define EMM_VelocitySolverTest_H
3 
4 #include "EMM_Test.h"
5 
6 
7 #include "EMM_MassMatrix.h"
8 
18 
20 
22  // ATTRIBUTES
23 
24 
25 public:
26 
27 
28 protected:
29  // METHODS
30 
31  // CONSTRUCTORS
32 
36 
37 
38 
39  // DESTRUCTORS
40 
41 
44  virtual ~EMM_VelocitySolverTest(void);
45 
46 
47 
48 public:
51  inline static SP::EMM_VelocitySolverTest New() {
52  SP::EMM_VelocitySolverTest p(new EMM_VelocitySolverTest(),
54  p->setThis(p);
55  return p;
56  };
57 
58 
59 
60 
61 
65  virtual tBoolean test(const CORE_Run& runner,const map<tString,tString>& options) const;
66 
67 
68 private:
69 
70 
79 
88 
97 
105  const tUInteger& Nx,
106  const tReal *Mv) const;
107 
114  const tUInteger& Nx) const;
115 
116 
117 
118 
119 };
120 
121 #endif
DEFINE_SPTR(EMM_VelocitySolverTest)
tBoolean massMatrixTrivialSolverTest(EMM_MassMatrix &M, const tUInteger &Nx) const
test the general mass matrix solevr in a trivial case on Nx x 1 x 1 mesh
Definition: EMM_VelocitySolverTest.cpp:306
tBoolean canonicalMassMatrixTest() const
test the canonical mass matrix basic operations
Definition: EMM_VelocitySolverTest.cpp:100
This class is a Run class for Common package.
Definition: CORE_Run.h:38
#define tUInteger
Definition: types.h:91
tBoolean condensedMassMatrixTrivialSolverTest(const tUInteger &Nx) const
test the condensed mass matrix in a trivial case of 2 elements
Definition: EMM_VelocitySolverTest.cpp:176
#define tBoolean
Definition: types.h:139
virtual tBoolean test(const CORE_Run &runner, const map< tString, tString > &options) const
make the test
Definition: EMM_VelocitySolverTest.cpp:25
This class is a test class for E-MicromM package.
Definition: EMM_Test.h:25
tBoolean condensedMassMatrixTest() const
test the condensed mass matrix basic operations
Definition: EMM_VelocitySolverTest.cpp:150
tBoolean massMatrixTest(EMM_MassMatrix &M, const tUInteger &Nx, const tReal *Mv) const
test general mass matrix basic operations on a Nx x 1 x 1 mesh
Definition: EMM_VelocitySolverTest.cpp:185
tBoolean blockMassMatrixTrivialSolverTest(const tUInteger &Nx) const
test the block mass matrix in a trivial case of 2 elements
Definition: EMM_VelocitySolverTest.cpp:144
This interface class describes the mass matrix where is the Q1 function with is 1 on the point i an...
Definition: EMM_MassMatrix.h:23
This class is a test class for solving velocity linear system.
Definition: EMM_VelocitySolverTest.h:19
static SP::EMM_VelocitySolverTest New()
create a test class
Definition: EMM_VelocitySolverTest.h:51
SP_OBJECT(EMM_VelocitySolverTest)
virtual ~EMM_VelocitySolverTest(void)
destroy the class
Definition: EMM_VelocitySolverTest.cpp:20
tBoolean canonicalMassMatrixTrivialSolverTest(const tUInteger &Nx) const
test the canonical mass matrix in a trivial case of 2 elements
Definition: EMM_VelocitySolverTest.cpp:119
EMM_VelocitySolverTest(void)
create the class
Definition: EMM_VelocitySolverTest.cpp:17
tBoolean blockMassMatrixTest() const
test the block mass matrix basic operations
Definition: EMM_VelocitySolverTest.cpp:125
#define tReal
Definition: types.h:118
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141