Skip to content

Commit

Permalink
removed io and improved theta readablity
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestonH2O committed Feb 14, 2024
1 parent 4ad50aa commit 426302f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/KokkosController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "MeshField_Utility.hpp"
#include "MeshField_Macros.hpp"

#include <iostream>

namespace Controller {

Expand Down Expand Up @@ -131,9 +130,9 @@ class KokkosController {

// Places all of the dyanmic ranks into the extent_sizes
for( int i = 0; i < dynamic; i++ ) {
this->extent_sizes[num_types - theta - 1][i] = dims[i];
this->extent_sizes[theta][i] = dims[i];
}
this->theta-=1;
this->theta+=1;
dims.erase( dims.begin(), dims.begin()+dynamic );
return rt;
}
Expand Down Expand Up @@ -184,7 +183,7 @@ class KokkosController {
// member vaiables
const int num_types = sizeof...(Ts);
unsigned short delta = 0;
unsigned short theta = num_types-1;
unsigned short theta = 0;
int extent_sizes[sizeof...(Ts)][5];
std::tuple<Kokkos::View<Ts,MemorySpace>...> values_;

Expand Down

0 comments on commit 426302f

Please sign in to comment.