Changeset 952298
- Timestamp:
- May 11, 2012, 7:45:28 PM (13 years ago)
- Children:
- 36d56c
- Parents:
- e271f0
- Location:
- src
- Files:
-
- 4 added
- 2 edited
-
Makefile.am (modified) (1 diff)
-
smoother/gsrb_poisson_2.cpp (added)
-
smoother/gsrb_poisson_2.hpp (added)
-
smoother/gsrb_poisson_4.cpp (added)
-
smoother/gsrb_poisson_4.hpp (added)
-
units/particle/interface_fcs.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
re271f0 r952298 117 117 smoother/gsrb.cpp \ 118 118 smoother/gsrb.hpp \ 119 smoother/gsrb_poisson_2.cpp \ 120 smoother/gsrb_poisson_2.hpp \ 121 smoother/gsrb_poisson_4.cpp \ 122 smoother/gsrb_poisson_4.hpp \ 119 123 smoother/jacobi.cpp \ 120 124 smoother/jacobi.hpp \ -
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.
