Skip to content

Commit

Permalink
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13903 f3b2605a-…
Browse files Browse the repository at this point in the history
…c512-4ea7-a41b-209d697bcdaa
  • Loading branch information
sjplimp committed Aug 19, 2015
1 parent 16eed7a commit 2f55b6d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/KSPACE/pppm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ void PPPM::compute(int eflag, int vflag)

// per-atom energy/virial
// energy includes self-energy correction
// notal accounts for TIP4P tallying eatom/vatom for ghost atoms
// ntotal accounts for TIP4P tallying eatom/vatom for ghost atoms

if (evflag_atom) {
double *q = atom->q;
Expand Down
2 changes: 1 addition & 1 deletion src/KSPACE/pppm_stagger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ void PPPMStagger::compute(int eflag, int vflag)

// per-atom energy/virial
// energy includes self-energy correction
// notal accounts for TIP4P tallying eatom/vatom for ghost atoms
// ntotal accounts for TIP4P tallying eatom/vatom for ghost atoms

if (evflag_atom) {
double *q = atom->q;
Expand Down
2 changes: 1 addition & 1 deletion src/MPIIO/dump_atom_mpiio.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DumpStyle(atom/mpiio,DumpAtomMPIIO)
#else

#ifndef LMP_DUMP_ATOM_MPIIO_H
#define LMP_DUMP_ATOM_MPII0_H
#define LMP_DUMP_ATOM_MPIIO_H

#include "dump_atom.h"
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion src/MPIIO/dump_custom_mpiio.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DumpStyle(custom/mpiio,DumpCustomMPIIO)
#else

#ifndef LMP_DUMP_CUSTOM_MPIIO_H
#define LMP_DUMP_CUSTOM_MPII0_H
#define LMP_DUMP_CUSTOM_MPIIO_H

#include "dump_custom.h"

Expand Down
2 changes: 1 addition & 1 deletion src/MPIIO/dump_xyz_mpiio.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DumpStyle(xyz/mpiio,DumpXYZMPIIO)
#else

#ifndef LMP_DUMP_XYZ_MPIIO_H
#define LMP_DUMP_XYZ_MPII0_H
#define LMP_DUMP_XYZ_MPIIO_H

#include "dump_xyz.h"

Expand Down
4 changes: 2 additions & 2 deletions src/Make.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def switch2str(switches,switch_order):
# NOTE: unrecognized -override-limits can leave verride-limits file

def compile_check(compiler,ccflags,warn):
open("tmpauto.cpp",'w').write("int main(int, char **) {}")
open("tmpauto.cpp",'w').write("int main(int, char **) {}\n")
str = "%s %s -c tmpauto.cpp" % (compiler,ccflags)
txt = commands.getoutput(str)
flag = 1
Expand All @@ -98,7 +98,7 @@ def compile_check(compiler,ccflags,warn):
# warn = 1 = print warning if not successful, warn = 0 = no warning

def link_check(linker,linkflags,warn):
open("tmpauto.cpp",'w').write("int main(int, char **) {}")
open("tmpauto.cpp",'w').write("int main(int, char **) {}\n")
str = "%s %s -o tmpauto tmpauto.cpp" % (linker,linkflags)
txt = commands.getoutput(str)
flag = 1
Expand Down
1 change: 0 additions & 1 deletion src/USER-SMD/pair_smd_tlsph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#include "math_special.h"
#include <map>
#include "update.h"
#include <Eigen/SVD>
#include <Eigen/Eigen>
#include "smd_material_models.h"
#include "smd_kernels.h"
Expand Down
1 change: 0 additions & 1 deletion src/USER-SMD/pair_smd_ulsph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ using namespace std;
using namespace LAMMPS_NS;
using namespace SMD_Math;

#include <Eigen/SVD>
#include <Eigen/Eigen>
using namespace Eigen;

Expand Down
2 changes: 0 additions & 2 deletions src/USER-SMD/smd_material_models.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include "stdio.h"

#include <Eigen/Eigen>
#include <Eigen/Dense>
#include <Eigen/SVD>

using namespace LAMMPS_NS::MathSpecial;
using namespace std;
Expand Down
6 changes: 3 additions & 3 deletions src/pair_zbl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ double PairZBL::e_zbl(double r, int i, int j) {
double result = zzeij*sum*rinv;

return result;
};
}


/* ----------------------------------------------------------------------
Expand Down Expand Up @@ -393,7 +393,7 @@ double PairZBL::dzbldr(double r, int i, int j) {
double result = zzeij*(sum_p - sum*rinv)*rinv;

return result;
};
}

/* ----------------------------------------------------------------------
compute ZBL second derivative
Expand Down Expand Up @@ -432,5 +432,5 @@ double PairZBL::d2zbldr2(double r, int i, int j) {
2.0*sum*rinv*rinv)*rinv;

return result;
};
}

0 comments on commit 2f55b6d

Please sign in to comment.