@@ -52,23 +52,23 @@ int main() {
5252 Decomposition decomp4 = make_decomposition (world, 3 , 4 );
5353
5454 std::cout << decomp1 << std::endl;
55- const std::array<int , 3 > &inbox_size1 = decomp1. get_inbox_size ();
56- const std::array<int , 3 > &inbox_offset1 = decomp1. get_inbox_offset ();
55+ const std::array<int , 3 > &inbox_size1 = get_inbox_size (decomp1 );
56+ const std::array<int , 3 > &inbox_offset1 = get_inbox_offset (decomp1 );
5757 DiscreteField<double , 3 > field1 (inbox_size1, inbox_offset1, get_origin (world),
5858 get_spacing (world));
5959
60- const std::array<int , 3 > &inbox_size2 = decomp2. get_inbox_size ();
61- const std::array<int , 3 > &inbox_offset2 = decomp2. get_inbox_offset ();
60+ const std::array<int , 3 > &inbox_size2 = get_inbox_size (decomp2 );
61+ const std::array<int , 3 > &inbox_offset2 = get_inbox_offset (decomp2 );
6262 DiscreteField<double , 3 > field2 (inbox_size2, inbox_offset2, get_origin (world),
6363 get_spacing (world));
6464
65- const std::array<int , 3 > &inbox_size3 = decomp3. get_inbox_size ();
66- const std::array<int , 3 > &inbox_offset3 = decomp3. get_inbox_offset ();
65+ const std::array<int , 3 > &inbox_size3 = get_inbox_size (decomp3 );
66+ const std::array<int , 3 > &inbox_offset3 = get_inbox_offset (decomp3 );
6767 DiscreteField<double , 3 > field3 (inbox_size3, inbox_offset3, get_origin (world),
6868 get_spacing (world));
6969
70- const std::array<int , 3 > &inbox_size4 = decomp4. get_inbox_size ();
71- const std::array<int , 3 > &inbox_offset4 = decomp4. get_inbox_offset ();
70+ const std::array<int , 3 > &inbox_size4 = get_inbox_size (decomp4 );
71+ const std::array<int , 3 > &inbox_offset4 = get_inbox_offset (decomp4 );
7272 DiscreteField<double , 3 > field4 (inbox_size4, inbox_offset4, get_origin (world),
7373 get_spacing (world));
7474 std::cout << field1 << std::endl;
0 commit comments