Hi, as I am going through pair_lj_cut_kokkos.h to see how can I adapt my in house potential to be supported by the KOKKOS package, I encounterd DAT from the following snippet of code:
DAT::tdual_efloat_1d k_eatom;
DAT::tdual_virial_array k_vatom;
I looked through all the header file included in pair_lj_cut_kokkos.h , but none of them has defined what DAT is. Do you know from which file is DAT defined? Thanks!
Hold up, I want to piggyback off of this. I see where DAT, HAT, and AT are defined at the type, but if I run into an error stating something like
"class DAT has no member "XY"
DAT::XY xy;
, where do I go to determine what member types even exist and how I can fix this error?
Searching through the LAMMPS source files in the KOKKOS folder with grep points to the src/KOKKOS/kokkos_type.h file.
That is more difficult. I would look at the changes in a similar source file that is part of the LAMMPS distribution and display the changes between the LAMMPS version your code was written for and the version that you are compiling for.