Changeset 032852 for test


Ignore:
Timestamp:
Apr 19, 2013, 8:44:25 PM (13 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
534af9
Parents:
8b2e07
Message:

Use Gaussian charge distribution interface for open boundary unit test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/unit_test/library/open_fas_mpi.cpp

    r8b2e07 r032852  
    5353#include "mg.hpp"
    5454
    55 #include "interface_sinus.hpp"
     55#include "interface_gaussian.hpp"
    5656
    5757using namespace VMG;
    58 
    59 const vmg_float sine_factor = static_cast<vmg_float>(2.0 * Math::pi);
    6058
    6159struct LibraryOpenFASMPIFixture
     
    6664
    6765    new CommMPI(boundary, new DomainDecompositionMPI());
    68     new VMGInterfaces::InterfaceSinus(sine_factor, boundary, 2, 6, 0.0, 1.0, 17, 1.6);
     66    new VMGInterfaces::InterfaceGaussian(1.0, boundary, 2, 6, 0.0, 20.0, 17, 1.6);
    6967    new DiscretizationPoissonFV(2);
    7068    new LevelOperatorFAS(Stencils::RestrictionFullWeight, Stencils::Injection, Stencils::InterpolationTrilinear);
     
    7573    new ObjectStorage<int>("PRESMOOTHSTEPS", 3);
    7674    new ObjectStorage<int>("POSTSMOOTHSTEPS", 3);
    77     new ObjectStorage<int>("MAX_ITERATION", 8);
     75    new ObjectStorage<int>("MAX_ITERATION", 12);
    7876    new ObjectStorage<vmg_float>("PRECISION", 1.0e-10);
    7977
Note: See TracChangeset for help on using the changeset viewer.