Skip to content

Commit

Permalink
resolved compilation issue in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dsambit committed Mar 15, 2018
1 parent 4846176 commit adbc23c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dealiiPetscComplexDir="/home/vikramg/DFT-FE-softwares/softwareCentos/dealiiDev/i
alglibDir="/nfs/mcfs_comp/home/rudraa/software/alglib/cpp/src"
libxcDir="/home/vikramg/DFT-FE-softwares/softwareCentos/libxcNew/install_intel18"
spglibDir="/home/vikramg/DFT-FE-softwares/softwareCentos/spglib"
optimizedMode=1
optimizedMode=0
#
#Usually, no changes are needed below this line
#
Expand Down
4 changes: 2 additions & 2 deletions src/force/configurationalStressCompute/computeStressEself.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ void forceClass<FEOrder>::computeStressEself()
d_stress-=outer_product(dispClosestAtom,eshelbyTensor::getVselfBallEshelbyTensor(gradVselfFaceQuadExact)*feVselfFaceValues.normal_vector(qPoint))*feVselfFaceValues.JxW(qPoint);
#ifdef DEBUG
dummyTest+=scalar_product(gradVselfFaceQuadExact,feVselfFaceValues.normal_vector(qPoint))*feVselfFaceValues.JxW(qPoint);
dummyVec+=feForceFaceValues.normal_vector(qPoint)*feForceFaceValues.JxW(qPoint);
dummyTensor+=outer_product(gradVselfFaceQuadExact,feForceFaceValues.normal_vector(qPoint))*feForceFaceValues.JxW(qPoint);
dummyVec+=feVselfFaceValues.normal_vector(qPoint)*feVselfFaceValues.JxW(qPoint);
dummyTensor+=outer_product(gradVselfFaceQuadExact,feVselfFaceValues.normal_vector(qPoint))*feVselfFaceValues.JxW(qPoint);
#endif

}//q point loop
Expand Down

0 comments on commit adbc23c

Please sign in to comment.