From d3de8b2365ef06fab41233820ed9a7f571be1a66 Mon Sep 17 00:00:00 2001 From: Zaher Salman Date: Fri, 16 Sep 2022 20:06:12 +0200 Subject: [PATCH] Added He projectiles. --- TrimSP.html | 1 + TrimSPlib.js | 2 ++ fortran/trimspNL.F | 10 ++++++---- main.js | 1 + 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/TrimSP.html b/TrimSP.html index 0344bce..62d3d0f 100644 --- a/TrimSP.html +++ b/TrimSP.html @@ -65,6 +65,7 @@ + diff --git a/TrimSPlib.js b/TrimSPlib.js index c46fff0..178f059 100644 --- a/TrimSPlib.js +++ b/TrimSPlib.js @@ -934,11 +934,13 @@ function sum(array){ function startSequence(All) { let cmd = ''; let trimBin = All['trimPath']+"/trimspNL"; + console.log(trimBin); // Check if the trimspNL binary is found if (!fileExists(trimBin)) { // if not found, try in PATH and hope for the best trimBin = "trimspNL"; } + console.log(trimBin); // Check if workPath exists otherwise create it checkDir(All['workPath']); // from TrimSPelec.js, Electron/Node specific diff --git a/fortran/trimspNL.F b/fortran/trimspNL.F index 50067f9..64b6ef9 100644 --- a/fortran/trimspNL.F +++ b/fortran/trimspNL.F @@ -1,6 +1,7 @@ -C Version TrimSpNL ----> N Layer +C Created June 2000 ---- Testversion C -C Created Juni 2000 ---- Testversion +C Version TrimSpNL ----> Expanded to heterostructures with N Layer +C Zaher Salman C C *** C * C * COPYRIGHT W.ECKSTEIN, IPP GARCHING, FRG @@ -10,8 +11,9 @@ C if you use this code please cite C C Eckstein, W. Computer Simulation of Ion-Solid Interactions; C Springer Series in Materials Science; -C Springer-Verlag: Berlin Heidelberg, 1991. +C Springer-Verlag: Berlin Heidelberg, 1991. C +C Historical overview: C PROGRAM TRVMC95 VERSION AT IPP GARCHING NOVEMBER 1995 C MOMENTS OF DISTRIBUTIONS (RANGE, ENERGY AND C ANGLE OF BACKSCATTERED AND SPUTTERED ATOMS) @@ -2325,7 +2327,7 @@ C C 2nd CALL DATE_AND_TIME C -C how many seconds are needed for the simulation ?? +C How many seconds are needed for the simulation ?? C CALL TimeStamp(day_stop,month_stop,year_stop, hour_stop,min_stop & ,sec_stop,seconds_stop_total) diff --git a/main.js b/main.js index 6053be4..04862b5 100644 --- a/main.js +++ b/main.js @@ -6,6 +6,7 @@ function createWindow () { height: 580, icon: "./appicons/icons/png/1024x1024.png", webPreferences: { + contextIsolation: false, nodeIntegration: true, nativeWindowOpen: true, enableRemoteModule: true,