include formatting updates for the KOKKOS files as well

This commit is contained in:
Axel Kohlmeyer
2021-09-14 16:23:48 -04:00
parent 86578554bb
commit 254dcdf665
2 changed files with 21 additions and 18 deletions

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
@ -16,23 +17,25 @@
------------------------------------------------------------------------- */
#include "fix_acks2_reaxff_kokkos.h"
#include <cmath>
#include "kokkos.h"
#include "atom.h"
#include "atom_masks.h"
#include "atom_kokkos.h"
#include "atom_masks.h"
#include "comm.h"
#include "error.h"
#include "force.h"
#include "neighbor.h"
#include "integrate.h"
#include "kokkos.h"
#include "memory_kokkos.h"
#include "neigh_list_kokkos.h"
#include "neigh_request.h"
#include "update.h"
#include "integrate.h"
#include "memory_kokkos.h"
#include "error.h"
#include "neighbor.h"
#include "pair_reaxff_kokkos.h"
#include "update.h"
using namespace LAMMPS_NS;
#include <cmath>
sing namespace LAMMPS_NS;
using namespace FixConst;
#define SMALL 0.0001

View File

@ -12,16 +12,16 @@
------------------------------------------------------------------------- */
#ifdef FIX_CLASS
FixStyle(acks2/reaxff/kk,FixACKS2ReaxFFKokkos<LMPDeviceType>)
FixStyle(acks2/reaxff/kk/device,FixACKS2ReaxFFKokkos<LMPDeviceType>)
FixStyle(acks2/reaxff/kk/host,FixACKS2ReaxFFKokkos<LMPHostType>)
FixStyle(acks2/reax/kk,FixACKS2ReaxFFKokkos<LMPDeviceType>)
FixStyle(acks2/reax/kk/device,FixACKS2ReaxFFKokkos<LMPDeviceType>)
FixStyle(acks2/reax/kk/host,FixACKS2ReaxFFKokkos<LMPHostType>)
// clang-format off
FixStyle(acks2/reaxff/kk,FixACKS2ReaxFFKokkos<LMPDeviceType>);
FixStyle(acks2/reaxff/kk/device,FixACKS2ReaxFFKokkos<LMPDeviceType>);
FixStyle(acks2/reaxff/kk/host,FixACKS2ReaxFFKokkos<LMPHostType>);
FixStyle(acks2/reax/kk,FixACKS2ReaxFFKokkos<LMPDeviceType>);
FixStyle(acks2/reax/kk/device,FixACKS2ReaxFFKokkos<LMPDeviceType>);
FixStyle(acks2/reax/kk/host,FixACKS2ReaxFFKokkos<LMPHostType>);
// clang-format on
#else
// clang-format off
#ifndef LMP_FIX_ACKS2_REAXFF_KOKKOS_H
#define LMP_FIX_ACKS2_REAXFF_KOKKOS_H