Skip to content

Commit 04f1954

Browse files
committed
Solved merge conflicts in KCRPMD by using the devel stuff
2 parents 934e0f4 + 1b5a2df commit 04f1954

63 files changed

Lines changed: 27302 additions & 23128 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ _build*
99
*.cube
1010
Ham_vib_*
1111
*.exe
12+
*build*

src/atomistic/Hamiltonian_MM/Hamiltonian_MM_methods1.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,6 @@ double Hamiltonian_MM::calculate(int call_type,int& update_displ2){
734734
double SW = 1.0;
735735
VECTOR dSW; dSW = 0.0;
736736
double en = 0.0;
737-
double d12;
738737
if(Box==NULL){
739738

740739
if(is_active){ // This also excludes self-pairs!
@@ -785,7 +784,6 @@ double Hamiltonian_MM::calculate(int call_type,int& update_displ2){
785784

786785
Box->get_vectors(tv1,tv2,tv3);
787786
Box->inverse().T().get_vectors(g1,g2,g3);
788-
int nx,ny,nz; nx = ny = nz = 1;
789787
double scale = 1.0;//0.5;
790788
double fscale = 1.0;
791789
double tscale = 1.0;
@@ -1083,10 +1081,8 @@ double Hamiltonian_MM::calculate(int call_type,int& update_displ2){
10831081
Box->get_vectors(tv1,tv2,tv3);
10841082
Box->inverse().T().get_vectors(g1,g2,g3);
10851083
int nx,ny,nz; nx = ny = nz = 1;
1086-
double scale = 1.0;//0.5;
10871084
double fscale = 1.0;
10881085
double tscale = 1.0;
1089-
if(data_elec->r1==data_elec->r2){ scale = 0.5; } // Scaling of self-pairs
10901086

10911087
xshift = floor(rij*g1+0.5);
10921088
yshift = floor(rij*g2+0.5);

0 commit comments

Comments
 (0)