1 /* ---------------------------------------------------------------------- 2 SPARTA - Stochastic PArallel Rarefied-gas Time-accurate Analyzer 3 http://sparta.sandia.gov 4 Steve Plimpton, sjplimp@sandia.gov 5 Michael Gallis, magalli@sandia.gov 6 Sandia National Laboratories 7 8 Copyright (2014) Sandia Corporation. Under the terms of Contract 9 DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains 10 certain rights in this software. This software is distributed under 11 the GNU General Public License. 12 13 See the README file in the top-level SPARTA directory. 14 ------------------------------------------------------------------------- */ 15 16 #ifndef SPARTA_SURF_KOKKOS_H 17 #define SPARTA_SURF_KOKKOS_H 18 19 #include "stdio.h" 20 #include "surf.h" 21 #include "kokkos_type.h" 22 23 namespace SPARTA_NS { 24 25 class SurfKokkos : public Surf { 26 public: 27 SurfKokkos(class SPARTA *); 28 ~SurfKokkos(); 29 void wrap_kokkos(); 30 void sync(ExecutionSpace, unsigned int); 31 void modify(ExecutionSpace, unsigned int); 32 void grow(int); 33 void grow_own(int); 34 35 tdual_line_1d k_lines; 36 tdual_tri_1d k_tris; 37 38 tdual_line_1d k_mylines; 39 tdual_tri_1d k_mytris; 40 41 private: 42 43 }; 44 45 } 46 47 #endif 48 49 /* ERROR/WARNING messages: 50 51 */ 52