Skip to content

Commit 5bf8971

Browse files
committed
Remove erronous linking in Test folder, and auto format the correct phonon simple comp
1 parent e2c0308 commit 5bf8971

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

mcstas-comps/examples/Tests_samples/Samples_Phonon/Phonon_simple.comp

Lines changed: 0 additions & 1 deletion
This file was deleted.

mcstas-comps/samples/Phonon_simple.comp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,12 @@ INITIALIZE
347347
V_rho = 4 / (a * a * a);
348348
V_my_s = (V_rho * 100 * sigma_inc);
349349
V_my_a_v = (V_rho * 100 * sigma_abs * 2200);
350-
DV = 0.001; /* Velocity change used for numerical derivative */
351-
if (focus_aw) focus_aw *= DEG2RAD;
352-
if (focus_ah) focus_ah *= DEG2RAD;
353-
350+
DV = 0.001; /* Velocity change used for numerical derivative */
351+
if (focus_aw)
352+
focus_aw *= DEG2RAD;
353+
if (focus_ah)
354+
focus_ah *= DEG2RAD;
355+
354356
// Set constant parameters for parms object
355357
phonon.a_ = a;
356358
phonon.c_ = c;

0 commit comments

Comments
 (0)