Class documentation of Concepts

Loading...
Searching...
No Matches
domainDecompTest.hh
Go to the documentation of this file.
1
8#ifndef DDtest_hh
9#define DDtest_hh
10
11#include "basics/testcase.hh"
12#include "basics/typedefs.hh"
14
15using concepts::Real;
16
17namespace hp2D {
18 class Space;
19}
20
21namespace test {
22
23 // *********************************************************** DomainDecomp **
24
29 class DomainDecomp : public TestCase {
30 public:
38 DomainDecomp(uint g = 0, bool m = false, bool i = false, bool d = false);
39 virtual ~DomainDecomp() {}
40 virtual void run();
41
43
44
47 void testCG();
52
55 concepts::SolverFabric<Real>& fabricB, bool explSchur);
57 private:
59 bool i_, d_;
63 hp2D::hpFull prebuild_;
67 std::unique_ptr<concepts::DomainDecomp<hp2D::hpAdaptiveSpaceH1> > spc_;
71 std::unique_ptr<concepts::Vector<Real> > rhs_;
72 };
73
74} // namespace test
75
76#endif // DDtest_hh
DomainDecomp(uint g=0, bool m=false, bool i=false, bool d=false)
virtual void run()
Runs the tests. Must be overwritten by the specialization.
void solve(concepts::SolverFabric< Real > &fabricI, concepts::SolverFabric< Real > &fabricB, bool explSchur)
Solve one system and compares with solution of direct inversionxb.
double Real
Definition typedefs.hh:39