Changeset 8180d8 for test/unit_test
- Timestamp:
- Apr 5, 2013, 12:39:30 PM (13 years ago)
- Children:
- 4a709e
- Parents:
- f57182
- File:
-
- 1 edited
-
test/unit_test/unit_test/interpolate_test.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
test/unit_test/unit_test/interpolate_test.cpp
rf57182 r8180d8 43 43 } 44 44 45 /* 45 46 static inline Vector grad_f(const Vector& pos) 46 47 { … … 49 50 std::sin(sine_factor*pos.X()) * std::sin(sine_factor*pos.Y()) * std::cos(sine_factor*pos.Z())); 50 51 } 52 */ 51 53 52 54 struct InterpolateFixture … … 91 93 const Vector pos_begin = grid->Extent().Begin() 92 94 + (i - grid->Local().Begin() + grid->Global().LocalBegin()) * grid->Extent().MeshWidth(); 93 const Vector pos_end = pos_begin + grid->Extent().MeshWidth();94 95 95 96 p.Pos() = pos_begin;
Note:
See TracChangeset
for help on using the changeset viewer.
