Commit 2db66e49 authored by Tim Mattox's avatar Tim Mattox
Browse files

USER-DPD: make pair_dpd_fdt* check more generically for use of fix_shardlow

Allows easier experimentation of alternative shardlow implementations.
parent e76cad35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ void PairDPDfdt::init_style()
  splitFDT_flag = false;
  int irequest = neighbor->request(this,instance_me);
  for (int i = 0; i < modify->nfix; i++)
    if (strcmp(modify->fix[i]->style,"shardlow") == 0){
    if (strncmp(modify->fix[i]->style,"shardlow", 8) == 0){
      splitFDT_flag = true;
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -414,7 +414,7 @@ void PairDPDfdtEnergy::init_style()
  splitFDT_flag = false;
  int irequest = neighbor->request(this,instance_me);
  for (int i = 0; i < modify->nfix; i++)
    if (strcmp(modify->fix[i]->style,"shardlow") == 0){
    if (strncmp(modify->fix[i]->style,"shardlow", 8) == 0){
      splitFDT_flag = true;
    }