Changeset 4a709e for src


Ignore:
Timestamp:
Apr 5, 2013, 12:45:32 PM (13 years ago)
Author:
Julian Iseringhausen <julian.iseringhausen@…>
Children:
e85cfd
Parents:
8180d8
Message:

Fixed merging errors.

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/grid/grid_iterator_suite.cpp

    r8180d8 r4a709e  
    3838{
    3939  local.SetBounds(local_.Begin(), local_.End());
    40   local_finer.SetBounds(local_.FinerBegin(), local_.FinerEnd());
    4140  complete_grid.SetBounds(0, local_.SizeTotal());
    4241  inner_local_grid.SetBounds(local_.Begin()+local_.HaloSize1(), local_.End()-local_.HaloSize2());
  • src/grid/grid_iterator_suite.hpp

    r8180d8 r4a709e  
    5252  GridIteratorSuite(const GridIteratorSuite& other) :
    5353    local(other.local),
    54     local_finer(other.local_finer),
    5554    complete_grid(other.complete_grid),
    5655    inner_local_grid(other.inner_local_grid),
     
    6968
    7069  const GridIteratorSet& Local() const {return local;}
    71   const GridIteratorSet& LocalFiner() const {return local_finer;}
    7270  const GridIteratorSet& CompleteGrid() const {return complete_grid;}
    7371  const GridIteratorSet& InnerLocalGrid() const {return inner_local_grid;}
     
    8482private:
    8583  GridIteratorSet local;
    86   GridIteratorSet local_finer;
    8784  GridIteratorSet complete_grid;
    8885  GridIteratorSet inner_local_grid;
  • src/level/level_operator_fas.cpp

    r8180d8 r4a709e  
    5959  Grid& sol_c_undist = comm.GetCoarserGrid(sol);
    6060  Grid& rhs_c_undist = comm.GetCoarserGrid(rhs);
    61 
    62   Index begin_c = rhs_c_undist.Local().FinerBegin();
    63   Index end_c = rhs_c_undist.Local().FinerEnd();
    64 
    65   Index begin_f = rhs_f.Local().Begin();
    66   Index end_f = rhs_f.Local().End();
    67 
    68   if (rhs_c_undist.Global().BoundaryType() == GlobalCoarsened) {
    69     begin_c += rhs_c_undist.Local().BoundarySize1();
    70     end_c -= rhs_c_undist.Local().BoundarySize2();
    71     begin_f += rhs_f.Local().BoundarySize1();
    72     end_f -= rhs_f.Local().BoundarySize2();
    73   }
    7461
    7562  GridIteratorSet bounds_c, bounds_f;
     
    135122  Grid& rhs_f_dist = rhs(rhs.Level()+1);
    136123  Grid& sol_f_undist = comm.GetFinerGrid(sol);
    137   Grid& rhs_f_undist = comm.GetFinerGrid(rhs);
    138124
    139125  const Stencil& op = OperatorProlongate();
    140126
    141127  TempGrid *sol_old = this->GetTempGrid(sol_c.Level());
    142 
    143   Index begin_c = sol_c.Local().FinerBegin();
    144   Index end_c = sol_c.Local().FinerEnd();
    145 
    146   Index begin_f = sol_f_undist.Local().Begin();
    147   Index end_f = sol_f_undist.Local().End();
    148 
    149   if (sol_c.Global().BoundaryType() == GlobalCoarsened) {
    150     begin_c += sol_c.Local().BoundarySize1();
    151     end_c -= sol_c.Local().BoundarySize2();
    152     begin_f += sol_f_undist.Local().BoundarySize1();
    153     end_f -= sol_f_undist.Local().BoundarySize2();
    154   }
    155128
    156129  GridIteratorSet bounds_c, bounds_f;
Note: See TracChangeset for help on using the changeset viewer.