File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export class PlanewaveCutoffsContextProvider extends mix(ContextProvider).with(
40
40
return cutoffConfig [ this . application . name ] ;
41
41
}
42
42
43
- getCutoffsFromPseudos = ( ) => {
43
+ get cutoffsFromPseudos ( ) {
44
44
const pseudos = this . methodData . pseudo || [ ] ;
45
45
let ecutwfc = 0 ;
46
46
let ecutrho = 0 ;
@@ -63,11 +63,11 @@ export class PlanewaveCutoffsContextProvider extends mix(ContextProvider).with(
63
63
} ) ;
64
64
65
65
return [ ecutwfc , ecutrho ] ;
66
- } ;
66
+ }
67
67
68
68
get defaultECUTWFC ( ) {
69
69
if ( [ "espresso" , "qe" ] . includes ( this . application . shortName ) ) {
70
- const [ ecutwfc ] = this . getCutoffsFromPseudos ( ) ;
70
+ const [ ecutwfc ] = this . cutoffsFromPseudos ;
71
71
72
72
if ( ecutwfc > 0 ) {
73
73
return ecutwfc ;
@@ -79,7 +79,7 @@ export class PlanewaveCutoffsContextProvider extends mix(ContextProvider).with(
79
79
80
80
get defaultECUTRHO ( ) {
81
81
if ( [ "espresso" , "qe" ] . includes ( this . application . shortName ) ) {
82
- const [ , ecutrho ] = this . getCutoffsFromPseudos ( ) ;
82
+ const [ , ecutrho ] = this . cutoffsFromPseudos ;
83
83
84
84
if ( ecutrho > 0 ) {
85
85
return ecutrho ;
You can’t perform that action at this time.
0 commit comments