We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 946de1b commit ff9a811Copy full SHA for ff9a811
src/context/providers/PlanewaveCutoffsContextProvider.js
@@ -57,7 +57,7 @@ export class PlanewaveCutoffsContextProvider extends mix(ContextProvider).with(
57
// if rho cutoff is not present, set it based on wfc cutoff
58
// if it is ultrasoft pseudopotential set rho cutoff 8 times
59
// that of wfc cutoff, otherwise 4 times that of wfc cutoff
60
- const rhoMultiplier = this.methodData?.pseudo?.type === "us" ? 8 : 4;
+ const rhoMultiplier = data?.type === "us" ? 8 : 4;
61
ecutrho = Math.max(ecutrho, ecutwfc * rhoMultiplier);
62
}
63
});
0 commit comments