Ignore:
Timestamp:
May 11, 2012, 7:45:28 PM (13 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
36d56c
Parents:
e271f0
Message:

Improve serial performance by 10 - 20 percent by explicit loop unrolling in GSRB smoother.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1814 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/units/particle/interface_fcs.cpp

    re271f0 r952298  
    5252#include "samples/discretization_poisson_fv.hpp"
    5353#include "samples/techniques.hpp"
    54 #include "smoother/gsrb.hpp"
     54#include "smoother/gsrb_poisson_2.hpp"
     55#include "smoother/gsrb_poisson_4.hpp"
    5556#ifdef HAVE_LAPACK
    5657#include "solver/dgesv.hpp"
     
    158159   * Use Gauss-Seidel Red-Black ordering
    159160   */
    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  }
    162168
    163169  /*
Note: See TracChangeset for help on using the changeset viewer.