diff --git a/doc/src/Commands_pair.rst b/doc/src/Commands_pair.rst index 514785c15c..4a6b6302db 100644 --- a/doc/src/Commands_pair.rst +++ b/doc/src/Commands_pair.rst @@ -246,7 +246,7 @@ OPT. * :doc:`pace (k) ` * :doc:`pace/extrapolation (k) ` * :doc:`pedone (o) ` - * :doc:`pod ` + * :doc:`pod (k) ` * :doc:`peri/eps ` * :doc:`peri/lps (o) ` * :doc:`peri/pmb (o) ` diff --git a/src/.gitignore b/src/.gitignore index b145f81159..d9bdcd1358 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -109,6 +109,8 @@ /pair_pod.cpp /pair_pod.h +/eapod.cpp +/eapod.h /fitpod_command.cpp /fitpod_command.h /mlpod.cpp @@ -236,6 +238,14 @@ /compute_grid.h /compute_grid_local.cpp /compute_grid_local.h +/compute_pod_atom.cpp +/compute_pod_atom.h +/compute_pod_global.cpp +/compute_pod_global.h +/compute_pod_local.cpp +/compute_pod_local.h +/compute_podd_atom.cpp +/compute_podd_atom.h /compute_sna_atom.cpp /compute_sna_atom.h /compute_snad_atom.cpp diff --git a/src/Depend.sh b/src/Depend.sh index 3df1347e67..229c466cff 100755 --- a/src/Depend.sh +++ b/src/Depend.sh @@ -184,6 +184,10 @@ if (test $1 = "ML-PACE") then depend KOKKOS fi +if (test $1 = "ML-POD") then + depend KOKKOS +fi + if (test $1 = "ML-SNAP") then depend ML-IAP depend KOKKOS diff --git a/src/KOKKOS/Install.sh b/src/KOKKOS/Install.sh index 75949c35d8..8149648f90 100755 --- a/src/KOKKOS/Install.sh +++ b/src/KOKKOS/Install.sh @@ -356,6 +356,8 @@ action pair_multi_lucy_rx_kokkos.cpp pair_multi_lucy_rx.cpp action pair_multi_lucy_rx_kokkos.h pair_multi_lucy_rx.h action pair_pace_extrapolation_kokkos.cpp pair_pace_extrapolation.cpp action pair_pace_extrapolation_kokkos.h pair_pace_extrapolation.h +action pair_pod_kokkos.cpp pair_pod.cpp +action pair_pod_kokkos.h pair_pod.h action pair_pace_kokkos.cpp pair_pace.cpp action pair_pace_kokkos.h pair_pace.h action pair_reaxff_kokkos.cpp pair_reaxff.cpp diff --git a/src/KOKKOS/pair_pod_kokkos.cpp b/src/KOKKOS/pair_pod_kokkos.cpp index d9383ec22a..b511709388 100644 --- a/src/KOKKOS/pair_pod_kokkos.cpp +++ b/src/KOKKOS/pair_pod_kokkos.cpp @@ -229,7 +229,6 @@ void PairPODKokkos::compute(int eflag_in, int vflag_in) x = atomKK->k_x.view(); f = atomKK->k_f.view(); type = atomKK->k_type.view(); - //k_cutsq.template sync(); maxneigh = 0; if (host_flag) { diff --git a/src/KOKKOS/pair_pod_kokkos.h b/src/KOKKOS/pair_pod_kokkos.h index 8fc8e219eb..d7b1bb9427 100644 --- a/src/KOKKOS/pair_pod_kokkos.h +++ b/src/KOKKOS/pair_pod_kokkos.h @@ -44,7 +44,6 @@ class PairPODKokkos : public PairPOD { void init_style() override; double init_one(int, int) override; - //protected: int inum, maxneigh; int host_flag; @@ -54,8 +53,6 @@ class PairPODKokkos : public PairPOD { typename AT::t_neighbors_2d d_neighbors; typename AT::t_int_1d d_ilist; typename AT::t_int_1d d_numneigh; -// typename AT::t_int_1d_randomread d_ilist; -// typename AT::t_int_1d_randomread d_numneigh; DAT::tdual_efloat_1d k_eatom; DAT::tdual_virial_array k_vatom; diff --git a/src/ML-POD/pair_pod.cpp b/src/ML-POD/pair_pod.cpp index be72c5ec5b..3331302692 100644 --- a/src/ML-POD/pair_pod.cpp +++ b/src/ML-POD/pair_pod.cpp @@ -2228,4 +2228,3 @@ void PairPOD::savedatafordebugging() savematrix2binfile("podei.bin", ei, ni, 1); error->all(FLERR, "Save data and stop the run for debugging"); } -