WarwickMicroscopy / Felix

Felix: Bloch wave method diffraction pattern simulation software
16 stars 10 forks source link

Message Subroutine #53

Closed kidwhizz closed 9 years ago

kidwhizz commented 9 years ago

With the iterative method in felixrefine the program will be printing messages for every iteration which will be silly. The fix for this would be to include the ISoftwareFlag in the if loops which contain the print statements. The problem there is that this will make these statements unruly and difficult to read. A better solution will be to create a message subroutine which takes arguments of rank, writeflag, softwareflag and a message and handles the print statement internally

AJMHubert commented 9 years ago

Completed