Skip to content

Commit

Permalink
Bug fix in driver (GPU only) (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlucf22 authored May 31, 2024
1 parent fb8149e commit 5fd302c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/loopCALPHADConcSolverBinary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ int main(int argc, char* argv[])
double hphi = 0.5 + (i % 100) * deviation;
double c0 = 0.3;
class Thermo4PFM::CALPHADConcSolverBinary solver;
solver.setup(c0, hphi, RT, Lmix_L, Lmix_A, fA, fB);
solver.setup(c0, hphi, 1. - hphi, RT, Lmix_L, Lmix_A, fA, fB);
nits[i] = solver.ComputeConcentration(&xdev[2 * i], 1.e-8, 50);
}
}
Expand Down

0 comments on commit 5fd302c

Please sign in to comment.