Skip to content

Commit

Permalink
Merged in vselfBinsCPUToggleCellStress (pull request #576)
Browse files Browse the repository at this point in the history
extend cpu/gpu toggle to vself bins solve in perturbed domain

Approved-by: Phani Motamarri
  • Loading branch information
dsambit committed Mar 27, 2024
2 parents aabbd5a + 5f440f8 commit 352ded0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dft/solveVselfInBins.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ namespace dftfe
std::vector<double> smearedChargeScaling;

#ifdef DFTFE_WITH_DEVICE
if (d_dftParams.useDevice)
if (d_dftParams.useDevice and d_dftParams.vselfGPU)
solveVselfInBinsDevice(basisOperationsPtr,
mfBaseDofHandlerIndex,
matrixFreeQuadratureIdAX,
Expand Down

0 comments on commit 352ded0

Please sign in to comment.