-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revised array metadata #811
Conversation
…in the CW case); added discussion to FAQ section of documentation
…'omega->freq' in python/source.py/fourier_transform
…'omega->freq' in python/source.py/fourier_transform
Still failing:
|
Passing
The results of |
Until #759 is fixed, I think it should be passing collapse=false, snap=true |
Maybe one is now doing interpolation and the other isn't? |
|
It seems like it should handle |
Is this okay to merge now? |
Yes, I think so.
…On Sun, Apr 14, 2019 at 12:28 PM Steven G. Johnson ***@***.***> wrote:
Is this okay to merge now?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#811 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANdgDdoanDwhLSGO3j7NeFNxbN_odzgZks5vg2VMgaJpZM4cnuQn>
.
|
* add --without-scheme option to configure to bypass building the scheme interface * revised normalization of eigenmode sources to yield unit power flux (in the CW case); added discussion to FAQ section of documentation * updates * update FAQ entry regarding normalization of eigenmode sources * updates * purged extraneous adjoint-related content from master; also, renamed 'omega->freq' in python/source.py/fourier_transform * purged extraneous adjoint-related content from master; also, renamed 'omega->freq' in python/source.py/fourier_transform * updates * updates * fix reduced_stride[r-1] bug that was fixed in an intermediate commit of NanoComp#788 but missed here * fix dft-fields test * use infinity, not 1e10 * rm MEEP_ARRAY_XYZDIR debugging code * deleted debugging code * compute dirs and dims consistently in process_dft_component as in NanoComp#788 * make array-metadata compile again * pass collapse=true in test * fix merge snafu * fix a couple of test failures * add snap to _get_array_slice_dimensions * fix array_size for dft slice * Remove extra comma in meep.i
Fixes #658, fixes #667, fixes #758. Also prepares for #759 by extending the array collapsing routine to handle double-valued arrays.
In the new approach, the
weights
array returned byget_array_metadata
may alternatively be fetched by calling the usualget_array
orget_dft_array
routines withcomponent
set toNO_COMPONENT.
If the environment variable
MEEP_ARRAY_XYZDIR
is set to 'X', 'Y', or 'Z', then the array slice produced forNO_COMPONENT
instead stores the corresponding component of the grid-point coordinate. This is not intended for regular use but may be useful for debugging complicated cases.