C++ main module for emicrom Package  1.0
EMM_Grid3DTest.h
Go to the documentation of this file.
1 #ifndef EMM_Grid3DTest_H
2 #define EMM_Grid3DTest_H
3 
4 #include "EMM_Test.h"
5 
6 #include "EMM_Grid3D.h"
7 
17 class EMM_Grid3DTest : public EMM_Test {
18 
20  // ATTRIBUTES
21 
22 
23 public:
24 
25 
26 protected:
27  // METHODS
28 
29  // CONSTRUCTORS
30 
33  EMM_Grid3DTest(void);
34 
35 
36 
37  // DESTRUCTORS
38 
39 
42  virtual ~EMM_Grid3DTest(void);
43 
44 
45 
46 public:
49  inline static SP::EMM_Grid3DTest New() {
50  SP::EMM_Grid3DTest p(new EMM_Grid3DTest(),EMM_Grid3DTest::Delete());
51  p->setThis(p);
52  return p;
53  };
54 
55 
56 
57 
58 
62  virtual tBoolean test(const CORE_Run& runner,const map<tString,tString>& options) const;
63 
64 
65 public:
66 
67 
68 
69 
72  tBoolean testEdges() const;
73 
76  tBoolean testContainers() const;
77 
80  tBoolean testSegment() const;
83  tBoolean testThinSheet() const;
87 
88 };
89 
90 #endif
This class is a test class for testing EMM_Grid3D classes.
Definition: EMM_Grid3DTest.h:17
tBoolean testThinSheet() const
test the grid3D routine in a thin sheet
Definition: EMM_Grid3DTest.cpp:341
This class is a Run class for Common package.
Definition: CORE_Run.h:38
virtual ~EMM_Grid3DTest(void)
destroy
Definition: EMM_Grid3DTest.cpp:12
DEFINE_SPTR(EMM_Grid3DTest)
#define tBoolean
Definition: types.h:139
This class is a test class for E-MicromM package.
Definition: EMM_Test.h:25
virtual tBoolean test(const CORE_Run &runner, const map< tString, tString > &options) const
make the test
Definition: EMM_Grid3DTest.cpp:16
tBoolean testContainers() const
test the grid3D elements containers
Definition: EMM_Grid3DTest.cpp:72
tBoolean testEdges() const
test the grid3D edges
Definition: EMM_Grid3DTest.cpp:558
EMM_Grid3DTest(void)
create
Definition: EMM_Grid3DTest.cpp:9
static SP::EMM_Grid3DTest New()
create a test class
Definition: EMM_Grid3DTest.h:49
SP_OBJECT(EMM_Grid3DTest)
tBoolean testSegment() const
test the grid3D routine in a segment
Definition: EMM_Grid3DTest.cpp:189
tBoolean cellDataPointDataTest() const
test the cell data from/to point data for field
Definition: EMM_Grid3DTest.cpp:496
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141