Skip to content

Commit 0df008c

Browse files
committed
replace tabs with spaces
1 parent d6c8049 commit 0df008c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1497
-1497
lines changed

libmpdata++/bcond/cyclic_1d.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ namespace libmpdataxx
2828

2929
void fill_halos_sclr(arr_t &a, const bool deriv = false)
3030
{
31-
a(this->left_halo_sclr) = a(this->rght_intr_sclr);
31+
a(this->left_halo_sclr) = a(this->rght_intr_sclr);
3232
}
3333

3434
void fill_halos_vctr_alng(arrvec_t<arr_t> &av, const bool ad = false)
3535
{
36-
av[0](this->left_halo_vctr) = av[0](this->rght_intr_vctr);
36+
av[0](this->left_halo_vctr) = av[0](this->rght_intr_vctr);
3737
}
3838

3939
void fill_halos_vctr_alng_cyclic(arrvec_t<arr_t> &av, const bool ad = false)
@@ -59,12 +59,12 @@ namespace libmpdataxx
5959

6060
void fill_halos_sclr(arr_t &a, const bool deriv = false)
6161
{
62-
a(this->rght_halo_sclr) = a(this->left_intr_sclr);
62+
a(this->rght_halo_sclr) = a(this->left_intr_sclr);
6363
}
6464

6565
void fill_halos_vctr_alng(arrvec_t<arr_t> &av, const bool ad = false)
6666
{
67-
av[0](this->rght_halo_vctr) = av[0](this->left_intr_vctr);
67+
av[0](this->rght_halo_vctr) = av[0](this->left_intr_vctr);
6868
}
6969

7070
void fill_halos_vctr_alng_cyclic(arrvec_t<arr_t> &av, const bool ad = false)

libmpdata++/bcond/cyclic_2d.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ namespace libmpdataxx
2828

2929
void fill_halos_sclr(arr_t &a, const rng_t &j, const bool deriv = false)
3030
{
31-
using namespace idxperm;
32-
a(pi<d>(this->left_halo_sclr, j)) = a(pi<d>(this->rght_intr_sclr, j));
31+
using namespace idxperm;
32+
a(pi<d>(this->left_halo_sclr, j)) = a(pi<d>(this->rght_intr_sclr, j));
3333
}
3434

3535
void fill_halos_pres(arr_t &a, const rng_t &j)
@@ -43,7 +43,7 @@ namespace libmpdataxx
4343

4444
void fill_halos_vctr_alng(arrvec_t<arr_t> &av, const rng_t &j, const bool ad = false)
4545
{
46-
using namespace idxperm;
46+
using namespace idxperm;
4747
av[d](pi<d>(this->left_halo_vctr, j)) = av[d](pi<d>(this->rght_intr_vctr, j));
4848
}
4949

@@ -54,7 +54,7 @@ namespace libmpdataxx
5454

5555
void fill_halos_sgs_vctr(arrvec_t<arr_t> &av, const arr_t &, const rng_t &j, const int offset = 0)
5656
{
57-
using namespace idxperm;
57+
using namespace idxperm;
5858
// the same logic as fill_halos_vctr_alng but have to consider offset ... TODO: find a way to reuse !
5959
av[d + offset](pi<d>(this->left_halo_vctr, j)) = av[d + offset](pi<d>(this->rght_intr_vctr, j));
6060
}
@@ -97,8 +97,8 @@ namespace libmpdataxx
9797

9898
void fill_halos_sclr(arr_t &a, const rng_t &j, const bool deriv = false)
9999
{
100-
using namespace idxperm;
101-
a(pi<d>(this->rght_halo_sclr, j)) = a(pi<d>(this->left_intr_sclr, j));
100+
using namespace idxperm;
101+
a(pi<d>(this->rght_halo_sclr, j)) = a(pi<d>(this->left_intr_sclr, j));
102102
}
103103

104104
void fill_halos_pres(arr_t &a, const rng_t &j)
@@ -112,7 +112,7 @@ namespace libmpdataxx
112112

113113
void fill_halos_vctr_alng(arrvec_t<arr_t> &av, const rng_t &j, const bool ad = false)
114114
{
115-
using namespace idxperm;
115+
using namespace idxperm;
116116
av[d](pi<d>(this->rght_halo_vctr, j)) = av[d](pi<d>(this->left_intr_vctr, j));
117117
}
118118

@@ -123,7 +123,7 @@ namespace libmpdataxx
123123

124124
void fill_halos_sgs_vctr(arrvec_t<arr_t> &av, const arr_t &, const rng_t &j, const int offset = 0)
125125
{
126-
using namespace idxperm;
126+
using namespace idxperm;
127127
// the same logic as fill_halos_vctr_alng but have to consider offset ... TODO: find a way to reuse !
128128
av[d + offset](pi<d>(this->rght_halo_vctr, j)) = av[d + offset](pi<d>(this->left_intr_vctr, j));
129129
}

libmpdata++/bcond/cyclic_3d.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ namespace libmpdataxx
2828

2929
void fill_halos_sclr(arr_t &a, const rng_t &j, const rng_t &k, const bool deriv = false)
3030
{
31-
using namespace idxperm;
32-
a(pi<d>(this->left_halo_sclr, j, k)) = a(pi<d>(this->rght_intr_sclr, j, k));
31+
using namespace idxperm;
32+
a(pi<d>(this->left_halo_sclr, j, k)) = a(pi<d>(this->rght_intr_sclr, j, k));
3333
}
3434

3535
void fill_halos_pres(arr_t &a, const rng_t &j, const rng_t &k)
@@ -43,7 +43,7 @@ namespace libmpdataxx
4343

4444
void fill_halos_vctr_alng(arrvec_t<arr_t> &av, const rng_t &j, const rng_t &k, const bool ad = false)
4545
{
46-
using namespace idxperm;
46+
using namespace idxperm;
4747
av[d](pi<d>(this->left_halo_vctr, j, k)) = av[d](pi<d>(this->rght_intr_vctr, j, k));
4848
}
4949

@@ -54,7 +54,7 @@ namespace libmpdataxx
5454

5555
void fill_halos_sgs_vctr(arrvec_t<arr_t> &av, const arr_t &, const rng_t &j, const rng_t &k, const int offset = 0)
5656
{
57-
using namespace idxperm;
57+
using namespace idxperm;
5858
// the same logic as fill_halos_vctr_alng but have to consider offset ... TODO: find a way to reuse !
5959
av[d + offset](pi<d>(this->left_halo_vctr, j, k)) = av[d + offset](pi<d>(this->rght_intr_vctr, j, k));
6060
}
@@ -97,8 +97,8 @@ namespace libmpdataxx
9797

9898
void fill_halos_sclr(arr_t &a, const rng_t &j, const rng_t &k, const bool deriv = false)
9999
{
100-
using namespace idxperm;
101-
a(pi<d>(this->rght_halo_sclr, j, k)) = a(pi<d>(this->left_intr_sclr, j, k));
100+
using namespace idxperm;
101+
a(pi<d>(this->rght_halo_sclr, j, k)) = a(pi<d>(this->left_intr_sclr, j, k));
102102
}
103103

104104
void fill_halos_pres(arr_t &a, const rng_t &j, const rng_t &k)
@@ -112,7 +112,7 @@ namespace libmpdataxx
112112

113113
void fill_halos_vctr_alng(arrvec_t<arr_t> &av, const rng_t &j, const rng_t &k, const bool ad = false)
114114
{
115-
using namespace idxperm;
115+
using namespace idxperm;
116116
av[d](pi<d>(this->rght_halo_vctr, j, k)) = av[d](pi<d>(this->left_intr_vctr, j, k));
117117
}
118118

@@ -123,7 +123,7 @@ namespace libmpdataxx
123123

124124
void fill_halos_sgs_vctr(arrvec_t<arr_t> &av, const arr_t &, const rng_t &j, const rng_t &k, const int offset = 0)
125125
{
126-
using namespace idxperm;
126+
using namespace idxperm;
127127
// the same logic as fill_halos_vctr_alng but have to consider offset ... TODO: find a way to reuse !
128128
av[d + offset](pi<d>(this->rght_halo_vctr, j, k)) = av[d + offset](pi<d>(this->left_intr_vctr, j, k));
129129
}

0 commit comments

Comments
 (0)