Skip to content
Snippets Groups Projects
Commit 14588f62 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

remove dead code and fix compilation for fix mscg

parent 88dca11b
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
#include "fix_mscg.h"
#include "mscg.h"
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "force.h"
......@@ -284,11 +285,9 @@ void FixMSCG::end_of_step()
if (domain->triclinic == 1)
error->all(FLERR,"Fix mscg does not yet support triclinic geometries");
int natoms = atom->natoms;
int nlocal = atom->nlocal;
tagint *tag = atom->tag;
double **x = atom->x;
double *prd_half = domain->prd_half;
int i,ii,j;
// trajectory information
......
......@@ -185,13 +185,6 @@ void DihedralOPLSIntel::eval(const int vflag,
const flt_t vb3y = x[i4].y - x[i3].y;
const flt_t vb3z = x[i4].z - x[i3].z;
// 1-4
const flt_t delx = x[i1].x - x[i4].x;
const flt_t dely = x[i1].y - x[i4].y;
const flt_t delz = x[i1].z - x[i4].z;
// c0 calculation
// 1st and 2nd angle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment