Skip to content

Commit ba58ae2

Browse files
committed
Add warning
1 parent 8fb7fb7 commit ba58ae2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

mcstas-comps/contrib/Al_window.comp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ SHARE
6464
#endif
6565
%}
6666

67+
INITIALIZE
68+
%{
69+
MPI_MASTER(
70+
fprintf(stderr,"Al_window %s WARNING: Using simple lo-fi transmission model.\n - Replace with PowderN or NCrystal for bragg edges etc.\n",NAME_CURRENT_COMP);
71+
);
72+
%}
73+
6774
TRACE
6875
%{
6976
double v; /* Neutron velocity */

0 commit comments

Comments
 (0)