Closed psv2 closed 7 years ago
Can SCUFF-LDOS operate at imaginary frequency (and give a sensible result
Yes.
and can it more generally give G(\omega, x, x') where x and x' need not coincide
Yes. Just specify 6 numbers on each line of the EPFile
instead of three numbers. The first three numbers are the coordinates of the destination (evaluation) point, and the last three numbers are the coordinates of the source point. By default the code will report only the scattering contribution to the dyadic Green's functions, but you can ask it instead to report the full two-point DGFs (including the direct contribution of the source) with the --FullTPDGF
option.
Does SCUFF-LDOS support compound point sources?
No, by definition SCUFF-LDOS computes the response to a single point source. But by linearity you can get the fields due to a weighted superposition of point sources by constructing a weighted superposition of single-point-source fields.
I would like to simulate a Gaussian source by forming a compound of many point sources sampled with a Gaussian weight (given some center and width), adding them up first and then solving the SIE once instead of solving the SIE for each sample point and then taking the weighted sum. Would SCUFF SCATTER be better for this?
Here are three ways to do this.
Use SCUFF-LDOS to compute two-point Green's functions for each (eval point, source point) pair. Then post-process the data to compute, for each eval point, a weighted sum of the contributions from all source points, with the weight for each source point corresponding to the magnitude and direction of the point source at that point.
Use SCUFF-SCATTER with an IFFile
describing your compound source.
Write an API code with a homemade incident-field function you would write to compute the field of your Gaussian source.
Thanks for the tips. It would seem like for trying to simultaneously treat multiple sources and evaluation points, SCUFF-SCATTER may be more efficient, but I'll keep SCUFF-LDOS in mind too, just in case. I'll close this issue.
Two related questions about SCUFF-LDOS: