instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
sweetalert2__sweetalert2__890
sweetalert2/sweetalert2
890
defect
820f4464d3142207d23bc67f54be066af03f6bab
5e214113ffc6d46a4cc10f52dcc7a703be330426
Introduce DismissReason enum
Connected to https://github.com/sweetalert2/sweetalert2/issues/887 Related PR for the docs site: https://github.com/sweetalert2/sweetalert2.github.io/pull/8
diff --git a/README.md b/README.md index f7dd4bc7e..10747bfa1 100644 --- a/README.md +++ b/README.md @@ -114,8 +114,9 @@ swal({ 'Your imaginary file has been deleted.', 'success' ) - // result.dismiss can be 'overlay', 'cancel', 'close', 'esc', 'timer' - } else if (result.dismiss === 'cancel') { + ...
3
3
0
[{"id": "G0", "claim": "The new DismissReason enum members should use camelCase or PascalCase instead of C/C++-style CAPS_CASE.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Removing the exported SweetAlertDismissalReason type is a (small) breaking chan...
null
sweetalert2__sweetalert2__953
sweetalert2/sweetalert2
953
defect
cd90383a34083524b8c524f95b9849f42953cc4c
18797e4541267f2047a0c4cb82ca0ad5ed582f87
Fix IE11 unit tests and enable them in AppVeyor CI
Closes #947 I have no idea why that timeout is needed for tests, but I can't come up with a better solution for IE
diff --git a/.appveyor.yml b/.appveyor.yml index ff1044c03..a04940d87 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,12 +20,12 @@ build: off install: - ps: Install-Product node $env:nodejs_version - - npm install + - yarn test_script: - - npm run build - - npm run check:tests - # - npm run check:te...
1
1
0
[{"id": "G0", "claim": "The 100 ms timeout delays should be applied only when tests run in IE (e.g. via an npm browser-detection package, since tests now use Webpack), because applying them unconditionally adds ~900 ms to every test run for a substantial optimization.", "category": "performance", "verdict": "supported"...
null
swiftlang__swift-corelibs-libdispatch__162
swiftlang/swift-corelibs-libdispatch
162
defect
01fd776b2936114f0a9cf84b295b98cd9c0a927c
9763c611ddb14540d70c2be3f9288f2927c624ea
Android support
This changeset adds support for Android cross-compilation with the same restrictions applied to `swift` project. ## Options - `--disable-build-tests`: tests are failing to be built due to the lack of `spawn`. Until this is fixed, the flag will be useful to complete compilation - `--with-android-ndk`: Android NDK path t...
diff --git a/Makefile.am b/Makefile.am index cdc642f4d..63c8b17aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,6 +12,10 @@ if BUILD_OWN_KQUEUES MAYBE_KQUEUES = libkqueue endif +if BUILD_TESTS + MAYBE_TESTS = tests +endif + SUBDIRS= \ dispatch \ $(MAYBE_PTHREAD_WORKQUEUES) \ @@ -20,7 +24,7 @@ S...
7
6
2
[{"id": "G0", "claim": "The src/shims/android header-overlay files should be dropped and <sys/syscall.h> included directly behind `#ifdef __ANDROID__` in the right place instead of overlaying headers.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The __...
null
swiftlang__swift-corelibs-libdispatch__216
swiftlang/swift-corelibs-libdispatch
216
defect
763d0c795dce77c7991fad0aa74fcd5dd10c9262
69bcf0351a56577306f5fc16a35aeb674dc1f52d
Linux fixes for dispatch-806 merge
Collection of small fixes to dispatch-806 merge to allow code to compile/link/run on Linux.
diff --git a/Makefile.am b/Makefile.am index 63c8b17aa..ffc82df29 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,10 +8,6 @@ if BUILD_OWN_PTHREAD_WORKQUEUES MAYBE_PTHREAD_WORKQUEUES = libpwq endif -if BUILD_OWN_KQUEUES - MAYBE_KQUEUES = libkqueue -endif - if BUILD_TESTS MAYBE_TESTS = tests endif @@ -19,7 +...
3
1
1
[{"id": "G0", "claim": "The epoll-backend branch of dispatch_test_check_evfilt_read_for_fd just returns true as an expedient hack; a real check for the epoll backend still needs to be written.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In src/event/...
null
swiftlang__swift-corelibs-libdispatch__231
swiftlang/swift-corelibs-libdispatch
231
defect
7ca0a636785f666575f38ad3721e6009e62e584a
d857d7f8133ef7294f1a4eab4bc220dda5a142c8
SR-4201: DispatchSourceSignal not working on Linux
The observed bug is that signals sent to the main thread after it called dispatch_main were not triggering the event handler of a DispatchSourceSignal that had been previously created and activated to handle that signal. If plausible signals are added to the sigsuspend mask, then they are properly routed to the ...
diff --git a/src/event/event_epoll.c b/src/event/event_epoll.c index 2788b1008..4bf982d7c 100644 --- a/src/event/event_epoll.c +++ b/src/event/event_epoll.c @@ -135,7 +135,7 @@ _dispatch_muxnote_create(dispatch_unote_t du, uint32_t events) if (fd < 0) { return NULL; } - sigprocmask(SIG_BLOCK, &sigmask, NULL)...
5
4
4
[{"id": "G0", "claim": "Adding a hard-coded list of signals to the sigsuspend mask is the wrong solution; signal blocking should instead be handled lazily where a DISPATCH_SOURCE_TYPE_SIGNAL unote is created (and documented in the headerdoc), because the hard-coded list misses other useful signals.", "category": "desig...
null
swiftlang__swift-corelibs-libdispatch__244
swiftlang/swift-corelibs-libdispatch
244
defect
14d3d904ef5245393bf62be09aba8d07e4b2f5b7
c37a8c131d0fb401ea3f84e59ab830bc1e7dd1ae
Create a DISPATCH_PTR_SIZE macro and use it
This introduces a new macro, `DISPATCH_PTR_SIZE` which is defined much like `LLVM_PTR_SIZE`. We can gracefully fallback to alternate means of checking the width of the pointer and use this rather than `__LP64__` to determine if we are on a 64-bit host.
diff --git a/dispatch/base.h b/dispatch/base.h index 4c82b010c..171280912 100644 --- a/dispatch/base.h +++ b/dispatch/base.h @@ -254,4 +254,16 @@ typedef void (*dispatch_function_t)(void *_Nullable); +#ifdef __SIZEOF_POINTER__ +#define DISPATCH_PTR_SIZE __SIZEOF_POINTER__ +#elif defined(_WIN64) +#define DISPATCH_P...
5
3
1
[{"id": "G0", "claim": "Defining DISPATCH_PTR_SIZE as __SIZEOF_POINTER__ (or sizeof(void*)) instead of a constant integer literal defeats the purpose of the macro because it cannot be compared with the preprocessor, and should be defined as 8/4 constants from __LP64__/__ILP32__ with an #error fallback.", "category": "c...
null
swiftlang__swift-corelibs-libdispatch__253
swiftlang/swift-corelibs-libdispatch
253
defect
acb1b1eb34e93a91d59c355def56fb2a8754f45c
c175b6a66f1ba5ac0eec7183c15d02c4cc3a80f2
Convert dispatch_workq from legacy priorities to qos
Update dispatch_workq (DISPATCH_USE_INTERNAL_WORKQUEUE) to use QoS-based constants instead of legacy priorities. Enhance monitoring code to count runnable threads from highest QoS to lowest and to suppress voluntary oversubscription for lower QoS queues if the total count of runnable worker threads is already ov...
diff --git a/src/event/workqueue.c b/src/event/workqueue.c index 0b9bc0ac5..334009f2d 100644 --- a/src/event/workqueue.c +++ b/src/event/workqueue.c @@ -69,7 +69,7 @@ typedef struct dispatch_workq_monitor_s { int num_registered_tids; } dispatch_workq_monitor_s, *dispatch_workq_monitor_t; -static dispatch_workq_mon...
3
3
0
[{"id": "G0", "claim": "The _dispatch_workq_monitors array should be sized with DISPATCH_QOS_MAX to match convention elsewhere (e.g. _dispatch_narrowing_deadlines) instead of reserving an unused slot 0 for DISPATCH_QOS_UNSPECIFIED just to avoid index conversion, or at least carry a comment explaining the +1.", "categor...
null
swiftlang__swift-corelibs-libdispatch__273
swiftlang/swift-corelibs-libdispatch
273
defect
602604c8b581d6c5345937a9b4c5620224ab00ed
e6030f14098f5cc4b8895d07ea2f21f8c0681b78
fixes to src to prep for enabling additional compiler warnings
work in progress on cleaning up code so it can be compiled with the same set of warning flags used on Darwin. This is an inital pass through the C files in src to resolve warnings. Most warnings are related to implicit size/sign conversions between integral types.
diff --git a/src/BlocksRuntime/runtime.c b/src/BlocksRuntime/runtime.c index 8ec64cdc2..8c98e8d1e 100644 --- a/src/BlocksRuntime/runtime.c +++ b/src/BlocksRuntime/runtime.c @@ -148,6 +148,8 @@ GC support stub routines static void *_Block_alloc_default(const unsigned long size, const bool initialCountIsOne, const b...
11
11
3
[{"id": "G0", "claim": "The epoll backend's ident plumbing should use uint32_t instead of int (_dispatch_muxnote_bucket's argument, _dispatch_muxnote_find's ident parameter and dmn_ident), since signed values force casts at call sites and signed stuff for a hash table is a bad idea.", "category": "design", "verdict": "...
null
swiftlang__swift-corelibs-libdispatch__290
swiftlang/swift-corelibs-libdispatch
290
defect
291f34d92934da2985a16d1ca17e21eede8538b6
1ca6fa6914a3ad924e502028eecf30aa2254aa49
Fix compilation warnings in extended test suite
Fixes to build the extended test suite (not built/run under Swift CI) when using the expanded set of compiler warning flags.
diff --git a/tests/bsdtests.c b/tests/bsdtests.c index 18b446283..09ab000ca 100644 --- a/tests/bsdtests.c +++ b/tests/bsdtests.c @@ -188,6 +188,20 @@ test_long_format(long actual, long expected, const char* format, ...) _test_long(NULL, 0, desc, actual, expected); } +void +_test_sizet(const char* file, long line, ...
4
3
0
[{"id": "G0", "claim": "The line `n = (int)sysconf(_SC_NPROCESSORS_CONF);` added inside the dispatch_once block in tests/dispatch_priority.c is over-indented (bad indent).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `OSAtomicAdd32((int32_...
null
swiftlang__swift-corelibs-libdispatch__318
swiftlang/swift-corelibs-libdispatch
318
defect
44f364081d276f31821f68aae00cb56c0d57d4b1
030f055b688e704c56c5e41bbead1618685b0cb2
A few updates to enable building on Raspberry PI/Ubuntu 16.04
I ran into some compilation failures while building on the Raspberry PI Model 3. These issues were simply type conversion warnings that resulted in errors (due to -Werror in the compilation settings.) There may be more related issues, but what is attached is the minimal set of changes required to get it to build for...
diff --git a/src/event/event_epoll.c b/src/event/event_epoll.c index db8626e3d..97b4bba40 100644 --- a/src/event/event_epoll.c +++ b/src/event/event_epoll.c @@ -419,7 +419,7 @@ _dispatch_timeout_program(uint32_t tidx, uint64_t target, if (target < INT64_MAX) { struct itimerspec its = { .it_value = { - .tv_sec ...
1
1
0
[{"id": "G0", "claim": "The timer source data variables should be declared as `uint64_t` instead of `unsigned long long`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
swiftlang__swift-corelibs-libdispatch__319
swiftlang/swift-corelibs-libdispatch
319
defect
44f364081d276f31821f68aae00cb56c0d57d4b1
66607079c6561ac57f8cb85d9bb945aa52f0f3a6
Add support for building libdispatch on FreeBSD
This mostly adds `defined(__FreeBSD__)` conditionals where necessary. I am 99% sure this will break builds on Darwin, specially on kevent stuff. I tried to build the Xcode project, but there are a LOT of files missing which probably are internal Apple headers and sources. Please note that the library is not yet comp...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b294bba3..bc583d6ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,9 @@ if(ENABLE_SWIFT) ${SWIFT_RUNTIME_LIBDIR}/${CMAKE_SHARED_LIBRARY_PREFIX}swiftSwiftOnoneSupport${CMAKE_SHARED_LIBRARY_SUFFIX}) endif() -if(CMAKE_SYSTEM_...
37
29
6
[{"id": "G0", "claim": "The new FreeBSD base/stubs/port headers mostly copy the Linux ones; they should be replaced by shared generic Unix headers with small per-platform ifdefs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Darwin-only include guar...
null
swiftlang__swift-corelibs-libdispatch__334
swiftlang/swift-corelibs-libdispatch
334
defect
d36aebc7bedf90d34b1158db5802892f6e25b23b
98cafa03b9b5b378490c515ab2a735448885c2b7
use reserved spelling for inline assembly
Use the reserved spelling for `asm` as it is a non-standard compiler extension. NFC.
diff --git a/os/object_private.h b/os/object_private.h index 215c3d146..3b4632255 100644 --- a/os/object_private.h +++ b/os/object_private.h @@ -86,7 +86,7 @@ #endif #define OS_OBJECT_OBJC_CLASS_DECL(name) \ extern void *OS_OBJECT_CLASS_SYMBOL(name) \ - asm(OS_OBJC_CLASS_RAW_SYMBOL_NAME(OS_OBJECT_CLASS(name))) ...
1
1
1
[{"id": "G0", "claim": "When using the reserved spelling for inline assembly, also use the reserved `__volatile__` spelling, since reserving only `asm` and leaving `volatile` unreserved is inconsistent.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
swiftlang__swift-corelibs-libdispatch__339
swiftlang/swift-corelibs-libdispatch
339
defect
2d6d1fd73c8bb10d225a620de3f98fe630dfb672
ce886a99134a2f309a083d693c48b969ac3fb71a
protect unistd.h inclusion with HAVE_UNISTD_H
This ensures that all the inclusions of unistd.h inclusion are protected with the check that the header exists. This header is only available on unix like environments to define the standard of compliance. This protection is needed for other environments like Windows.
diff --git a/dispatch/dispatch.h b/dispatch/dispatch.h index a4b54593c..681240b46 100644 --- a/dispatch/dispatch.h +++ b/dispatch/dispatch.h @@ -35,7 +35,7 @@ #include <stdint.h> #include <stdbool.h> #include <stdarg.h> -#if !defined(HAVE_UNISTD_H) || HAVE_UNISTD_H +#if HAVE_UNISTD_H #include <unistd.h> #endif #i...
2
2
1
[{"id": "G0", "claim": "Guarding <unistd.h> in the public dispatch/dispatch.h with '#if HAVE_UNISTD_H' does not work in installed headers because HAVE_UNISTD_H is a configure option that is undefined there and will break unix, so the pull request should use another approach such as __has_include or unifdef-ing the inst...
null
swiftlang__swift-corelibs-libdispatch__374
swiftlang/swift-corelibs-libdispatch
374
defect
12ff819529d347e3578813ee7f7845621c7e95ba
cb95326219f7b5ae1d2208a8379f28cd9dfc9106
Stub out unimplemented Windows functions
Provide stubs for unimplemented Windows functions so that dispatch.dll can link and we can start building the tests. If one of these stubs is called, it will be reported to the CRT.
diff --git a/src/shims/generic_win_stubs.c b/src/shims/generic_win_stubs.c index f6984a2d8..ed347fb30 100644 --- a/src/shims/generic_win_stubs.c +++ b/src/shims/generic_win_stubs.c @@ -1,3 +1,94 @@ +#include "internal.h" + +/* + * This file contains stubbed out functions we are using during + * the initial Windows port...
1
1
0
[{"id": "G0", "claim": "The _dispatch_event_loop_* (and similar no-op/assert) functions should not be stubbed in src/shims/generic_win_stubs.c but placed in a new src/event/event_windows.c, copying the do-nothing or asserting functions from event_epoll.c, since they will likely not be implemented on Windows for a while...
null
swiftlang__swift-corelibs-libdispatch__407
swiftlang/swift-corelibs-libdispatch
407
defect
0710b29a7edcdbecf8c44af2287a2adf16118a6e
1275d24b0986e5a4826193dcb70b338793152f95
tests: read from a temporary file instead of vi on non-Apple platforms
Some tests hardcode `/usr/bin/vi` as a path to a file to read from. This is definitely not going to exist on Android and Windows. Instead of hardcoding this path in each test, create a `dispatch_test_get_test_file()` function to retrieve the path. On Linux and Windows, return the path to the test executable, because...
diff --git a/tests/dispatch_io.c b/tests/dispatch_io.c index 12870ced2..6639bc383 100644 --- a/tests/dispatch_io.c +++ b/tests/dispatch_io.c @@ -240,7 +240,7 @@ test_io_stop(void) // rdar://problem/8250057 static void test_io_read_write(void) { - const char *path_in = "/usr/bin/vi"; + const char *path_in = dispatch_...
3
1
1
[{"id": "G0", "claim": "The static Windows path buffer should be declared as MAX_PATH + 1 to account for the trailing null-terminator.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "dispatch_test_get_test_file returns a pointer to a stack-allocated bu...
null
swiftlang__swift-corelibs-libdispatch__441
swiftlang/swift-corelibs-libdispatch
441
defect
dde58922492859d3664ee0bc296a26dee80ee369
10011ac0489398db84e2a00c4b8eca6ff73c9187
dispatch: fix logging to a file on Windows
Port the dispatch_debug test to Windows and fix a bug that it found related to logfile initialization. _dispatch_logv_init()'s Windows implementation uses _fdopen() and fprintf() to write the log header. However, this gives ownership of the file to stdio, so fclose() closes the descriptor and causes future writes...
diff --git a/src/init.c b/src/init.c index 11dabb9c7..b998d5827 100644 --- a/src/init.c +++ b/src/init.c @@ -733,15 +733,17 @@ _dispatch_logv_init(void *context DISPATCH_UNUSED) dispatch_log_basetime = _dispatch_absolute_time(); #endif #if defined(_WIN32) - FILE *pLogFile = _fdopen(dispatch_logfile, "w"); - ...
1
1
1
[{"id": "G0", "claim": "When the snprintf output is truncated, the second check (len < sizeof(szMessage)) discards the entire log line, and the reviewer asks whether it would be better to write the first sizeof(szMessage) bytes to the log instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
swiftlang__swift-corelibs-libdispatch__495
swiftlang/swift-corelibs-libdispatch
495
defect
77216601cc50d27d284ecf46d30229a570968853
560c5fb2ffa81646f2c005b769ad0118730657a6
tests: port dispatch_io and dispatch_io_pipe_close to Windows
This lets us build and run the full extended test suite for Windows! I caught several bugs in Dispatch's Windows port while I was working on this and I submitted pull requests to fix them (#493, #494). The only dispatch_io test case which fails right now is test_io_stop, and that's because we don't have pipe suppor...
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4ebadd9a3..9ee6bc3e3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -171,11 +171,8 @@ if(EXTENDED_TEST_SUITE) pingpong drift readsync - cascade) - if(NOT WIN32) - # Not ported to Windows yet - list(APPEN...
2
2
0
[{"id": "G0", "claim": "The Windows branch should avoid the GNU `?:` extension and instead assign `getenv(\"TMP\")` and fall back to `getenv(\"TEMP\")` with an explicit if.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer asks whether `as...
null
swiftlang__swift-corelibs-libdispatch__501
swiftlang/swift-corelibs-libdispatch
501
defect
4169c8d3382fd1083289ee3b22a349acef584141
54fe98dd2e0b3124a847b2a172ca5334ecf4e1b9
event: support pipe sources on Windows
This implements full support for using pipe sources on Windows to trigger an event when a pipe becomes readable or writable. Due to differences between the Windows asynchronous I/O model and the Unix model, this is rather complex. On Windows, the standard mechanism to achieve asynchronous pipe I/O is to just read...
diff --git a/src/event/event_windows.c b/src/event/event_windows.c index 33a8bad73..23e1eb78c 100644 --- a/src/event/event_windows.c +++ b/src/event/event_windows.c @@ -28,18 +28,44 @@ enum _dispatch_windows_port { DISPATCH_PORT_TIMER_CLOCK_UPTIME, DISPATCH_PORT_TIMER_CLOCK_MONOTONIC, DISPATCH_PORT_FILE_HANDLE, +...
1
1
0
[{"id": "G0", "claim": "The two src/io.c hunks replacing PRIxNN-style format specifiers (PRIx64/PRId64) with %lld plus casts are unnecessary since recent PRs prefer the PRIxNN style, so these changes should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
swiftlang__swift-corelibs-libdispatch__559
swiftlang/swift-corelibs-libdispatch
559
defect
34f383d34450d47dd5bdfdf675fcdaa0d0ec8031
4c28c12c5855164826d556ce6e911237a43e6463
Support OpenBSD.
Prior separated PRs were closed in favor of this omnibus. This PR implements functionality to properly support Dispatch on OpenBSD. This includes fixing some errors, portability cleanup, as well as a portable implementation of the Dispatch runloop and making sure that the kevent backend works properly and portably o...
diff --git a/cmake/modules/SwiftSupport.cmake b/cmake/modules/SwiftSupport.cmake index 4310b54c9..22678d803 100644 --- a/cmake/modules/SwiftSupport.cmake +++ b/cmake/modules/SwiftSupport.cmake @@ -23,6 +23,8 @@ function(get_swift_host_arch result_var_name) set("${result_var_name}" "armv7" PARENT_SCOPE) elseif("...
16
12
2
[{"id": "G0", "claim": "The new `#elif defined(__OpenBSD__)` branch of the dispatch_unote_ident_t typedef duplicates the `#else` branch, making the ifdef unnecessary unless the typedef is going to change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
swiftlang__swift-corelibs-libdispatch__758
swiftlang/swift-corelibs-libdispatch
758
defect
12a60accc6712a8fddbb4b733c0b12ff9f39d46b
e9d4041e5347b741954c9e02d623facfc5961ace
Fix a number of warnings when building on Windows
This PR fixes a number of warnings when building on Windows. A common one involves the use of `dispatch_assert()` and related macros. Passing a pointer to these macros produces a narrowing conversion on Windows because `long` is 32 bits. This change uses `intptr_t` instead. The following warnings are also resolve...
diff --git a/src/event/event.c b/src/event/event.c index 98dd87171..6ace80ecb 100644 --- a/src/event/event.c +++ b/src/event/event.c @@ -766,9 +766,9 @@ _dispatch_timer_heap_update(dispatch_timer_heap_t dth, #pragma mark timer unote #define _dispatch_timer_du_debug(what, du) \ - _dispatch_debug("kevent-source[%p]:...
4
2
0
[{"id": "G0", "claim": "compnerd prefers the __assume(0) spelling instead of __builtin_unreachable() for the unreachable mark in _dispatch_sig_thread, to keep hope for someday being able to use MSVC again.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "rok...
null
swiftlang__swift-corelibs-libdispatch__811
swiftlang/swift-corelibs-libdispatch
811
defect
bb1cb6afb589e911cd808cb98e03d54603b14e16
65fbeec557a2a495b0aaf3c8d1bc1f6d0cc73d5d
Keep posix_memalign() around for older Android APIs
This simply brings back #805 for platforms that need it.
diff --git a/src/io.c b/src/io.c index 70c6721be..f317c1857 100644 --- a/src/io.c +++ b/src/io.c @@ -2373,6 +2373,11 @@ _dispatch_operation_perform(dispatch_operation_t op) bQueried = true; } op->buf = _aligned_malloc(op->buf_siz, siInfo.dwPageSize); +#elif defined(__ANDROID_API__) && __ANDROID_API__ < 28 ...
1
1
1
[{"id": "G0", "claim": "The PR should detect support for aligned_alloc in CMake and fall back to posix_memalign, rather than hardcoding a specific platform (__ANDROID_API__ < 28) condition.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
swiftlang__swift-corelibs-libdispatch__814
swiftlang/swift-corelibs-libdispatch
814
defect
bb1cb6afb589e911cd808cb98e03d54603b14e16
451b3dd7d539e78866936f8ef55f78d807f1168f
Support compiling on MSYS2
This patch consists of two commits: - The first commit contains a minimal set of changes to make libdispatch compile on the MSYS2 environments. There are slight differences in headers, which are accounted for, and the `-fms-extensions` variable is passed to clang to enable the `__popcnt64` intrinsic - The second c...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..5c319391c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,33 @@ +name: libdispatch + +on: + push: + pull_request: + +jobs: + mingw: + runs-on: windows-2022 + strategy: + fail-fast: false + ...
4
3
2
[{"id": "G0", "claim": "Passing all of the warning options defined in the module to clang-cl on Windows surfaces a bunch of warnings, which the author says could be fixed in a follow-up PR.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The Gi...
null
swiftlang__swift-corelibs-libdispatch__854
swiftlang/swift-corelibs-libdispatch
854
defect
b2a1fad6b49a9394cf864b87ab0034ea8300e2de
b0ea38b0933e51cfa00cfe4d80d1924122a4f09e
Switch Win32 pipes to PIPE_WAIT with sentinel bufsize
Fixes https://github.com/swiftlang/swift-corelibs-libdispatch/issues/820 . There is a lot of useful context in this issue, which I will partially reproduce below. I have an alternate PR that fixes this problem in a less fundamental way, but without a small requirements change to libdispatch which I describe below: h...
diff --git a/src/event/event_windows.c b/src/event/event_windows.c index 94674a3bf..31613ca00 100644 --- a/src/event/event_windows.c +++ b/src/event/event_windows.c @@ -277,6 +277,9 @@ _dispatch_pipe_monitor_thread(void *context) char cBuffer[1]; DWORD dwNumberOfBytesTransferred; OVERLAPPED ov = {0}; + // Blo...
6
4
0
[{"id": "G0", "claim": "The WriteQuotaAvailable write-size logic in _dispatch_operation_perform would be easier to read restructured as: if (fpli.WriteQuotaAvailable == 0) { len = MIN(len, fpli.OutboundQuota - 1); } else { len = MIN(len, fpli.WriteQuotaAvailable - 1); }.", "category": "maintainability", "verdict": "sup...
null
swiftlang__swift-corelibs-libdispatch__861
swiftlang/swift-corelibs-libdispatch
861
defect
0d6718284b6511030c859cefc97b63f7bcdd567c
b55398ed930b2a796177ca85964409460d25cbf7
[FreeBSD] support FreeBSD
This patch adds FreeBSD support to libdispatch. This patch is partly based on #561 with bug fixes and uses the pipe based mechanism based on #559 to bridge with CFRunLoop, since part of the CFRunLoop changes already landed in CoreFoundation. In addition to above changes, also implements workqueue and limited Disp...
diff --git a/cmake/modules/SwiftSupport.cmake b/cmake/modules/SwiftSupport.cmake index a42b61e40..a82842ef9 100644 --- a/cmake/modules/SwiftSupport.cmake +++ b/cmake/modules/SwiftSupport.cmake @@ -27,6 +27,8 @@ function(get_swift_host_arch result_var_name) set("${result_var_name}" "armv7" PARENT_SCOPE) elseif("...
9
6
0
[{"id": "G0", "claim": "Depending on land order, upstream PR #860 should obviate/clean up the new amd64 branch added to get_swift_host_arch in cmake/modules/SwiftSupport.cmake.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "compnerd asks whether...
null
swimlane__ngx-charts__995
swimlane/ngx-charts
995
defect
8e3413f1dd863bacb201188a505e84e37dc4a305
7ab50443b6be062ebb5dae288d9a75f0f8d2fa48
getScaleType performance improvement
If you have feedback (always welcome) then I can add a commit to this PR as well. EDIT: woops, I branched too late. I guess that will be fixed when that PR gets in, otherwise I rebranch this. ------------------------------------------- **What kind of change does this PR introduce?** (check one with "x") - [ ]...
diff --git a/src/area-chart/area-chart-normalized.component.ts b/src/area-chart/area-chart-normalized.component.ts index 87879ff95..e4e5139aa 100644 --- a/src/area-chart/area-chart-normalized.component.ts +++ b/src/area-chart/area-chart-normalized.component.ts @@ -16,7 +16,7 @@ import { calculateViewDimensions, ViewDim...
1
1
1
[{"id": "G0", "claim": "The heat map should call getScaleType with the second parameter false, since it is not checking for dates there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
swoole__swoole-src__3764
swoole/swoole-src
3,764
defect
dfcc83bb549a8fc7a43d8cb934b092b44d63cf6d
fa36aa99c424f40d9f81306e0bd1b50139b8b49b
feat: support coroutine socket writev
```php /** * @param string[] $iov * @throws \Swoole\Coroutine\Socket\Exception */ Coroutine::Socket::writeVector(array $iov, float $timeout): int|false; /** * @param string[] $iov * @throws \Swoole\Coroutine\Socket\Exception */ Coroutine::Socket::writeVectorAll(array $iov, float $timeout): int|false; ...
diff --git a/ext-src/php_swoole.h b/ext-src/php_swoole.h index eb68cce44c3..7ba05bb3e66 100644 --- a/ext-src/php_swoole.h +++ b/ext-src/php_swoole.h @@ -508,6 +508,20 @@ static sw_inline zend_bool ZVAL_IS_BOOL(zval *v) } #endif +#ifndef ZVAL_IS_LONG +static sw_inline zend_bool ZVAL_IS_LONG(zval *v) +{ + return Z...
5
5
4
[{"id": "G0", "claim": "Allocating iovec iov[iovcnt] as a variable-length array on the stack, sized from the user-controlled array count, theoretically risks stack overflow.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "In readv, reading the elemen...
null
swoole__swoole-src__4878
swoole/swoole-src
4,878
defect
9fb53343a289e8f3319263b52094cbb29e35ee5d
9568a4732968de9d27a935a555c907412e81a418
Fix WebSocket special handshake request header, RFC compatible
RFC:<https://www.rfc-editor.org/rfc/rfc6455> ![image](https://user-images.githubusercontent.com/20104656/196068966-91e358b4-0d06-45d0-9cbb-f2eb17151d30.png) 字符串匹配改为 Token 判断 参考: * <https://github.com/gorilla/websocket/blob/af47554f343b4675b30172ac301638d350db34a5/client.go#L395> * <https://github.com/netty/n...
diff --git a/ext-src/php_swoole_http.h b/ext-src/php_swoole_http.h index 4bdcb2b814c..8ed288f544b 100644 --- a/ext-src/php_swoole_http.h +++ b/ext-src/php_swoole_http.h @@ -310,6 +310,7 @@ static inline bool swoole_http_has_crlf(const char *value, size_t length) { } void swoole_http_parse_cookie(zval *array, const ...
1
1
1
[{"id": "G0", "claim": "The new ltrim helper should check len instead of relying on the string's '\\0' terminator, as its loop can otherwise scan past the buffer bound.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sxs-collaboration__spectre__3742
sxs-collaboration/spectre
3,742
defect
e27c3a428049b47f4b4438e32cbecea4145b1db8
29bd1a9d00a15f831be212e857ee42e176eff30e
Add `CurvedScalarWave` executable that observes a scalar field in Kerr-Schild background
This adds an executable that observes the tails of a scalar wave on a Kerr-Schild background similar to the simulations of https://arxiv.org/abs/gr-qc/0305027. It adds an observation of a surface integral of Psi^2 over a spherical shell to the executable.
diff --git a/src/Evolution/Executables/CurvedScalarWave/CMakeLists.txt b/src/Evolution/Executables/CurvedScalarWave/CMakeLists.txt index 95c2f65d524f8..0e76cc2d5d314 100644 --- a/src/Evolution/Executables/CurvedScalarWave/CMakeLists.txt +++ b/src/Evolution/Executables/CurvedScalarWave/CMakeLists.txt @@ -2,6 +2,7 @@ # ...
5
4
0
[{"id": "G0", "claim": "Link the interpolation dependencies (ApparentHorizons, ParallelInterpolation) only to the executable that needs them instead of adding them to LIBS_TO_LINK for all CurvedScalarWave executables.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
sxs-collaboration__spectre__4152
sxs-collaboration/spectre
4,152
defect
d47a607fbfab0e306bba7b782148d8032b7d0d0a
7b244bfd97ff50a8078ced6fbfa5e1779ba09354
Add time dependence to `CSW` system
Adds time dependence to the CurvedScalarWave system by re-calculating the background spacetime tags every time step. This PR changes the background tags so that they are no longer in a variables tag. This is because the background solution's `variables` method can only compute these tags by value and this way we can...
diff --git a/src/Evolution/Executables/CurvedScalarWave/EvolveCurvedScalarWave.hpp b/src/Evolution/Executables/CurvedScalarWave/EvolveCurvedScalarWave.hpp index ac0e6e2eb81b2..b05636cb745b1 100644 --- a/src/Evolution/Executables/CurvedScalarWave/EvolveCurvedScalarWave.hpp +++ b/src/Evolution/Executables/CurvedScalarWav...
3
2
0
[{"id": "G0", "claim": "The new `CalculateGrVars` action could be turned into a `Mutator` used with the `MutateApply` action, which might simplify it and the test quite a bit.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`ScalarWaveGr` computes the ent...
null
sxs-collaboration__spectre__4156
sxs-collaboration/spectre
4,156
defect
d47a607fbfab0e306bba7b782148d8032b7d0d0a
d48660693e1924325f63ef5a6a921cd45d91bdfc
Add clone methods to `MathFunction`
This makes `MathFunctions` and derived objects clonable. Classes that hold these are made copiable and comparable.
diff --git a/src/PointwiseFunctions/AnalyticSolutions/WaveEquation/PlaneWave.cpp b/src/PointwiseFunctions/AnalyticSolutions/WaveEquation/PlaneWave.cpp index bd876b5b4a81e..36cface3584ec 100644 --- a/src/PointwiseFunctions/AnalyticSolutions/WaveEquation/PlaneWave.cpp +++ b/src/PointwiseFunctions/AnalyticSolutions/WaveEq...
3
3
2
[{"id": "G0", "claim": "The PlaneWave operator== compares rhs's profile with itself (*(rhs.profile_) == *(rhs.profile_)), so that term is always true and two PlaneWaves with different profiles can compare equal.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
sxs-collaboration__spectre__4655
sxs-collaboration/spectre
4,655
defect
7a2cedff70bc7ac58d18428edd35b73a695373ed
6906770733ef06749ce89def96fe5b721f321c92
Add worldtube excision sphere tag
adds a tag that returns the radius of the worldtube ~~depends on #4654~~
diff --git a/src/Evolution/Systems/CurvedScalarWave/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/CMakeLists.txt index e0b89b4ec5dc5..6e4403015a3fb 100644 --- a/src/Evolution/Systems/CurvedScalarWave/CMakeLists.txt +++ b/src/Evolution/Systems/CurvedScalarWave/CMakeLists.txt @@ -44,3 +44,4 @@ target_link_libra...
3
1
0
[{"id": "G0", "claim": "Rename the option tag to `Worldtube` and make it hold the excision sphere (copying it from the domain for now, a reference tag once #3142 merges) so radius and center can be read from it directly.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
sxs-collaboration__spectre__4666
sxs-collaboration/spectre
4,666
defect
7a2cedff70bc7ac58d18428edd35b73a695373ed
ed5e941e85bfc4512bd51887290ca786d2c4cff6
Change `ExcisionSphere::center()` return type to `tnsr::I<double, 3, Frame::Grid>`
The original return type was `std::array<double, 3>` but that makes it ambiguous in which coordinates the center is given.
diff --git a/src/ControlSystem/ControlErrors/Rotation.hpp b/src/ControlSystem/ControlErrors/Rotation.hpp index ea160cf545fc8..2b68b089acf84 100644 --- a/src/ControlSystem/ControlErrors/Rotation.hpp +++ b/src/ControlSystem/ControlErrors/Rotation.hpp @@ -12,6 +12,10 @@ #include "ControlSystem/Tags.hpp" #include "DataSt...
6
6
0
[{"id": "G0", "claim": "The explicit types that the change removed in favor of auto in the Rotation and Translation control errors, including the dot and cross results, should be kept because the types are not obvious when reading the code outside an IDE.", "category": "maintainability", "verdict": "supported", "priori...
null
sxs-collaboration__spectre__4719
sxs-collaboration/spectre
4,719
defect
2a84e89d7c3e2fcfb0f353d69c74601c0b5ce4ad
852211210f41b577c2e08026438c4d6b775f92d4
Add abutting direction per element to `ExcisionSphere`
## Proposed changes Adds a method to check whether an element abuts an excision sphere and returns an optional direction. This can be called by each element to e.g. identify the surfaces of the excision sphere in order to do face integrals. ~~@nilsvu can this be done with `ElementId` rather than `Element` by chec...
diff --git a/src/Domain/Structure/ExcisionSphere.cpp b/src/Domain/Structure/ExcisionSphere.cpp index c59bb76c015d1..7631a28f4a8f2 100644 --- a/src/Domain/Structure/ExcisionSphere.cpp +++ b/src/Domain/Structure/ExcisionSphere.cpp @@ -4,12 +4,14 @@ #include "Domain/Structure/ExcisionSphere.hpp" #include <cstddef> +#i...
2
2
0
[{"id": "G0", "claim": "Add the missing `<array>` include to Test_ExcisionSphere.cpp, which uses std::array.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "abutting_direction could be computed from the ElementId alone by comparing the segment in...
null
sxs-collaboration__spectre__4726
sxs-collaboration/spectre
4,726
defect
7be37be9753b9a63380f6c19393c877e1c17255d
2bc6d4a46d6363194da700a6c6f8f704ee32d89e
Adds a mutator that calculates the coordinates of element faces abutting the worldtube
Adds a mutator that calculates the grid coordinates of all faces that abutting the worldtube. This is is for the worldtube singleton to call so it can interpolate its internal solution to the grid points and send it to each element.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp index 4788a51ff5a4b..e1ec859e8874b 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp @@ -12,6 +12,7 @@ ...
1
1
0
[{"id": "G0", "claim": "Rename the tag ElementFacesCoordinatesMap to ElementFacesGridCoordinates because the name CoordinatesMap is confusing with actual coordinate map objects.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__4743
sxs-collaboration/spectre
4,743
defect
70ffef045c4a9b233d6a753930ef3ea9aa3f4e6e
e799d1fec335648f2bec9df7130f889ebf13b8d9
Add curved area element
## Proposed changes adds a function that computes the area element / surface jacobian for curved space the test computes the area of a Kerr black hole in Kerr Schild coordinates @nilsvu I decided to rename it to `area_element` and `euclidean_area_element` after all because otherwise it should really be `det_euclid...
diff --git a/src/Domain/AreaElement.cpp b/src/Domain/AreaElement.cpp new file mode 100644 index 0000000000000..71c2a97abd2a6 --- /dev/null +++ b/src/Domain/AreaElement.cpp @@ -0,0 +1,197 @@ +// Distributed under the MIT License. +// See LICENSE.txt for details. + +#include "Domain/AreaElement.hpp" + +#include <cstddef>...
6
5
1
[{"id": "G0", "claim": "The reviewer asks: isn't `area_element` precisely the curved space area element, contradicting the added docstring note that says the curved space area element is not implemented yet?", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
sxs-collaboration__spectre__4771
sxs-collaboration/spectre
4,771
defect
37d7710c7c1ffae59a8559638c93fdf6bf5de5fd
10909d3a2671a4f80ddb2b884d7aeddad2e9f4dc
Add `CenteredFaceCoordinates` compute tag
## Proposed changes Adds a convenient compute tag that computes the grid coordinates of each element face abutting the worldtube
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp index f5a9884fdc29b..23978455b8d40 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp @@ -66,6 +66,15 @@ ...
2
1
0
[{"id": "G0", "claim": "The doc brief for CenteredFaceCoordinates should say the coordinates are centered on the worldtube.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An empty line should be added above the CenteredFaceCoordinates doc comment....
null
sxs-collaboration__spectre__4774
sxs-collaboration/spectre
4,774
defect
2e670051744cff788c69e73212d10c7b80d917b9
6eff5783072fed625633343b19452219747f3292
Add Worldtube ExpansionOrder tag
## Proposed changes Adds an option tag that sets the expansion order of the internal worldtube solution.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp index 27672171dec42..79b0c4ca2192a 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp @@ -28,6 +28,7 @@ n...
1
1
0
[{"id": "G0", "claim": "Unless there are short-term plans to extend the worldtube expansion order to higher orders, hardcode expansion_order = 0 where it is needed instead of creating an option tag for it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__4775
sxs-collaboration/spectre
4,775
defect
6e649e7d88a696d249b0d448c0bb03b9a4d822ed
830c2b36e892eec6511543dbed513dbea213ccd5
Add `InertialParticlePosition` compute tag
## Proposed changes Adds a compute tag that calculates the inertial position of the scalar charge particle assumed to be on a circular orbit. For generic orbits, we should probably inject block maps into `ExcisionSphere`. ~for convenience this depends on #4771~
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp index 6adcc4da92f20..8051fdf9ab52f 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp @@ -7,11 +7,13 @@ ...
5
4
0
[{"id": "G0", "claim": "The InertialParticlePosition doc comment should say the particle orbits the black hole rather than 'orbiting the worldtube'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Wrap both the InertialParticlePosition and Centered...
null
sxs-collaboration__spectre__4776
sxs-collaboration/spectre
4,776
defect
27c68fdb06a8d6a84754f67f7e6690de2c3dfc74
de8fa2e760a51db1d54e4a04f917e599b193bada
Generalize FaceCenteredCoordinates to Frame and Centered
Generalizes the `FaceCenteredCoordinates` compute tag to Grid and Inertial frames as well as centered and un-centered.
diff --git a/tests/Unit/Evolution/Systems/CurvedScalarWave/Worldtube/TestHelper.hpp b/tests/Unit/Evolution/Systems/CurvedScalarWave/Worldtube/TestHelper.hpp new file mode 100644 index 0000000000000..60b87450444da --- /dev/null +++ b/tests/Unit/Evolution/Systems/CurvedScalarWave/Worldtube/TestHelper.hpp @@ -0,0 +1,110 @...
3
2
0
[{"id": "G0", "claim": "The test helper should be a namespace (e.g. TestHelpers::CurvedScalarWave::Worldtube) instead of a struct.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test helper should construct the BinaryCompactObject directly instead of...
null
sxs-collaboration__spectre__4780
sxs-collaboration/spectre
4,780
defect
a519612f0268320ea0fd8ae041d20caa442d1efa
25266498d9d2fdbbe082b8f4fdfafc95d40755fd
Add PunctureField compute tag
Adds a tag that computes the puncture field if the element abuts the worldtube. ~depends on #4776~
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/PunctureField.cpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/PunctureField.cpp index 7c148145350e..06ceaeddde5a 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/PunctureField.cpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Pun...
1
1
1
[{"id": "G0", "claim": "The PR hardcodes black-hole mass 1 and scalar charge 1 when calling puncture_field, and the reviewer asks that both assumptions either be prominently documented or made configurable input-file options with asserts where they are assumed.", "category": "maintainability", "verdict": "supported", "...
null
sxs-collaboration__spectre__4798
sxs-collaboration/spectre
4,798
defect
5b73c31a4b9a92422a3809b4eacaaf38e2cf4e12
395e57b2265f0975cf136de195fa0729e6dbec8f
Adds infrastructure and actions for elements to send data to the worldtube
## Proposed changes Adds an action for elements to integrate and send data to the worldtube `SendToWorldtube` and an action for the worldtube to receive that data and add up the different pieces of the integral `ReceiveElementData`. ~depends on #4780~
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt index af38ad5aef431..70264537480c6 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists...
4
4
0
[{"id": "G0", "claim": "The `Psi` in the SphericalHarmonicsInbox doc comment should be changed to math mode (\\f$ \\Psi\\f$).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `domain::Tags::Coordinates<Dim, Frame::Grid>` entry in `tags_to_slice_...
null
sxs-collaboration__spectre__4804
sxs-collaboration/spectre
4,804
defect
c967596ee5b1bb2c5919ba6ba579ff395a655218
9ec00f717df69babbf4f26fd4153fd4946c5a31e
Add actions to send data from worldtube to abutting elements
## Proposed changes Adds the final piece of the 0th order worldtube scheme: - an action `SendToElements` in which the worldtube sends the regular field it calculated to the abutting elements - an action `ReceiveWorldtubeData` in which the elements process the sent data into boundary conditions ~depends on #4...
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt index 2d59f2e0206d7..91ed4193e8559 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt +++ b/src/Evolution/...
1
1
0
[{"id": "G0", "claim": "RegularFieldInbox should not carry a map over element IDs in its type since data is sent from a singleton.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__4817
sxs-collaboration/spectre
4,817
defect
a842c3f3b5a482f6d3213fc30c020e30781f3e17
f89852d30f9b784613f0379800400887ef0221b8
Add `GridtoInertialInverseJacobian` compute tag
## Proposed changes Adds a compute tag that computes the grid to inertial inverse jacobian. If the mesh is moving it is be a data reference into `CoordinatesMeshVelocityAndJacobians`. Otherwise it throws an error if it is requested.
diff --git a/src/Domain/TagsTimeDependent.cpp b/src/Domain/TagsTimeDependent.cpp index 5de687b742426..ccf09a6ff2f74 100644 --- a/src/Domain/TagsTimeDependent.cpp +++ b/src/Domain/TagsTimeDependent.cpp @@ -44,6 +44,34 @@ void InertialFromGridCoordinatesCompute<Dim>::function( } } +template <size_t Dim> +void GridT...
1
1
0
[{"id": "G0", "claim": "Document in the new tag's doc comment that requesting this tag will throw an error if the mesh is static.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__4830
sxs-collaboration/spectre
4,830
defect
6125f0861539a299a8b2cd6b56f568993dd23e30
a70894e059bf750ca4030a839143563f96a29d06
Add `ChangeSlabSize` action to worldtube singleton
## Proposed changes Adds capability for the worldtube to change the global slab size with the elements. The worldtube singleton checks the `TimeStepId` of the inbox key to see if a slab change has occurred and changes it accordingly. ~depends on #4826 and #4825~
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt index 91ed4193e8559..7f8035b9d4966 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt +++ b/src/Evolution/...
2
2
2
[{"id": "G0", "claim": "The S1 way of changing the worldtube slab size cannot work because the check that the ChangeSlabSize event runs does not check whether a slab change will occur, and the reviewer asks that the slab be sent after it has been changed on the element, probably unconditionally.", "category": "correctn...
null
sxs-collaboration__spectre__4858
sxs-collaboration/spectre
4,858
defect
1521490ed9114f309b0641d71480327981c1d51a
f85e7241ca5ba07ef9c01504599abb21abfae361
Improve CSW characteristics calculations
## Proposed changes Fixes some outdated initialization and adds an overload to `characteristic_fields` that is a lot safer and looks more tidy. There are now a lot of unused overloads that use variables directly and unused compute tags `EvolvedFieldsFromCharacteristicFieldsCompute`, `CharacteristicFieldsCompute` ...
diff --git a/src/Evolution/Systems/CurvedScalarWave/BoundaryConditions/Worldtube.cpp b/src/Evolution/Systems/CurvedScalarWave/BoundaryConditions/Worldtube.cpp index 49965029454a8..80ea8be6e3925 100644 --- a/src/Evolution/Systems/CurvedScalarWave/BoundaryConditions/Worldtube.cpp +++ b/src/Evolution/Systems/CurvedScalarW...
1
1
0
[{"id": "G0", "claim": "In the new not-null characteristic_fields overload, `*v_minus = dot_product(unit_normal_vector, phi)` allocates and copies instead of writing directly into v_minus; the author should use the not-null `dot_product(v_minus, unit_normal_vector, phi)` overload to elide the allocation and copy.", "ca...
null
sxs-collaboration__spectre__4865
sxs-collaboration/spectre
4,865
defect
b2bf9277bd95a596766f47124a990f5617d20041
2e9ade5d6d7552e3ff9c08a907f6242cfc0434cd
Add real spherical harmonics implementation
## Proposed changes Adds a simple implementation to calculate real spherical harmonics using boost. I will only need to use it up to l=2. Alternatively, they could be calculated with the spin-weighted spherical harmonics, see the test.
diff --git a/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt b/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt index 1b6c910ee985d..5234c524b1ce6 100644 --- a/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt +++ b/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt @@ -9,6 +9,7 @@ spe...
3
3
0
[{"id": "G0", "claim": "The docs line saying `\\mathcal{R}` denotes the imaginary part should say `\\mathcal{I}` instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sign (and multiplication by M_SQRT2) could be hoisted out of the per-eleme...
null
sxs-collaboration__spectre__4866
sxs-collaboration/spectre
4,866
defect
18a8d0379f3bb8e529a2f037f580ffa9e777ca9c
5363fe1d7b396020186e118e6bf08a55f3c7d4f8
Add Ylm to STF conversion up to l=2
## Proposed changes Adds functions that convert real spherical harmonic coefficients to symmetric trace free tensor coefficients. ~depends on #4865~
diff --git a/docs/References.bib b/docs/References.bib index 34017c24d1115..153b2af2b1f63 100644 --- a/docs/References.bib +++ b/docs/References.bib @@ -2110,6 +2110,21 @@ @article{Teukolsky2015ega SLACcitation = "%%CITATION = ARXIV:1510.01190;%%" } +@article{Thorne1980, + title = {Multipole expansions of grav...
5
5
0
[{"id": "G0", "claim": "In YlmToStf.cpp `/ 4.` should be written `* 0.25` and `.at(0)` should be `[0]`, and the same indexing style applied throughout the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Given the sparsity of the l=1 convers...
null
sxs-collaboration__spectre__4881
sxs-collaboration/spectre
4,881
defect
18a8d0379f3bb8e529a2f037f580ffa9e777ca9c
0107780726f07d8dc39d3dcbeeff684a13f83473
Make Worldtube use STF tensors
## Proposed changes Introduces a `STFTensor` tag that holds a symmetric trace free tensor of a given rank and makes the worldtube use it. This will be necessary for the second order implementation. ~depends on #4866~
diff --git a/docs/References.bib b/docs/References.bib index 34017c24d1115..153b2af2b1f63 100644 --- a/docs/References.bib +++ b/docs/References.bib @@ -2110,6 +2110,21 @@ @article{Teukolsky2015ega SLACcitation = "%%CITATION = ARXIV:1510.01190;%%" } +@article{Thorne1980, + title = {Multipole expansions of grav...
3
3
0
[{"id": "G0", "claim": "The new namespace should be spelled `Stf` or `stf` instead of `STF`, per the project's naming preference.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tag struct should be named `StfTensor` rather than `STFTensor`, ...
null
sxs-collaboration__spectre__4885
sxs-collaboration/spectre
4,885
defect
1521490ed9114f309b0641d71480327981c1d51a
4dc080342604397ea8c087d64450caca4b8237cc
Transform time derivative of regular field to grid frame
## Proposed changes This transforms the time derivative of the regular field to the grid frame before sending it to the worldtube. The advective term needed for this is stored in an extra tag which is used to transform the worldtube solution back to the inertial frame before applying boundary conditions to the element...
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/ReceiveWorldtubeData.hpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/ReceiveWorldtubeData.hpp index 899fd8eb6c8d8..3779acfdb8c0f 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/ReceiveWorldtub...
2
2
1
[{"id": "G0", "claim": "There should be an `if (mesh_velocity.has_value())` to guard against errors on a static mesh (the code calls `.value()` on the mesh velocity optional unconditionally).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The author...
null
sxs-collaboration__spectre__4894
sxs-collaboration/spectre
4,894
defect
96d3db6f80ee13e20a5435a69ddd97077502d8a1
4154f8dad07bd28d19f2c899b2cdaa3229122b09
Add InitializeSpacetimeTags mutator
## Proposed changes Adds a mutator that computes the inverse spacetime metric and the trace of the Christoffel symbols of the second kind. These will be needed for the 2nd order evolution of the worldtube.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/CMakeLists.txt index ba81fdbbc5911..486d85935d532 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/CMakeLists.txt +++ b/src/Evol...
2
2
0
[{"id": "G0", "claim": "Move the definition of InitializeSpacetimeTags::apply out of the header into a .cpp file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Correct the misspelling 'assimes' to 'assumes' in the struct's doc comment.", "category": "do...
null
sxs-collaboration__spectre__4896
sxs-collaboration/spectre
4,896
defect
96d3db6f80ee13e20a5435a69ddd97077502d8a1
152cfb9264dc1fdd8402eba6139b4c1b328cc6ac
Add `TimeDerivative` action to worldtube
## Proposed changes For the second order worldtube evolution, we need to evolve the expanded scalar wave equation inside the worldtube. This PR adds the required ODE.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/CMakeLists.txt index ba81fdbbc5911..8b81c2cef7035 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/CMakeLists.txt +++ b/src/Evol...
2
2
0
[{"id": "G0", "claim": "The doc should note whether the `_0` subscripted tensors are the numerical DG values or the analytic ones and what `_0` denotes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the TimeDerivativeMutator::apply definitio...
null
sxs-collaboration__spectre__4902
sxs-collaboration/spectre
4,902
defect
3549acb9c2f4d5f5b025f84763be3aeaa6260064
c16aac45b6cafbfd04335226ae436b8da69dc5e2
Initialize constraint gammas for worldtube scheme
## Proposed changes Adds an initializer that creates a Gaussian profile for gamma 2, necessary for stable evolution with the worldtube scheme.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt index 91ed4193e8559..dbf14dea39181 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/CMakeLists.txt +++ b/src/Evolution/...
2
2
0
[{"id": "G0", "claim": "The class docstring should line/sentence break after `system` because the long sentence makes Doxygen's brief section too long.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The numeric literals should be written `1.e` ins...
null
sxs-collaboration__spectre__4925
sxs-collaboration/spectre
4,925
defect
f9047ed364aeab12b055a98868fea1d9a828d4c1
9701f88dce0e15e63609be13160e04f359b00d16
Add worldtube observation action
## Proposed changes Adds an action that observes the coefficients of the Taylor series of the regular field held by the worldtube singleton.
diff --git a/tests/InputFiles/CurvedScalarWave/WorldtubeKerrSchild.yaml b/tests/InputFiles/CurvedScalarWave/WorldtubeKerrSchild.yaml index 7c09de2147795..55d87317f9b80 100644 --- a/tests/InputFiles/CurvedScalarWave/WorldtubeKerrSchild.yaml +++ b/tests/InputFiles/CurvedScalarWave/WorldtubeKerrSchild.yaml @@ -97,9 +97,9 ...
2
2
1
[{"id": "G0", "claim": "Changing the completion trigger from `Times`/`FinalTime` to `TimeCompares` is unjustified and breaks things that relied on the removed `FinalTime` anchor.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new ObserveCoeffici...
null
sxs-collaboration__spectre__4964
sxs-collaboration/spectre
4,964
defect
02558b05cc81eb6d911b3b16f5215729e605a53e
fd8fbab06e56d6046818b3d44c9850ab1d99cf54
Speed up `DampedHarmonic`
## Proposed changes Profiling showed that calculating the gauge function took >60% of the `GH::TimeDerivative` calculation when using `DampedHarmonic`. This is because: - it used a lot of `pow` calls which can be optimized for integers - it repeatedly called the function `GeneralizedHarmonic::gauges::DampedHarm...
diff --git a/src/Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/DampedHarmonic.cpp b/src/Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/DampedHarmonic.cpp index 666bd78244f45..fdef45457e399 100644 --- a/src/Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/DampedHarmonic.cpp +++ b/src/E...
4
3
0
[{"id": "G0", "claim": "integer_pow in DataStructures/Blaze/IntegerPow.hpp could be several times faster by doing casework on small-integer exponents instead of the recursive computation.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The newly adde...
null
sxs-collaboration__spectre__5681
sxs-collaboration/spectre
5,681
defect
5fa7a698606616dabe026710c5c4c8c2af010831
a47713bef88317c7f49504a50acf20c2b73d9b7b
Add geodesic coordinate acceleration function
Adds a free function that computes the geodesic coordinate acceleration and a corresponding compute tag for the scalar charge. The free function is in `PoinwiseFunctions/GeneralRelativity` even though it is not really a pointwise function but I could not think of a better place to put it. ~depends on #5677 #5688~ ...
diff --git a/src/PointwiseFunctions/GeneralRelativity/CMakeLists.txt b/src/PointwiseFunctions/GeneralRelativity/CMakeLists.txt index 00abdb311c26b..ddcd59775a6f4 100644 --- a/src/PointwiseFunctions/GeneralRelativity/CMakeLists.txt +++ b/src/PointwiseFunctions/GeneralRelativity/CMakeLists.txt @@ -12,6 +12,7 @@ spectre_t...
4
4
1
[{"id": "G0", "claim": "Since these functions currently only act on doubles they aren't really \"pointwise\"; the reviewer asks to template them on DataType and instantiate them for double and DataVector in the cpp, and for the circular-orbit test to check both double and DataVector while keeping the conserved-quantiti...
null
sxs-collaboration__spectre__5775
sxs-collaboration/spectre
5,775
defect
6f3ae8cb0117a7bfbabf9674e238bcee1694fe22
e099e3e22629d55fb1955de204d17b26064a7ccd
Add EvolvedPosition/Velocity Tags
These tags will be used to integrate the orbit of the scalar charge. ~depends on #5774~
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp index 7a6c6a0928119..4e7697f226dac 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp @@ -145,6 +145,18 @...
2
1
0
[{"id": "G0", "claim": "Reuse the ParticlePositionVelocity simple tag on both the elements and the worldtube singleton, with only different compute tags, so it is clear the position/velocity are the same thing computed differently (and explain how they are computed differently).", "category": "design", "verdict": "oppo...
null
sxs-collaboration__spectre__5776
sxs-collaboration/spectre
5,776
defect
7dc307c561fe56cc7890e6b0198f3636b6f6aaa7
bf661b754eaef114a2884128fa41843137867039
Add `InitialPositionVelocity` tag
Adds the `InitialPositionAndVelocity` tag. Also, the worldtube system is changed to evolve the position and velocity by using the new tag to initialize them. ~depends on #5774 #5775~
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp index 92156e57fabeb..3182205254735 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp @@ -36,6 +36,9 @@ ...
2
1
0
[{"id": "G0", "claim": "At t = 0 the grid and inertial frames can be assumed to coincide, so the InitialPositionAndVelocity tag need not call the time-dependent maps and could just copy the grid centers into an inertial tensor; the reviewer asks whether the curved scalar wave system assumes otherwise.", "category": "de...
null
sxs-collaboration__spectre__5831
sxs-collaboration/spectre
5,831
defect
d045e619b929d4042c3f12ed989af1181b0a4e6b
35a04589bf5c9ae84c845cb656af066b07958d9c
Add `FaceQuantitiesCompute` tag
In the iterative scheme that I will open PRs for shortly, the puncture field needs to be evaluated several times each time step and `Actions::SendToWorldtube` is run each time. This new compute tag caches all the quantities on the element faces adjacent to the worldtube that do not need to be re-computed. Doing so, it ...
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp index b014f8bed2d13..3aa9317402f9a 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/Tags.cpp @@ -12,6 +12,7 @@ ...
2
2
0
[{"id": "G0", "claim": "Add to the new FaceQuantities tag's \\details that it returns a nullopt when the element is not on the face of the worldtube boundary.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Explicitly reset the result and return ea...
null
sxs-collaboration__spectre__5860
sxs-collaboration/spectre
5,860
defect
46fa1d54b95cdf91fbb067eff2eca3dd1c518c3a
b73f79056fd0907bd69a578fcb7bb79b23eb32e2
Add 0th order acceleration terms
The terms are added to the puncture field for non-geodesic orbits. They are described in Section IV of https://arxiv.org/abs/2403.08864.
diff --git a/docs/References.bib b/docs/References.bib index 673bba4953503..fb6bc8248820a 100644 --- a/docs/References.bib +++ b/docs/References.bib @@ -2510,6 +2510,34 @@ @article{White2015omx SLACcitation = "%%CITATION = ARXIV:1511.00943;%%" } +@article{Wittek:2023nyi, + author = "Wittek, Nikolas A. and ot...
5
5
0
[{"id": "G0", "claim": "Add a comment that the code was auto-generated (Mathematica/Sympy), link to the public code that generated it, and make a cursory optimization pass noting where optimizations were made.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
sxs-collaboration__spectre__5861
sxs-collaboration/spectre
5,861
defect
c4864ba59ab2d0d4227eb983d3e1eb61f059bc16
5935084eb64112cc9557bea99f0904e3ab347ffd
Add 1st order acceleration terms
Add the first order acceleration terms to the worldtube. ~depends on #5860~
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/AccelerationTermsOrder1.cpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/AccelerationTermsOrder1.cpp new file mode 100644 index 0000000000000..9604013859015 --- /dev/null +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/AccelerationTermsOrder1.cp...
2
2
0
[{"id": "G0", "claim": "The reviewer asks why the derivative test's comparison tolerance was loosened by three orders of magnitude, from 1e-12 to 1e-9.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Clarify in the acceleration_terms_1 doc comment whethe...
null
sxs-collaboration__spectre__5865
sxs-collaboration/spectre
5,865
defect
46fa1d54b95cdf91fbb067eff2eca3dd1c518c3a
fc3cb9cd1fe30f1a0d7a22c64ec52ba973024f07
Add derivatives of Kerr Schild quantities
The acceleration terms of the worldtube require first and second spatial derivatives of Kerr Schild quantities. I computed these with Mathematica for a spin-free Kerr-Schild background of mass 1, centered on the coordinate system. As this is a very specific, specialised calculation which I do not expect others to need...
diff --git a/src/DataStructures/Tensor/TypeAliases.hpp b/src/DataStructures/Tensor/TypeAliases.hpp index 647bd601c4ad8..9b226e9bd8778 100644 --- a/src/DataStructures/Tensor/TypeAliases.hpp +++ b/src/DataStructures/Tensor/TypeAliases.hpp @@ -359,6 +359,30 @@ using ijaa = Tensor<DataType, tmpl::integral_list<std::int32_t...
2
1
1
[{"id": "G0", "claim": "Do not std::forward the same arguments multiple times in numerical_derivative, since forwarding implies the object may be moved from; instead wrap the function in a lambda inside the loop capturing the loop variables rather than modifying the shared helper.", "category": "correctness", "verdict"...
null
sxs-collaboration__spectre__5869
sxs-collaboration/spectre
5,869
defect
46fa1d54b95cdf91fbb067eff2eca3dd1c518c3a
66d152ecb251a7f2a9e3a6fd66fc512b27ce4175
Add scalar self force and derivatives calculations
These quantities are mostly longer derivatives computed analytically by applying the chain rule several times. They are needed for the computing the acceleration terms of the puncture field.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp index a0930ff8c6ead..c6020a095e454 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp...
1
1
0
[{"id": "G0", "claim": "The doc comment of the dt self-force calculation should reference the `self_force_per_mass` function so it is clear what the chain rule is applied on.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6177
sxs-collaboration/spectre
6,177
defect
17268ad40c735180c87c60a23676ef5c9a12b1bf
f3bfbfb9acb54a1eccec25492144d8f291e5de3a
Test ADM integrals with a boosted Schwarzschild solution.
## Proposed changes <!-- At a high level, describe what this PR does. --> This PR tests the ADM mass and ADM linear momentum calculations with a spacetime solution that has a conformal factor different than 1. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of wh...
diff --git a/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp b/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp index db9ae231efb07..e0755c66a674e 100644 --- a/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp +++ b/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp @@ -97,7 +97,7 @@ void ...
6
6
1
[{"id": "G0", "claim": "Instead of the std::variant and the get_solution_variables helper, the test functions in Test_AdmMass.cpp and Test_AdmLinearMomentum.cpp should be templated on Solution and take const Solution& so the class is inferred at compile time.", "category": "design", "verdict": "supported", "priority": ...
null
sxs-collaboration__spectre__6192
sxs-collaboration/spectre
6,192
defect
a67c8a6fcf54464b2812090058667adc01e62c63
20242c997c1eb43094b8bb956b092898fdfb09a8
Measure center of mass in XCTS system.
## Proposed changes <!-- At a high level, describe what this PR does. --> This PR computes the center of mass as a surface integral over the domain outer boundary. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they sh...
diff --git a/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp b/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp index e0755c66a674e..b1608b655c7e2 100644 --- a/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp +++ b/src/Elliptic/Systems/Xcts/Events/ObserveAdmIntegrals.cpp @@ -13,12 +13,14 @@ #i...
2
2
1
[{"id": "G0", "claim": "Get the face coordinates from the DataBox via domain::Tags::Faces<3, domain::Tags::Coordinates<3, Frame::Inertial>> instead of projecting inertial_coords to the boundary.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the alre...
null
sxs-collaboration__spectre__6227
sxs-collaboration/spectre
6,227
defect
e12c81005bd704977add18855208363c49c71cd0
f581ae57204baf3894ef1fec37f36925555dda55
Combine Shape map calls
Currently, the shape map computes the coordinates, frame velocity and jacobians separately which duplicates a lot of work such as computing the spherical harmonic expansion. This PR adds a combined call to these three quantities. I found that this speeds up simulations between 16 % and 27% (when combined with #6223)...
diff --git a/src/Domain/CoordinateMaps/CoordinateMap.tpp b/src/Domain/CoordinateMaps/CoordinateMap.tpp index 10e7abe5e994f..7f6f70207a499 100644 --- a/src/Domain/CoordinateMaps/CoordinateMap.tpp +++ b/src/Domain/CoordinateMaps/CoordinateMap.tpp @@ -21,6 +21,7 @@ #include <utility> #include <vector> +#include "DataS...
6
5
3
[{"id": "G0", "claim": "Factor out the bulk of the operator(), frame velocity, and jacobian functions into free functions taking common arguments (like centered coords, theta_phis, functions of time) to avoid duplicating code and divergent future edits.", "category": "maintainability", "verdict": "supported", "priority...
null
sxs-collaboration__spectre__6385
sxs-collaboration/spectre
6,385
defect
eeafc0d2eb0d606c3de4a8b26f687a3a2c31a1b9
9813554aa9302963598983d4b4249eff3791dc76
Add self force turn on function
Adds the turn on function used to continuously turn on the self force.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp index 385a49b4c02fa..31b2123d7c9fe 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/SelfForce.cpp...
2
2
0
[{"id": "G0", "claim": "The documentation of turn_on_function is ambiguous about what $t$ denotes (a single turn-on time or the current time) and should be updated to make clear that $t = t_{cur} - t_{ON}$.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
sxs-collaboration__spectre__6395
sxs-collaboration/spectre
6,395
defect
98eb7697e2e3fd0027265de66d8363278436f935
de4931251bd8d28840ee0865873f4724f415b042
Fix shape map loaded from file
## Proposed changes The size of the domain didn't match the Strahlkorper in the file because the loaded l=0, m=0 coefficient was interpreted as a deformation/scale. Fixed by subtracting the size of the original sphere. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of...
diff --git a/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp b/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp index a86cc15307830..d0a7209cc8e66 100644 --- a/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp +++ b/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp @@ -59,7 +59,7 @@ template <bool In...
2
2
1
[{"id": "G0", "claim": "Somewhere in the help text it should be noted that, with this change, the deformed radius will be exactly what is in the YlmsFromFile, and not what is set for the inner/outer radius in the input file.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
sxs-collaboration__spectre__6409
sxs-collaboration/spectre
6,409
defect
047f5140268fc2680430d095fc7d96883747c68e
ea57c946f4b0cca3daf6bce9a8f891fc6b4369c4
Add `InsideHorizon` trigger for worldtube excision
## Proposed changes Add the `InsideHorizon` trigger, that indicates when the worldtube is entirely contained within the event horizon of the central black hole.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt index 99bebd7da7775..b8bacb0002ecc 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists...
5
4
0
[{"id": "G0", "claim": "The class and help documentation should say the 1.99 M coordinate sphere is centered on the origin in the inertial frame.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the hard-coded 1.99 M radius...
null
sxs-collaboration__spectre__6425
sxs-collaboration/spectre
6,425
defect
41764896b49d19fe02ce091a3d0f0299986eabbe
c10d725cf4023807b31ce8d1e19532e1b70f50bd
Improve NVCC & Kokkos support, test on CI
## Proposed changes A few things that allowed me to compile with Kokkos. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <!-- UPGRADE INSTRUCTIONS --> ...
diff --git a/cmake/AddCxxFlag.cmake b/cmake/AddCxxFlag.cmake index 3273325ab828a..15af27daadeec 100644 --- a/cmake/AddCxxFlag.cmake +++ b/cmake/AddCxxFlag.cmake @@ -1,6 +1,12 @@ # Distributed under the MIT License. # See LICENSE.txt for details. +# Have to compile a file (can be empty) to check for flags. +# Kokkos...
2
2
0
[{"id": "G0", "claim": "Whether the Kokkos::kokkos target is an alias (which forced setting properties on 'kokkos' instead) may depend on the Kokkos version, since the old code worked before, so the PR might need to pin Kokkos versions like it does for blaze.", "category": "correctness", "verdict": "supported", "priori...
null
sxs-collaboration__spectre__6427
sxs-collaboration/spectre
6,427
defect
41764896b49d19fe02ce091a3d0f0299986eabbe
ba0bcce3fdad1634bbfebefa5c277bd732087d0a
Maximal Isotropic (Horizon Penetrating) Schwarzschild coordinates for XCTS
Added to the Schwarzschild AnalyticSolution for the XCTS system. ## Proposed changes - Implementation of the Schwarzschild coordinates with a radial transformation such that the radius is isotropic and the coordinates are horizon penetrating. The solution remains maximally sliced. - Implementation of Unit tests....
diff --git a/docs/References.bib b/docs/References.bib index aa24a3d0c32d2..4c98c3846234e 100644 --- a/docs/References.bib +++ b/docs/References.bib @@ -182,6 +182,20 @@ @article{Baumgarte2006ug SLACcitation = "%%CITATION = GR-QC/0610120;%%" } +@article{Baumgarte2007ht, + author = "Baumgarte, Thomas W. and N...
8
7
0
[{"id": "G0", "claim": "The inverse conversions in Schwarzschild.cpp (the Kerr-Schild-from-maximal-isotropic root-finder residual for both double and DataVector, and the MaximalIsotropic conformal factor) should call (a templated version of) `maximal_isotropic_radius_from_areal` instead of reimplementing the conversion...
null
sxs-collaboration__spectre__6436
sxs-collaboration/spectre
6,436
defect
db753a39a17f334c73b790abc861c3901ea98913
66f0ab60e85bf97120279eaf4e37cafe5a3bc149
Add puncture field as initial data for worldtube simulations
## Proposed changes Adds the zeroth order puncture field to be used as initial data for the worldtube simulations.
diff --git a/src/Evolution/Executables/CurvedScalarWave/EvolveWorldtubeCurvedScalarWave.cpp b/src/Evolution/Executables/CurvedScalarWave/EvolveWorldtubeCurvedScalarWave.cpp index 2bafb168a5dba..4d2f5c0fdf987 100644 --- a/src/Evolution/Executables/CurvedScalarWave/EvolveWorldtubeCurvedScalarWave.cpp +++ b/src/Evolution/...
1
1
0
[{"id": "G0", "claim": "The reviewer asks whether it makes sense to keep the ability to use PlaneWave initial data at all in the worldtube executable.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6491
sxs-collaboration/spectre
6,491
defect
5525b1d57ffd1ae71a3bdc64b77ee0ae8e71f031
b45a47bb95c38d34415ae00f3f9740fad1f4a1a9
Allow prolongation/restriction for shape FoT from vol file
## Proposed changes <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <!-- UPGRADE INSTRUCTIONS --...
diff --git a/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp b/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp index 4819adcf7f9ae..d7799b76400a6 100644 --- a/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp +++ b/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp @@ -9,6 +9,7 @@ #include <istream>...
1
1
0
[{"id": "G0", "claim": "Create a YlmSpherepack object directly instead of constructing temporary Strahlkorpers with an unused radius just to obtain their YlmSpherepack.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6493
sxs-collaboration/spectre
6,493
defect
cbc7bdff2445c44145c8bfa25e0b774a3636cd39
c22f8c66abb042000e44dde816138ee42adbd6eb
Fix bugs in Skew map
## Proposed changes Found these as I was testing #6487. Figured I'd factor them out. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two U...
diff --git a/src/Domain/CoordinateMaps/TimeDependent/Skew.cpp b/src/Domain/CoordinateMaps/TimeDependent/Skew.cpp index 1567a85ac7d21..458fdb4b97616 100644 --- a/src/Domain/CoordinateMaps/TimeDependent/Skew.cpp +++ b/src/Domain/CoordinateMaps/TimeDependent/Skew.cpp @@ -38,8 +38,11 @@ Skew::Skew(std::string function_of_t...
1
1
0
[{"id": "G0", "claim": "The Skew.hpp change to the get_width declaration (adding the ignore_error parameter) is in the wrong commit, since it is separated from the definition and use it belongs with.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6500
sxs-collaboration/spectre
6,500
defect
9111517126dfde459e5d7b506e8b35c70a1033a3
a1ed9f0592a6d139bb3180d06d98604be7923c06
Add `OrbitRadius` trigger
## Proposed changes This trigger fires if the worldtube / scalar charge is about to cross any specified radii. It is used to manually adjust the time step during an inspiral.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt b/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt index 7e7817f456f9..458a1f52d6aa 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.txt +++ b/src/Evolution/Systems/CurvedScalarWave/Worldtube/CMakeLists.t...
4
1
0
[{"id": "G0", "claim": "The Radii option does not need to be nested within another struct, so the OptionTags wrapper can be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-coded 1.2 safety factor should be an input option in case it ever...
null
sxs-collaboration__spectre__6502
sxs-collaboration/spectre
6,502
defect
b04c5fe44fd10d490a64c0d2eb862cb5e7d7fda2
abc466c20115a75d9b1b44f822bec01cb65f4c3c
Add ability to preprocess non-GH evolution data
## Proposed changes This allows codes that evolve BSSN or a variant of Z4 to dump the extrinsic curvature and auxiliary shift vector rather than the time derivative of the metric, lapse, and shift. We then compute these time derivatives instead, assuming 1+log slicing and the gamma-driver condition for the shift. If...
diff --git a/.github/workflows/DeployStaticExecutables.yaml b/.github/workflows/DeployStaticExecutables.yaml index 9a16972ed4208..48573982a8121 100644 --- a/.github/workflows/DeployStaticExecutables.yaml +++ b/.github/workflows/DeployStaticExecutables.yaml @@ -67,6 +67,14 @@ jobs: ./tests/InputFiles/Preproce...
2
2
0
[{"id": "G0", "claim": "The new warning in the CCE docs should direct users to just file a GitHub issue when asking for support of other gauge conditions, rather than also emailing the core developers.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
sxs-collaboration__spectre__6507
sxs-collaboration/spectre
6,507
defect
40999ba0afae4c2baeacd56908a70f7cb8f76ce3
6936e3289e0bb0435a91db9e8ef496b91b4958fc
Print worldtube status
## Proposed changes This PR prints a handy, short update about the worldtube orbit to stdout when an observation is done. The PR also removes an obsolete tag, corrects a wrong descritption and fixes a random test failure.
diff --git a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/ObserveWorldtubeSolution.hpp b/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/ObserveWorldtubeSolution.hpp index 68971a60d8603..e8f0ac9454f1c 100644 --- a/src/Evolution/Systems/CurvedScalarWave/Worldtube/SingletonActions/O...
2
2
2
[{"id": "G0", "claim": "Add an option tag for observation verbosity and wrap the worldtube status print in an if on that tag so users can turn the printing off.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Parallel::printf is given a MakeString-built s...
null
sxs-collaboration__spectre__6518
sxs-collaboration/spectre
6,518
defect
2db6ed1ee45e424edcb8a492744341db8293038c
6b6689176a361dd54e0c5863466d72c1f9174b66
Send more quantities to size control for state 3
## Proposed changes These quantities will be needed for state 3 once it is added in order to compute the total derivative of the comoving characteristic speeds with respect to the map parameter $\lambda_{0,0}$. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR...
diff --git a/src/ControlSystem/Measurements/CharSpeed.hpp b/src/ControlSystem/Measurements/CharSpeed.hpp index 9e0c44044f038..5d417262273c9 100644 --- a/src/ControlSystem/Measurements/CharSpeed.hpp +++ b/src/ControlSystem/Measurements/CharSpeed.hpp @@ -10,8 +10,10 @@ #include "ControlSystem/Protocols/Measurement.hpp" ...
1
1
0
[{"id": "G0", "claim": "The commented-out domain::Tags::InverseJacobian lines in the test's template-list arguments should be removed or uncommented.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6539
sxs-collaboration/spectre
6,539
defect
537a1fa2d5d4355abd0fc3d2c1115c2d6f8da51b
092baba4a91cbcf02b123b39a795967f44a0a333
Support disabling control systems in UpdateFunctionOfTime
## Proposed changes This is needed because in BNS simulations we disable the rotation control system once the two NSs are close enough to merger. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two...
diff --git a/src/ControlSystem/UpdateFunctionOfTime.cpp b/src/ControlSystem/UpdateFunctionOfTime.cpp index 20adba2be9f9d..31dc385cc1f4d 100644 --- a/src/ControlSystem/UpdateFunctionOfTime.cpp +++ b/src/ControlSystem/UpdateFunctionOfTime.cpp @@ -68,9 +68,13 @@ void UpdateAggregator::insert(const std::string& control_sys...
3
3
2
[{"id": "G0", "claim": "The doc comment should say \"control systems\" and \"individual control systems\" instead of \"controls systems\" and \"individual controls systems\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should also exer...
null
sxs-collaboration__spectre__6540
sxs-collaboration/spectre
6,540
defect
537a1fa2d5d4355abd0fc3d2c1115c2d6f8da51b
884542da15bbf32ba49260c54ad496ce4a0f4bb9
Support tracking ObjectCenters in TimeDependentTripleGaussian
## Proposed changes This is necessary to have the Gaussian centers move radially with the BNS. Rotation control already takes care of the angular movement, but since BNS doesn't use an expansion map, we need to track the object centers explicitly. ### Upgrade instructions <!-- If this PR makes changes that ot...
diff --git a/src/Evolution/Systems/GeneralizedHarmonic/ConstraintDamping/TimeDependentTripleGaussian.cpp b/src/Evolution/Systems/GeneralizedHarmonic/ConstraintDamping/TimeDependentTripleGaussian.cpp index 301be9118359f..12ef299fa7f9f 100644 --- a/src/Evolution/Systems/GeneralizedHarmonic/ConstraintDamping/TimeDependent...
1
1
0
[{"id": "G0", "claim": "The Center option type should use the default Auto label instead of Options::AutoLabel::None, since a 'none' center is not a meaningful setting for a Gaussian.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6568
sxs-collaboration/spectre
6,568
defect
860d81e824e26109c9be2be6b6560ffb0bedb460
d4a5abf96864827342e165871849e5d2c4610e97
Change observed CCE volume data format.
## Proposed changes Rather than putting each radial shell into its own subgroup, each complex field is unraveled into a single complex vector. At each observation event, we have a complex vector where compactified radius indexes the slowest, followed by \ell number, followed by azimuthal m number, followed by real...
diff --git a/src/Evolution/Systems/Cce/Events/ObserveFields.hpp b/src/Evolution/Systems/Cce/Events/ObserveFields.hpp index 3617d5ee2a243..5ea75b00fb199 100644 --- a/src/Evolution/Systems/Cce/Events/ObserveFields.hpp +++ b/src/Evolution/Systems/Cce/Events/ObserveFields.hpp @@ -100,17 +100,26 @@ std::string name() { * ...
3
3
1
[{"id": "G0", "claim": "The commented-out code block that this hunk adds (an alternative transform-and-copy implementation) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Putting all radii and all modes into one dat file makes...
null
sxs-collaboration__spectre__6576
sxs-collaboration/spectre
6,576
defect
6d0422edb2d9fb19c4503e86e5581426a350776d
b9b2572de562327f0ae43abec5c46453c85e0cd3
Add ZeroMhdTimeDerivatives mutator
## Proposed changes This allows us to lock the elements to atmosphere. This is the last major functional bit needed in develop for BNS simulations. There is still an issue with some error checks in the domain code that I'll discuss with Marceline to figure out. ### Upgrade instructions <!-- If this PR make...
diff --git a/src/Evolution/Executables/GrMhd/GhValenciaDivClean/GhValenciaDivCleanBase.hpp b/src/Evolution/Executables/GrMhd/GhValenciaDivClean/GhValenciaDivCleanBase.hpp index bf038105c7b84..b71f0da728222 100644 --- a/src/Evolution/Executables/GrMhd/GhValenciaDivClean/GhValenciaDivCleanBase.hpp +++ b/src/Evolution/Exe...
2
2
1
[{"id": "G0", "claim": "Add a check that block 6 is in the block group InnerCube, in case someone later rewrites the domain creators so that is no longer true.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ZeroMhdTimeDerivatives is added to all GhGrmhd...
null
sxs-collaboration__spectre__6601
sxs-collaboration/spectre
6,601
defect
c454ed0be8b23f220fb0d2d438b5ab199951f1c2
28c1c7a61e764973db86e6f0f0cc03b2fc1fa108
Enable BNS Translation control, plot control systems with different line styles
## Proposed changes ![iTerm2 93L5pQ Control](https://github.com/user-attachments/assets/43f7581f-5fb8-4bb6-88cc-54b1e0713481) ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUC...
diff --git a/src/ControlSystem/Measurements/BNSCenterOfMass.hpp b/src/ControlSystem/Measurements/BNSCenterOfMass.hpp index aaf9a2769b090..21355f82aace6 100644 --- a/src/ControlSystem/Measurements/BNSCenterOfMass.hpp +++ b/src/ControlSystem/Measurements/BNSCenterOfMass.hpp @@ -12,6 +12,7 @@ #include "ControlSystem/Prot...
1
1
0
[{"id": "G0", "claim": "Add a comment above the control_error alias explaining that even though BNS has two objects, translation is controlled only via the CoM, not the individual objects, so the control error is for 1 object.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
sxs-collaboration__spectre__6615
sxs-collaboration/spectre
6,615
defect
918cc53cc1f1df3486692636dc908c6f290bfdd2
c42ef4da9523f7144369a899f7584da5ee740c66
Fix bugs in AMR TruncationError criterion
## Proposed changes <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <!-- UPGRADE INSTRUCTIONS --...
diff --git a/src/ParallelAlgorithms/Amr/Criteria/TruncationError.cpp b/src/ParallelAlgorithms/Amr/Criteria/TruncationError.cpp index 96b1af586eda4..d9f5536ed6a8c 100644 --- a/src/ParallelAlgorithms/Amr/Criteria/TruncationError.cpp +++ b/src/ParallelAlgorithms/Amr/Criteria/TruncationError.cpp @@ -5,7 +5,6 @@ #include...
4
4
0
[{"id": "G0", "claim": "The but-branch of the coarsening check, which now requires a target to hold once it is unconditionally read, could instead be handled by treating an unset target as infinity (value_or(inf)) rather than by making the target non-optional.", "category": "design", "verdict": "supported", "priority":...
null
sxs-collaboration__spectre__6621
sxs-collaboration/spectre
6,621
defect
b5887a7ca4a7a4b405af168ebcb01900f59ff363
7251e276262b7612125901b9757af1301d8a47e4
Implement h-refinement projectors for volume data
## Proposed changes <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <!-- UPGRADE INSTRUCTIONS --...
diff --git a/src/Time/History.hpp b/src/Time/History.hpp index c62eae1bc08f9..3806c979d7868 100644 --- a/src/Time/History.hpp +++ b/src/Time/History.hpp @@ -1047,6 +1047,8 @@ std::ostream& operator<<(std::ostream& os, const History<Vars>& history) { /// /// An overload applying the same transformation to the values a...
3
3
2
[{"id": "G0", "claim": "The ASSERT message should say \"Only one of the entries to combine has a value\" rather than the ungrammatical \"Only one entries to combine has a value\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The substep-combinin...
null
sxs-collaboration__spectre__6634
sxs-collaboration/spectre
6,634
defect
1b1d15d3f0f121f86a9b03883e7441194722107b
dfa1b536083399f5624d69513190f603b306db54
Multigrid: add direct bottom solver
## Proposed changes Allows to use a separate "bottom solver" at the coarsest multigrid level. The bottom solver builds the linear operator matrix explicitly and inverts it directly. This can significantly cut down the number of iterations the solver needs at the cost of building and inverting the coarsest-grid matri...
diff --git a/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp b/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp index a40eddcae7994..5e281ead4f649 100644 --- a/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp +++ b/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp @@ -32,...
2
2
0
[{"id": "G0", "claim": "In StoreMatrixColumn the subfile name should be scoped with an if-init statement (if (const auto& subfile_name = get<Tags::MatrixSubfileName>(box); subfile_name.has_value())) instead of a separate declaration.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "i...
null
sxs-collaboration__spectre__6638
sxs-collaboration/spectre
6,638
defect
1b6725ced546a851106701c7a97cd8a343cb5291
69dadad458b13b047f4a6443e565530062350e18
Add callback to dump scalar variables together with metric variables on worldtube
## Proposed changes Write CurvedScalarWave variables together with the BondiSachs quantities for Cce. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do ...
diff --git a/src/Evolution/Executables/ScalarTensor/CMakeLists.txt b/src/Evolution/Executables/ScalarTensor/CMakeLists.txt index 66b513b45c13c..8e38bd3b89b8e 100644 --- a/src/Evolution/Executables/ScalarTensor/CMakeLists.txt +++ b/src/Evolution/Executables/ScalarTensor/CMakeLists.txt @@ -14,6 +14,7 @@ target_link_libra...
11
9
2
[{"id": "G0", "claim": "The callback should not copy the whole write path for Klein-Gordon; it should declare the KG variables up front and interject `if constexpr (include_klein_gordon)` blocks inside the single radius loop, cutting down the changes in the file.", "category": "design", "verdict": "supported", "priorit...
null
sxs-collaboration__spectre__6639
sxs-collaboration/spectre
6,639
defect
b5aa92ba9b8d6b0a3733806ec75e723375928ebc
d1964e34ebc746e60eeac1252db04603e5e7d751
Change background GR variable in MC to match GhGrMhd
## Proposed changes Change background variables used by the Monte-Carlo code to be consistent with GhGrMhd code ### Upgrade instructions None ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run `make doc` to generate the documentation locally into `BUILD...
diff --git a/src/Evolution/Executables/RadiationTransport/MonteCarlo/EvolveMonteCarlo.hpp b/src/Evolution/Executables/RadiationTransport/MonteCarlo/EvolveMonteCarlo.hpp index a1a8dd9eee411..8926f375d2e8a 100644 --- a/src/Evolution/Executables/RadiationTransport/MonteCarlo/EvolveMonteCarlo.hpp +++ b/src/Evolution/Execut...
3
3
2
[{"id": "G0", "claim": "Rename the template parameter `initialize_background` to camel case `InitializeBackground` in InitializeMCTags, per the project's convention for template parameters.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Combine ...
null
sxs-collaboration__spectre__6645
sxs-collaboration/spectre
6,645
defect
b15e8c7af292e649002432acb72e5987dfd8429b
53f5e612f67e16a663b5b43f83345210bb661346
Add spatial covariant derivative of extrinsic curvature
## Proposed changes Add compute tag for the spatial covariant derivative of the extrinsic curvature. To compute WeylMagnetic (magnetic part of the Weyl tensor) we need the Spatial Covariant derivative of the Extrinsic curvature. The compute tag for WeylMagnetic was previously requiring the (partial) derivative o...
diff --git a/src/PointwiseFunctions/GeneralRelativity/ExtrinsicCurvature.cpp b/src/PointwiseFunctions/GeneralRelativity/ExtrinsicCurvature.cpp index e45a93e5d85a5..a2fd90b0ede18 100644 --- a/src/PointwiseFunctions/GeneralRelativity/ExtrinsicCurvature.cpp +++ b/src/PointwiseFunctions/GeneralRelativity/ExtrinsicCurvature...
2
2
0
[{"id": "G0", "claim": "Add a brief doxygen string (e.g. \\copydoc covariant_derivative_of_extrinsic_curvature) to the Tags::CovariantDerivativeOfExtrinsicCurvatureCompute struct so it is discoverable in the documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
sxs-collaboration__spectre__6665
sxs-collaboration/spectre
6,665
defect
eefe1af032bd0661aa83e85dcbab955922178b93
fb55a04b2c4776fef2e23bd2ab2f452e7bbcf367
Add constructor for replay FoT in FromVolumeFile
## Proposed changes Adds a constructor to replay a function of time from volume data allowing access to all the history and updates of the function of time. This is needed for the transition to ringdown translation function of time. ### Upgrade instructions <!-- If this PR makes changes that other people shou...
diff --git a/src/Domain/Creators/TimeDependentOptions/ExpansionMap.cpp b/src/Domain/Creators/TimeDependentOptions/ExpansionMap.cpp index 01da212fb9294..ff61a1d2ee925 100644 --- a/src/Domain/Creators/TimeDependentOptions/ExpansionMap.cpp +++ b/src/Domain/Creators/TimeDependentOptions/ExpansionMap.cpp @@ -79,7 +79,7 @@ F...
2
2
1
[{"id": "G0", "claim": "Instead of adding a second replay constructor that takes an Options::Context and errors in the cpp when replay is false, extend the original constructor with a defaulted `bool replay = false` and add a comment that the replay option cannot be set from options.", "category": "design", "verdict": ...
null
sxs-collaboration__spectre__6667
sxs-collaboration/spectre
6,667
defect
7a701d32a3a347685c695fad329cb4eb87920f21
56b868c719b477a788761aac1f412aac0bd849f3
Add action modifying fluid variables for MC coupling
## Proposed changes Add an action that (a) modifies the fluid evolved variables to account for coupling with MC (b) resets the variables containing the MC coupling to zero ### Upgrade instructions None ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run ...
diff --git a/src/Evolution/Particles/MonteCarlo/Actions/CMakeLists.txt b/src/Evolution/Particles/MonteCarlo/Actions/CMakeLists.txt index 592475de50191..8f002d1afbc36 100644 --- a/src/Evolution/Particles/MonteCarlo/Actions/CMakeLists.txt +++ b/src/Evolution/Particles/MonteCarlo/Actions/CMakeLists.txt @@ -5,6 +5,7 @@ spe...
3
2
0
[{"id": "G0", "claim": "The PR should use the existing generic action `::Actions::MutateApply<Particles::MonteCarlo::FluidCouplingMutator>` instead of defining its own `CoupleMonteCarloToFluid` action, and could move the ASSERT into the mutator.", "category": "design", "verdict": "supported", "priority": "P2", "scope":...
null
sxs-collaboration__spectre__6686
sxs-collaboration/spectre
6,686
defect
39860ae98d97c887ad6e9f7128ab65be03f0a140
1a466465e815fd7155611df58edbc72da1b829cd
Change polytropic to tab EOS for CCSN initialize
## Proposed changes Proper read in of tabulated EOS data to initialize CCSN executable. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the tw...
diff --git a/src/PointwiseFunctions/AnalyticData/GrMhd/CcsnCollapse.cpp b/src/PointwiseFunctions/AnalyticData/GrMhd/CcsnCollapse.cpp index 701e8d252a33b..4c076dd47ace2 100644 --- a/src/PointwiseFunctions/AnalyticData/GrMhd/CcsnCollapse.cpp +++ b/src/PointwiseFunctions/AnalyticData/GrMhd/CcsnCollapse.cpp @@ -77,8 +77,11...
4
3
0
[{"id": "G0", "claim": "The radius-index lookup in ProgenitorProfile::interpolate can use a binary search (std::lower_bound with std::distance) instead of the linear loop over radius_.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The constructor s...
null
sxs-collaboration__spectre__6690
sxs-collaboration/spectre
6,690
defect
a11e1b5dddd2d36c493f6de7192742bac8988df8
4ef2679ea8ba6b476f5d2c5e68f61890092ab1f8
Add scalar self-force boundary conditions
## Proposed changes <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <!-- UPGRADE INSTRUCTIONS --...
diff --git a/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/Angular.cpp b/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/Angular.cpp new file mode 100644 index 0000000000000..f098438002113 --- /dev/null +++ b/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/Angular.cpp @@ -0,0 +1,47 @@ +// D...
5
4
2
[{"id": "G0", "claim": "Factory.hpp should have Doxygen documentation for the ScalarSelfForce::BoundaryConditions namespace and for the standard_boundary_conditions list so they show up in the docs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
sxs-collaboration__spectre__6691
sxs-collaboration/spectre
6,691
defect
39860ae98d97c887ad6e9f7128ab65be03f0a140
efac58f6b0f2d2e98c487e35bc1ff3dd8cb90404
Add 1D Cartoon Expansion Calculation
## Proposed changes Calculate the expansion for spherically symmetric cartoon problems to find black hole horizons. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what t...
diff --git a/src/PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/CMakeLists.txt b/src/PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/CMakeLists.txt index d1a5d80947bec..d76c562f10f9b 100644 --- a/src/PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/CMakeLists.txt +++ b/src/PointwiseFunctions/...
3
3
0
[{"id": "G0", "claim": "The 'Compute item' doxygen comment sits above the simple tag instead of the compute tag, leaving the new tags without proper brief docs; move it to the compute tag and add a very brief dox.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
sxs-collaboration__spectre__6693
sxs-collaboration/spectre
6,693
defect
9d7587596ecbf6f5e5f64a037cc2ba5cfe6810c0
2832d7af50267c884d5c72bbddd9a0c2f13d7967
Add a new action ReceiveAndSendDataForReconstruction
## Proposed changes This PR adds a new action in ReconstructionCommunication. The action enables special handling for generating the ghost data when EnableExtensionDirection is set to true in SubcellOptions. If not enabled, the action does nothing. In curved meshes, some ghost points may fall outside the immediat...
diff --git a/src/Evolution/DgSubcell/Actions/ReconstructionCommunication.hpp b/src/Evolution/DgSubcell/Actions/ReconstructionCommunication.hpp index d0dea668e1507..73051f9410d76 100644 --- a/src/Evolution/DgSubcell/Actions/ReconstructionCommunication.hpp +++ b/src/Evolution/DgSubcell/Actions/ReconstructionCommunication...
19
18
0
[{"id": "G0", "claim": "Add a parenthetical pointing to the documentation of ReceiveAndSendDataForReconstruction for what \"problematic\" means, since the SendDataForReconstruction comment gives no context.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
sxs-collaboration__spectre__6711
sxs-collaboration/spectre
6,711
defect
a11e1b5dddd2d36c493f6de7192742bac8988df8
bf850e19c6866ca2a530497e9d2d37dabb6b5ff6
Xcts: allow superposed lapse as horizon boundary condition
## Proposed changes This is SpEC's choice, so we also allow it to compare to SpEC. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <!-- UPGRADE INSTRUCT...
diff --git a/src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/KerrSchild.hpp b/src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/KerrSchild.hpp index 6e14da7780d3f..7732fea105444 100644 --- a/src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/KerrSchild.hpp +++ b/src/PointwiseFunctions/Analyt...
1
1
0
[{"id": "G0", "claim": "The default value added for the KerrSchild constructor's center argument should be removed, since the project has a theme of minimizing defaults to increase transparency.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6718
sxs-collaboration/spectre
6,718
defect
e425c16ea84ec6b2aeb63f0742a653bdcb76e6e9
4e0684b0642adc7583fb0b50409a4a9a80c8658d
Add GR self-force tags
## Proposed changes <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <!-- UPGRADE INSTRUCTIONS --...
diff --git a/src/DataStructures/Tensor/TypeAliases.hpp b/src/DataStructures/Tensor/TypeAliases.hpp index f66fa48e9e399..2640b65d3e027 100644 --- a/src/DataStructures/Tensor/TypeAliases.hpp +++ b/src/DataStructures/Tensor/TypeAliases.hpp @@ -393,6 +393,12 @@ using Ijaa = Tensor<DataType, tmpl::integral_list<std::int32_t...
1
1
0
[{"id": "G0", "claim": "The LaTeX `\\exp{...}` in the new GrSelfForce Tags.hpp equations won't render because the braces are unescaped; use `\\exp\\{...\\}` instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6730
sxs-collaboration/spectre
6,730
defect
e496d0dc17057820a29d61ccff41722cd6e892cd
6b02085cf856fbdbb3a3a8d3a892b540ba358cd7
Implement DG Cartoon partial derivatives
## Proposed changes <!-- At a high level, describe what this PR does. --> The first commit is to allow a Mesh to take a `Cartoon` basis which can only ever have one grid point. The second commit uses Michael Pajkos's Cartoon code to find partial derivatives not in the computational domain. As we divide by th...
diff --git a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp index 68dc3bd16d784..ec9eb722b9b98 100644 --- a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp +++ b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp...
25
23
3
[{"id": "G0", "claim": "Fix the typo 'easiliy' -> 'easily' in the cartoon_partial_derivatives documentation.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Capitalize 'jacobian' to 'Jacobian' in the cartoon_partial_derivatives documentation.", "ca...
null
sxs-collaboration__spectre__6741
sxs-collaboration/spectre
6,741
defect
7e0ca88b18d9ea216fcd8c4821b0045860289ad4
df1f84595d971bbcc318a826ebb1fc2f043e6f04
AH rewrite: Add AH storage and destination
## Proposed changes Second PR of horizon finder rewrite which adds the storage structs for all the data of the horizon finder, and an enum for the destination (either "Observation" or "ControlSystem"). <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes ch...
diff --git a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt index 5ba9908635a3e..c5dd958c00972 100644 --- a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt +++ b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt @@ -8,8 +8,...
1
1
1
[{"id": "G0", "claim": "Storage.hpp is missing required standard includes — at minimum <cstddef>, <set>, and <unordered_set>.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sxs-collaboration__spectre__6760
sxs-collaboration/spectre
6,760
defect
1cd051254c3ea27e344e2edef347c3db6b50a4d8
7c0d2f01b631bd5bc45f3d1ed969c37423eaa194
Remove EOS base tag
## Proposed changes Removes the EOS base tag. I'll combine the GRMHD and other EOS tag in a future PR. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, describe what they should do between the two UPGRADE INSTRUCTIONS lines below. --> <...
diff --git a/src/Evolution/VariableFixing/FixToAtmosphere.hpp b/src/Evolution/VariableFixing/FixToAtmosphere.hpp index 673289acbfaf..84a9eefc32bb 100644 --- a/src/Evolution/VariableFixing/FixToAtmosphere.hpp +++ b/src/Evolution/VariableFixing/FixToAtmosphere.hpp @@ -332,7 +332,7 @@ class FixToAtmosphere { ...
2
2
0
[{"id": "G0", "claim": "The Tags::EquationOfStateFromOptions tag can just be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The whole file src/Evolution/DgSubcell/Tags/Reconstructor.hpp can go now.", "category": "design", "verdict": "supported",...
null
sxs-collaboration__spectre__6761
sxs-collaboration/spectre
6,761
defect
3432b590a7fbd797f9d48fd9738a859b457b1ea0
fcfecd207719f4dceda747c6d3b1256ae8cd43bc
AH rewrite: Add cleanup function and new tag
## Proposed changes Sixth PR of horizon finder changes. Adds a new tag that couldn't be added until #6752 was merged. Also adds a function to clean up the horizon finder. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should ...
diff --git a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt index 58c57ca5d3db3..0ddaa2eac6c44 100644 --- a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt +++ b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt @@ -8,6 +8,...
1
1
0
[{"id": "G0", "claim": "Remove the copy-pasted comment above test_cleanup in Test_CleanUp.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null