Changeset da7c98
- Timestamp:
- Apr 20, 2013, 4:15:44 PM (13 years ago)
- Children:
- 252f5c
- Parents:
- 881e4b
- File:
-
- 1 edited
-
src/discretization/discretization_poisson_fv.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/discretization/discretization_poisson_fv.cpp
r881e4b rda7c98 106 106 const Boundary& bc = comm.BoundaryConditions(); 107 107 const Index off((GridIndexTranslations::LocalToGlobal(sol_f, sol_f.Local().Begin())[0] % 2 == 0 ? 0 : 1), 108 (GridIndexTranslations::LocalToGlobal(sol_f, sol_f.Local().Begin())[1] % 2 == 0 ? 0 : 1),109 (GridIndexTranslations::LocalToGlobal(sol_f, sol_f.Local().Begin())[2] % 2 == 0 ? 0 : 1));108 (GridIndexTranslations::LocalToGlobal(sol_f, sol_f.Local().Begin())[1] % 2 == 0 ? 0 : 1), 109 (GridIndexTranslations::LocalToGlobal(sol_f, sol_f.Local().Begin())[2] % 2 == 0 ? 0 : 1)); 110 110 111 111 const Index begin_f = sol_f.Local().Begin() - off; … … 114 114 const Index begin_c = GridIndexTranslations::GlobalFinestToLocal(sol_c, GridIndexTranslations::LocalToGlobalFinest(sol_f, begin_f)); 115 115 116 const Index b1_finest = GridIndexTranslations::LocalToGlobalFinest(sol_f, sol_f.Local().Begin());117 const Index b2_finest = GridIndexTranslations::LocalToGlobalFinest(sol_f, sol_f.Local().End()-1);118 119 116 const Index b1_f = sol_f.Local().BoundaryBegin1(); 120 117 const Index b2_f = sol_f.Local().BoundaryBegin2(); 118 119 const Index b1_finest = GridIndexTranslations::LocalToGlobalFinest(sol_f, sol_f.Local().Begin() + off); 120 const Index b2_finest = GridIndexTranslations::LocalToGlobalFinest(sol_f, sol_f.Local().End()-1); 121 121 122 122 const Index b1_c = GridIndexTranslations::GlobalFinestToLocal(sol_c, b1_finest) - 1;
Note:
See TracChangeset
for help on using the changeset viewer.
