X-Git-Url: https://www.hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop.c;h=da983b373e2a07245fd94060bbf8f0fc6bdd4d78;hp=9f1a6de86cc27ff7b49ef3f338a2717c46091e5e;hb=33a6df05544930aecf56adf5094cbbc8ef38e47d;hpb=e523a79abfbd77aa0998518da58ef84774cb1dc0 diff --git a/nlsop.c b/nlsop.c index 9f1a6de..da983b3 100644 --- a/nlsop.c +++ b/nlsop.c @@ -78,6 +78,7 @@ int usage(void) puts("-S \t save to file"); puts("-R \t read from random file"); puts("-P \t specify implantation profile file"); + puts("-N \t specify nuclear energy loss profile file"); printf("-H \t collisions per ion in simulation window (default %d)\n",CPI); return 1; @@ -771,6 +772,7 @@ int main(int argc,char **argv) char l_file[MAX_CHARS]; char c_file[MAX_CHARS]; char p_file[MAX_CHARS]; + char n_e_file[MAX_CHARS]; char convert; char r_file[MAX_CHARS]; #ifdef USE_DFB_API @@ -835,6 +837,7 @@ int main(int argc,char **argv) strcpy(l_file,""); strcpy(c_file,""); strcpy(p_file,IMP_PROFILE); + strcpy(n_e_file,NEL_PROFILE); convert=0; strcpy(r_file,""); mode=0; @@ -928,6 +931,9 @@ int main(int argc,char **argv) case 'P': strcpy(p_file,argv[++i]); break; + case 'N': + strcpy(n_e_file,argv[++i]); + break; case 'g': strcpy(l_file,argv[++i]); if(i