-
Notifications
You must be signed in to change notification settings - Fork 79
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
Templatize spreadinterp and more cleanups #567
Merged
ahbarnett
merged 27 commits into
flatironinstitute:master
from
mreineck:simplify_sources
Oct 22, 2024
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
1cf0dbd
rearrange functions to avoid forward declarations
mreineck 7de00c8
simplify simple interfaces code
mreineck 7b4d8e6
templatize spreadinterp
mreineck dab8745
templatize utils.cpp
mreineck f6fab70
adjust makefile
mreineck 3b120a7
fix inconsistent prototype
mreineck 0faa049
another attempt
mreineck d136d81
another attempt
mreineck efc3592
another attempt
mreineck bbdaa70
more templatizing
mreineck 9074322
more templatizing
mreineck aca3e5b
fixes
mreineck f6da37f
more templatizing
mreineck 22baa47
no more precision-dependent sources in library
mreineck 47a284a
update makefile
mreineck 654da01
fix typo
mreineck f83b7d6
get rid od utils_precindep
mreineck 79b9080
start migrating to std::vector
mreineck ff8da04
NULL -> nullptr, more vectors
mreineck f411b15
more OOP and some warning fixes
mreineck 3d102df
Merge remote-tracking branch 'origin/master' into simplify_sources
mreineck 9374600
remove finufft.cpp; remove blanket use of namspace std
mreineck 622855c
add explanation for explicit template instantiations
mreineck 8238568
shorten simpleinterfaces
mreineck ca14063
pass options by reference
mreineck 74ef403
address review comments
mreineck 60611eb
revert BIGINT->UBIGINT change, seems to have bigger ramifications
mreineck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is defined in finufft_core.h I don't get what this line does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a forward declaration of
FINUFFT_PLAN_T
telling the compiler that such a type exists, but without giving any more details. This is sufficient for the compiler to deal with pointers to that type, which appear in the lines below.We cannot include
finufft_core.h
here, since then we would have circular dependency of header files (fft.h
needs to know aboutFINUFFT_PLAN_T
, andfinufft_core.h
needsfft.h
, sinceFINUFFT_PLAN_T
has a member of typeFinufft_FFT_plan
.