Changeset b57b9b for test/unit_test/unit_test/smoother_test.cpp
- Timestamp:
- Sep 20, 2012, 1:54:01 PM (13 years ago)
- Children:
- c3acbb
- Parents:
- 2d3854
- File:
-
- 1 edited
-
test/unit_test/unit_test/smoother_test.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
test/unit_test/unit_test/smoother_test.cpp
r2d3854 rb57b9b 47 47 SmootherFixture() 48 48 { 49 Boundary boundary(Dirichlet, Dirichlet, Dirichlet);49 const Boundary boundary(Dirichlet, Dirichlet, Dirichlet); 50 50 51 Comm* comm = new CommSerial(boundary); 52 comm->Register("COMM"); 53 54 Discretization* discretization = new DiscretizationPoissonFD(2); 55 discretization->Register("DISCRETIZATION"); 56 57 Interface* interface = new VMGInterfaces::InterfaceSinus(2.0*Math::pi, boundary, 4, 4, 0.0, 1.0); 58 interface->Register("INTERFACE"); 51 new CommSerial(boundary); 52 new DiscretizationPoissonFD(2); 53 new VMGInterfaces::InterfaceSinus(2.0*Math::pi, boundary, 4, 4, 0.0, 1.0); 59 54 60 55 MG::PostInit(); 61 56 62 interface->ImportRightHandSide(*MG::GetRhs());57 MG::GetInterface()->ImportRightHandSide(*MG::GetRhs()); 63 58 64 gs = new GaussSeidel( );65 gsrb = new GaussSeidelRB( );59 gs = new GaussSeidel(false); 60 gsrb = new GaussSeidelRB(false); 66 61 } 67 62
Note:
See TracChangeset
for help on using the changeset viewer.
