Skip to content

Commit 946de1b

Browse files
committed
SOF-7449: chore ==> rename wavefunction
1 parent a1c88cc commit 946de1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/context/providers/PlanewaveCutoffsContextProvider.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ export class PlanewaveCutoffsContextProvider extends mix(ContextProvider).with(
4747

4848
pseudos.forEach((data) => {
4949
// set the highest cutoff of all elements
50-
if (data?.cutoffs?.wfc?.standard > ecutwfc) {
51-
ecutwfc = data.cutoffs.wfc.standard;
50+
if (data?.cutoffs?.wavefunction?.standard > ecutwfc) {
51+
ecutwfc = data.cutoffs.wavefunction.standard;
5252
}
5353

54-
if (data?.cutoffs?.rho?.standard > ecutrho) {
55-
ecutrho = data.cutoffs.rho.standard;
54+
if (data?.cutoffs?.density?.standard > ecutrho) {
55+
ecutrho = data.cutoffs.density.standard;
5656
} else {
5757
// if rho cutoff is not present, set it based on wfc cutoff
5858
// if it is ultrasoft pseudopotential set rho cutoff 8 times

0 commit comments

Comments
 (0)