Changeset 952298 for src/units/particle/interface_fcs.cpp
- Timestamp:
- May 11, 2012, 7:45:28 PM (13 years ago)
- Children:
- 36d56c
- Parents:
- e271f0
- File:
-
- 1 edited
-
src/units/particle/interface_fcs.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/units/particle/interface_fcs.cpp
re271f0 r952298 52 52 #include "samples/discretization_poisson_fv.hpp" 53 53 #include "samples/techniques.hpp" 54 #include "smoother/gsrb.hpp" 54 #include "smoother/gsrb_poisson_2.hpp" 55 #include "smoother/gsrb_poisson_4.hpp" 55 56 #ifdef HAVE_LAPACK 56 57 #include "solver/dgesv.hpp" … … 158 159 * Use Gauss-Seidel Red-Black ordering 159 160 */ 160 Smoother* smoother = new GaussSeidelRB(); 161 smoother->Register("SMOOTHER"); 161 if (discretization_order == 2) { 162 Smoother* smoother = new GaussSeidelRBPoisson2(); 163 smoother->Register("SMOOTHER"); 164 }else { 165 Smoother* smoother = new GaussSeidelRBPoisson4(); 166 smoother->Register("SMOOTHER"); 167 } 162 168 163 169 /*
Note:
See TracChangeset
for help on using the changeset viewer.
