Ignore:
Timestamp:
Apr 9, 2013, 9:45:13 AM (13 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
0bd47e
Parents:
4a709e
Message:

Work.

File:
1 edited

Legend:

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

    r4a709e re85cfd  
    6363
    6464#include "cycles/cycle_cs_periodic_debug.hpp"
    65 
     65//TODO: Remove Debug
    6666
    6767using namespace VMG;
     
    112112                          periodic[2] ? Periodic : Open);
    113113
    114   const bool singular = periodic[0] * periodic[1] * periodic[2];
     114  const bool singular = boundary[0] == Periodic &&
     115                        boundary[1] == Periodic &&
     116                        boundary[2] == Periodic;
    115117
    116118  /*
     
    121123    new Particle::CommMPI(boundary, new DomainDecompositionMPI(), mpi_comm);
    122124    new DiscretizationPoissonFD(discretization_order);
    123     new InterfaceParticles(boundary, 2, level, Vector(box_offset), box_size, near_field_cells, 0, 1.0);
     125    new InterfaceParticles(boundary, 2, level, Vector(box_offset), box_size, near_field_cells);
    124126    new LevelOperatorCS(Stencils::RestrictionFullWeight, Stencils::InterpolationTrilinear);
    125127    new Givens<SolverSingular>();
    126     new CycleCSPeriodicDebug(cycle_type);
     128    new CycleCSPeriodic(cycle_type);
    127129
    128130  }else {
     
    130132    new Particle::CommMPI(boundary, new DomainDecompositionMPI(), mpi_comm);
    131133    new DiscretizationPoissonFV(discretization_order);
    132     new InterfaceParticles(boundary, 2, level, Vector(box_offset), box_size, near_field_cells, 2, 1.6);
     134    new InterfaceParticles(boundary, 2, level, Vector(box_offset), box_size, near_field_cells, 9, 1.6);
    133135    new LevelOperatorFAS(Stencils::RestrictionFullWeight, Stencils::Injection, Stencils::InterpolationTrilinear);
    134136    new Givens<SolverRegular>();
Note: See TracChangeset for help on using the changeset viewer.