Unused U_cone Variable in BEMPP Loudspeaker Tutorial

Hi everyone,

I have a question about the loudspeaker tutorial in the bempp-acoustic-tutorials by mscroggs.

In the code, U_cone is defined as follows:

U_cone = 0.001 # Amplitude of the time-harmonic velocity of the cone in m/s

However, it doesn’t seem to be used anywhere in the code. Should U_cone be multiplied by n[2] in the following line?

@bempp.api.complex_callable
def u_total_callable(x, n, domain_index, result):
if domain_index == 2:
result[0] = n[2] # Should this be result[0] = U_cone * n[2]?
else:
result[0] = 0

And then, u_total is defined as:
u_total = bempp.api.GridFunction(spaceU, fun=u_total_callable)
u_total.plot()

I’d appreciate any clarification on whether U_cone should be included here.

Thank you!