Skip to content

Commit 321586a

Browse files
committed
minor corrections in comments
1 parent ff4b449 commit 321586a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/bessel/bb_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
# This code compares the scattering intensities calculated with the DDA (ADDA code)
3+
# This code compares the scattering intensities calculated with DDA (ADDA code)
44
# for the scattering of two different Bessel beams (option_1 and option_2) by a sphere.
55

66
import os, re, math

src/make_particle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,7 @@ void MakeParticle(void)
25102510
/* test that particle is wholly above the substrate; strictly speaking, we test voxel centers to be above the
25112511
* substrate - hsub+minZco>0, while the geometric boundary of the particle may still intersect with the substrate.
25122512
* However, the current test is sufficient to ensure that corresponding routines to calculate reflected Green's
2513-
* tensor do not fail (but see also below). And accuracy of the DDA itself is anyway questionable when some of the
2513+
* tensor do not fail (but see also below). And accuracy of DDA itself is anyway questionable when some of the
25142514
* voxels are very close to the substrate (whether they cross it or not).
25152515
*/
25162516
if (surface && hsub<=-minZco) LogError(ALL_POS,"The particle must be entirely above the substrate. There exist a "

0 commit comments

Comments
 (0)