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
sxs-collaboration__spectre__6763
sxs-collaboration/spectre
6,763
defect
3432b590a7fbd797f9d48fd9738a859b457b1ea0
c01aa95847aa09ad723f61751a1ec790ed8e4ca7
AH rewrite: Add function to compute volume vars
## Proposed changes Eighth PR in horizon finder changes. Adds a function that computes the `ah::vars_to_interpolate_to_target` variables from the volume `ah::source_vars`. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people shoul...
diff --git a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt index 58c57ca5d3db3..7d9a6562cbac0 100644 --- a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt +++ b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt @@ -8,6 +8,...
3
3
1
[{"id": "G0", "claim": "The scoping braces around the set_data_ref call in compute_vars_to_interpolate_to_target_impl are unnecessary and should be removed (raised as an optional request).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The templ...
null
sxs-collaboration__spectre__6774
sxs-collaboration/spectre
6,774
defect
a54d24fec6ab303aa070c60e862a1a4f385ce682
0e37f207599af051f533619ef5b2c7cb153d225c
Add a Ccz4 wrapper class around gr solutions
## Proposed changes Add a Ccz4 wrapper class around gr solutions to get Ccz4 evolution variables. This class is very similar to the `WrappedGr` class for the GH evolution variables. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other peopl...
diff --git a/src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/CMakeLists.txt b/src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/CMakeLists.txt index 3ede80877eaf0..291a8ac716cc4 100644 --- a/src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/CMakeLists.txt +++ b/src/PointwiseFunctions/Analyt...
5
5
1
[{"id": "G0", "claim": "Ccz4WrappedGr.hpp should include <string> and <memory>, which the standard types it uses (std::string, std::unique_ptr) require.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The constructor definition should be moved out of...
null
sxs-collaboration__spectre__6775
sxs-collaboration/spectre
6,775
defect
a54d24fec6ab303aa070c60e862a1a4f385ce682
cedb32987af26fae3e3450692b5a9a5d6f0765de
AH rewrite: Add function to interpolate AH volume vars
## Proposed changes Ninth PR in horizon finder changes. This adds a function that runs every time a new element has sent and added its data to the horizon finder. It tries to interpolate the volume data from any new elements received to the trial surface points. <!-- At a high level, describe what this PR does. ...
diff --git a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt index 7c063d516c27b..aef080a3c0960 100644 --- a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt +++ b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt @@ -13,6 +1...
5
5
1
[{"id": "G0", "claim": "The forward declarations in InterpolateVolumeVars.hpp should be wrapped in `/// \\cond ... \\endcond` so Doxygen does not document them.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation of `interpolate_volum...
null
sxs-collaboration__spectre__6780
sxs-collaboration/spectre
6,780
defect
8d86bf50b17fb8c7e8250c4c90ff2fc98656f86f
1daf79c77c90ef56e55dd26793c86f17c660b598
Implement DG cartoon divergence
## Proposed changes <!-- At a high level, describe what this PR does. --> Very similar to `cartoon_partial_derivatives()` with a near-identical test, this does divergence using the cartoon contraction functions found in `PartialDerivatives.tpp`. ### Upgrade instructions <!-- If this PR makes changes that...
diff --git a/src/NumericalAlgorithms/LinearOperators/Divergence.hpp b/src/NumericalAlgorithms/LinearOperators/Divergence.hpp index ef10009e27643..0e6d8172e7737 100644 --- a/src/NumericalAlgorithms/LinearOperators/Divergence.hpp +++ b/src/NumericalAlgorithms/LinearOperators/Divergence.hpp @@ -89,6 +89,32 @@ void diverge...
5
4
0
[{"id": "G0", "claim": "The Cartoon-pattern ERROR message should include the offending mesh in its output.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mutated DataVector parameter of insert_with_stride should be passed as gsl::not_null<Da...
null
sxs-collaboration__spectre__6783
sxs-collaboration/spectre
6,783
defect
a60ae4090d490edf0a43795bcedd69025b9b0c17
54dfb5552d0deda26a7f852acfc0ef61e0b7d665
Add FlatOffsetWedge
This is a new CoordinateMap that will be useful for making BNS domains. Combining this map with rectangles, Wedges and half Wedges will build the inner part of a binary domain. ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run `make doc` to generate the docu...
diff --git a/docs/Images/Domain/CoordinateMaps/FlatOffsetWedge.svg b/docs/Images/Domain/CoordinateMaps/FlatOffsetWedge.svg new file mode 100644 index 000000000000..3568e352ba80 --- /dev/null +++ b/docs/Images/Domain/CoordinateMaps/FlatOffsetWedge.svg @@ -0,0 +1,511 @@ +<?xml version="1.0" encoding="UTF-8" standalone="n...
1
1
1
[{"id": "G0", "claim": "Add CHECK_THROWS_WITH tests covering the exceptions thrown by the FlatOffsetWedge constructor.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sxs-collaboration__spectre__6785
sxs-collaboration/spectre
6,785
defect
e69ce9f0fe739ed6a7c5516007da4526d5a6be69
34f9b91ae4362c58321c4df65dcbab49f9209ad7
AH rewrite: Add AH callbacks to observe surface and time series data on a horizon
## Proposed changes Thirteenth PR in horizon finder changes. Same logic as existing AH callbacks, but uses the new AH tags and storage. These two callbacks are added in the same commit because there's only one test that checks both of them. <!-- At a high level, describe what this PR does. --> ### Upgrade in...
diff --git a/src/ParallelAlgorithms/ApparentHorizonFinder/Callbacks/CMakeLists.txt b/src/ParallelAlgorithms/ApparentHorizonFinder/Callbacks/CMakeLists.txt index d0f2bb8b05a77..42bcfe99aa275 100644 --- a/src/ParallelAlgorithms/ApparentHorizonFinder/Callbacks/CMakeLists.txt +++ b/src/ParallelAlgorithms/ApparentHorizonFin...
3
3
0
[{"id": "G0", "claim": "Drop the stale comment saying output could be generalized to nonzero-rank tensors, since the generalization (looping over components) was in fact done.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the tests live in ...
null
sxs-collaboration__spectre__6786
sxs-collaboration/spectre
6,786
defect
e69ce9f0fe739ed6a7c5516007da4526d5a6be69
83a90eef20de4906c80ff1e144114729e152f72f
AH rewrite: Add AH action that actually finds the horizon
## Proposed changes Fourteenth PR in horizon finder changes. Finally adds the actual simple action `FindApparentHorizon` that will find the apparent horizon. Additionally adds a function that computes what the current time should be and a function to check if the FunctionsOfTime are up-to-date at this current time. ...
diff --git a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt index aef080a3c0960..90656f15c77a8 100644 --- a/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt +++ b/src/ParallelAlgorithms/ApparentHorizonFinder/CMakeLists.txt @@ -11,6 +1...
3
2
0
[{"id": "G0", "claim": "The forward declarations in CurrentTime.hpp should be wrapped in `/// \\cond` ... `/// \\endcond` so Doxygen ignores them.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The immediately-invoked lambda wrapping the mutable_c...
null
sxs-collaboration__spectre__6793
sxs-collaboration/spectre
6,793
defect
e833de33fa0c601a47b9c7e1d9094534b2430745
e39b3c26a26e049edb8888f23cd697b20e01500f
AH rewrite: Switch AH execs to use new AH infrastructure
## Proposed changes Seventeenth PR in horizon finder changes. This PR switches out the old horizon finder infrastructure for the new infrastructure in the execs that have BHs in them. This PR doesn't remove any of the old infrastructure yet. That'll happen in a later PR. ~Currently this is a draft PR until I veri...
diff --git a/src/ControlSystem/Measurements/BothHorizons.hpp b/src/ControlSystem/Measurements/BothHorizons.hpp index 4805075da086c..697cd13ec49cf 100644 --- a/src/ControlSystem/Measurements/BothHorizons.hpp +++ b/src/ControlSystem/Measurements/BothHorizons.hpp @@ -17,6 +17,7 @@ #include "ParallelAlgorithms/ApparentHor...
1
1
1
[{"id": "G0", "claim": "The pull request makes observation apparent-horizon finds silently ignore failures (FailedHorizonFind with true) for AhA/AhB and the single-black-hole and ScalarTensor execs, and the reviewers ask that those failures error instead so missing output fails quickly.", "category": "design", "verdict...
null
sxs-collaboration__spectre__6812
sxs-collaboration/spectre
6,812
defect
ae5076e23aab98d1043da98d4806869ecae27a1e
e90c5d0d09cc4080a0da7abbaa3457c48b5e1068
Add CartoonSphere domain creator
## Proposed changes <!-- At a high level, describe what this PR does. --> This PR mainly creates a domain that uses the `Cartoon` basis with `SphericalSymmetry` quadrature, which is contained within the first commit. Removed extra commits, though keeping the below comments for my future use. There is more...
diff --git a/src/Domain/Creators/CMakeLists.txt b/src/Domain/Creators/CMakeLists.txt index 0bdb05598642e..721d62ddcf2af 100644 --- a/src/Domain/Creators/CMakeLists.txt +++ b/src/Domain/Creators/CMakeLists.txt @@ -10,6 +10,7 @@ spectre_target_sources( PRIVATE AlignedLattice.cpp BinaryCompactObject.cpp + Cartoo...
18
16
0
[{"id": "G0", "claim": "Rename the InnerXBound option to InnerRadius.", "category": "naming", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the OuterXBound option to OuterRadius.", "category": "naming", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
sxs-collaboration__spectre__6818
sxs-collaboration/spectre
6,818
defect
90d01c9c66c8631fd0d7dd9f78f8dd903c91079b
253117044890d0465d383e29f1c29106c55c170a
Ah adaptivity: improve criteria
## Proposed changes This PR makes some improvements to apparent horizon finder criteria needed for actually using them in adaptive horizon finding. This is the first PR of several that will culminate in adding adaptivity to the apparent horizon finder. Note: I used cursor AI tab completion and agents in auto mode...
diff --git a/src/ParallelAlgorithms/ApparentHorizonFinder/Criteria/Criterion.hpp b/src/ParallelAlgorithms/ApparentHorizonFinder/Criteria/Criterion.hpp index d1df05d1e4e56..55be839b7fa84 100644 --- a/src/ParallelAlgorithms/ApparentHorizonFinder/Criteria/Criterion.hpp +++ b/src/ParallelAlgorithms/ApparentHorizonFinder/Cr...
1
1
0
[{"id": "G0", "claim": "Rename the Criterion equality members from operator==/operator!= to is_equal (or is_equal_to) for consistency with the rest of the codebase.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6821
sxs-collaboration/spectre
6,821
defect
90d01c9c66c8631fd0d7dd9f78f8dd903c91079b
5fd13281d84c5c883a88af631f07d77775af6223
Allow adding grid/distorted coords in post-processing
## Proposed changes Also adds some docs to discover `transform-vol` functionality. ### 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/Utilities/CMakeLists.txt b/src/Utilities/CMakeLists.txt index 62f35571047dd..70866199159c7 100644 --- a/src/Utilities/CMakeLists.txt +++ b/src/Utilities/CMakeLists.txt @@ -19,6 +19,7 @@ spectre_target_sources( OptimizerHacks.cpp PrettyType.cpp Rational.cpp + SnakeCase.cpp UtcTime.cpp Wr...
2
2
1
[{"id": "G0", "claim": "The two function declarations in src/Utilities/SnakeCase.hpp lack documentation comments; add them.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test file tests/Unit/Utilities/Test_SnakeCase.cpp must be added to a...
null
sxs-collaboration__spectre__6824
sxs-collaboration/spectre
6,824
defect
90d01c9c66c8631fd0d7dd9f78f8dd903c91079b
d8f2fd16fe9b55d4e6ad0ba139c95ac43f17ee4f
AMR: add ObserveAmrStats event
## Proposed changes Allows to inspect what p-AMR is doing during the simulation. ### 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 INSTRUCTIO...
diff --git a/src/Executables/ExportCoordinates/ExportCoordinates.hpp b/src/Executables/ExportCoordinates/ExportCoordinates.hpp index b5e0a644403f4..2f94c87bcb209 100644 --- a/src/Executables/ExportCoordinates/ExportCoordinates.hpp +++ b/src/Executables/ExportCoordinates/ExportCoordinates.hpp @@ -103,7 +103,7 @@ struct ...
2
1
1
[{"id": "G0", "claim": "The AMR stats output should be a separate Event instead of part of RefineMesh: printing on every mesh refinement would be too much output and its trigger needs to be controlled separately, and RefineMesh cannot perform reductions because it is intended to be usable as an AtSteps event and may no...
null
sxs-collaboration__spectre__6827
sxs-collaboration/spectre
6,827
defect
90d01c9c66c8631fd0d7dd9f78f8dd903c91079b
f49cdbce5d3ba6265306016a4ae6fa17ef6dadcf
SpherepackIterator: Allow for complex m=0 coef.
This is needed when Spherepack storage is used to hold coefficients of tensorylm components, which are complex. For spin-weight zero, and real valued functions, the m=0 coefficients are all real. ## Proposed changes Adds an argument to the SpherepackIterator constructor that allows m=0 coefficients to be imagina...
diff --git a/src/NumericalAlgorithms/SphericalHarmonics/SpherepackIterator.cpp b/src/NumericalAlgorithms/SphericalHarmonics/SpherepackIterator.cpp index b4271f6fef3c1..4e1aba44cd6d7 100644 --- a/src/NumericalAlgorithms/SphericalHarmonics/SpherepackIterator.cpp +++ b/src/NumericalAlgorithms/SphericalHarmonics/Spherepack...
3
3
0
[{"id": "G0", "claim": "In the rewritten b-array loop in SpherepackIterator.cpp, use `and` instead of `&&` since the touched line uses the style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a `///` line for a paragraph break in the new co...
null
sxs-collaboration__spectre__6828
sxs-collaboration/spectre
6,828
defect
0471c35e5f44f715857904a3a9dcd4f8bf018e47
1aeea900b5f81b539316ed39a4e17b1da9c3cc2e
Add more cartoon partial derivative features
## Proposed changes <!-- At a high level, describe what this PR does. --> This adds more infrastructure around cartoon_partial_derivatives(). 1. It creates the singular partial functions that some evolution systems requires (takes tensor, not Variables), i.e. `cartoon_partial_derivative()`. 2. Creates a wrapp...
diff --git a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp index 194da1b9501de..a6442e4df9db9 100644 --- a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp +++ b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.hpp...
2
2
0
[{"id": "G0", "claim": "Use a function (two overloads) instead of a function pointer for DerivCompute, so only the argument tags change based on whether InertialCoordsTag is set.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo in the test com...
null
sxs-collaboration__spectre__6829
sxs-collaboration/spectre
6,829
defect
0471c35e5f44f715857904a3a9dcd4f8bf018e47
5fd95ed6873593ecab6b3c93d701b528d05f2d87
Allow executables to use Cartoon bases
## Proposed changes <!-- At a high level, describe what this PR does. --> These are the minimal edits to allow executables to successfully run with cartoon bases. This mainly just replaces `partial_derivatives()` with the overloaded version that takes `inertial_coords` as well. It also takes care of the carte...
diff --git a/src/Evolution/DiscontinuousGalerkin/Actions/VolumeTermsImpl.tpp b/src/Evolution/DiscontinuousGalerkin/Actions/VolumeTermsImpl.tpp index 59098f9eb0e01..f6f2279a1bee0 100644 --- a/src/Evolution/DiscontinuousGalerkin/Actions/VolumeTermsImpl.tpp +++ b/src/Evolution/DiscontinuousGalerkin/Actions/VolumeTermsImpl...
3
3
2
[{"id": "G0", "claim": "The axial-symmetry branch of det_jacobian silently assumes the cartoon quadrature is AxialSymmetry and should ASSERT the quadrature is AxialSymmetry, reporting any unexpected value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
sxs-collaboration__spectre__6832
sxs-collaboration/spectre
6,832
defect
0471c35e5f44f715857904a3a9dcd4f8bf018e47
2afd639f509bc2dd0dfb906f8d24274e69f9d609
Add SparseMatrixFiller.
## Proposed changes Adds a class that provides a way of adding elements to a blaze::CompressedMatrix in an arbitrary order, with the ability to add the same matrix element multiple times (in which case it sums the elements added). ### Upgrade instructions <!-- If this PR makes changes that other people shoul...
diff --git a/src/DataStructures/CMakeLists.txt b/src/DataStructures/CMakeLists.txt index 8fab1a93a8369..06daba0cd47b0 100644 --- a/src/DataStructures/CMakeLists.txt +++ b/src/DataStructures/CMakeLists.txt @@ -19,6 +19,7 @@ spectre_target_sources( IndexIterator.cpp LeviCivitaIterator.cpp SliceIterator.cpp + Sp...
5
5
0
[{"id": "G0", "claim": "If the keys are guaranteed to be below 2^32-1, PairHasher should hash as `key.first bitor (key.second << 32)` since that would guarantee no hash collisions and be fast.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code ...
null
sxs-collaboration__spectre__6833
sxs-collaboration/spectre
6,833
defect
dc6582de671ac52d29864f30b704bdb69b0651ff
5ef090dc93d47be9366ab824358fab13e1688fe6
Update H5 writing to handle cartoon simulations
## Proposed changes <!-- At a high level, describe what this PR does. --> This commit handles cartoon simulations with computational dimensions 1D and 2D (though the code views it as 3D). Each case must be handled separately. **1D**: This is just a line, and it doesn't make sense to hack something into Pa...
diff --git a/src/IO/H5/VolumeData.cpp b/src/IO/H5/VolumeData.cpp index 76ed7691f7dab..f21819c735fe2 100644 --- a/src/IO/H5/VolumeData.cpp +++ b/src/IO/H5/VolumeData.cpp @@ -56,12 +56,33 @@ void append_element_extents_and_connectivity( const gsl::not_null<int*> total_points_so_far, const size_t dim, const Elem...
2
2
0
[{"id": "G0", "claim": "The accidentally copied `// [find_offset]` comments in tests/Unit/IO/H5/Test_VolumeData.cpp should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ASSERT's error message says it fires for single-grid-point ...
null
sxs-collaboration__spectre__6834
sxs-collaboration/spectre
6,834
defect
4af26159afa3d8c02f17ab5fa6006d7847376756
f0dbd5759459e22272817380fccbbd174310f01b
Add domain::creator::CartoonCylinder
## Proposed changes <!-- At a high level, describe what this PR does. --> This domain creator constructs a block with 2 "real" dimensions and one cartoon dimension. There is only one block in the domain. ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgr...
diff --git a/src/Domain/Creators/CMakeLists.txt b/src/Domain/Creators/CMakeLists.txt index 32b6aacc03cc2..1edabd587b84f 100644 --- a/src/Domain/Creators/CMakeLists.txt +++ b/src/Domain/Creators/CMakeLists.txt @@ -10,6 +10,7 @@ spectre_target_sources( PRIVATE AlignedLattice.cpp BinaryCompactObject.cpp + Cartoo...
4
4
1
[{"id": "G0", "claim": "Add Doxygen documentation for the CartoonCylinder class (its header declares the class with no doc comment).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CartoonCylinder constructor should take its std::array paramete...
null
sxs-collaboration__spectre__6845
sxs-collaboration/spectre
6,845
defect
cb9fb0038588fef066387a06496cbe8c93fd2fa3
be2cd31e09c2731b3965e1c6c66918013baf1e23
ScalarSelfForce: add hyperboloidal slicing
## Proposed changes Hyperboloidal slicing makes the self-force problem much simpler because the solution only has a finite number of oscillations. This PR adds the hyperboloidal slicing, which is actually quite simple to implement (no compactification of the domain yet). ### Upgrade instructions <!-- If this ...
diff --git a/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/Sommerfeld.cpp b/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/Sommerfeld.cpp index b245398c0cf85..a93761958c230 100644 --- a/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/Sommerfeld.cpp +++ b/src/Elliptic/Systems/SelfForce/Scal...
1
1
0
[{"id": "G0", "claim": "The main class documentation should give guidance on what reasonable values for the HyperboloidalSlicingTransitions option might be.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6846
sxs-collaboration/spectre
6,846
defect
cb9fb0038588fef066387a06496cbe8c93fd2fa3
874d3ce7c343389fab03c93acd63dfd3f47099fd
Add domain::creator::CartoonSphere2D
## Proposed changes <!-- At a high level, describe what this PR does. --> Creates a domain creator, which is heuristically a combination of the disk and the sphere domains. Reading the help function in the .hpp does a good job of describing it ### Upgrade instructions <!-- If this PR makes changes that ...
diff --git a/src/Domain/Creators/CMakeLists.txt b/src/Domain/Creators/CMakeLists.txt index 1edabd587b84f..baff93c335900 100644 --- a/src/Domain/Creators/CMakeLists.txt +++ b/src/Domain/Creators/CMakeLists.txt @@ -12,6 +12,7 @@ spectre_target_sources( BinaryCompactObject.cpp CartoonCylinder.cpp CartoonSphere1D....
5
5
1
[{"id": "G0", "claim": "The commented-out unused headers in CartoonSphere2D.cpp (Tensor/Expressions/Product.hpp, Utilities/MakeArray.hpp) should be deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the DiscreteRotation.hpp and Ident...
null
sxs-collaboration__spectre__6847
sxs-collaboration/spectre
6,847
defect
9108f69b7dfb057696199c5f81a63f48f6bca333
d5a4d3789d65b30bfaa7808fc8b0bc6a8ed586e4
Add adaptive apparent horizon finder
## Proposed changes Adds adaptivity to the apparent horizon finder. Based on criteria provided, the horizon finder will recommend the next find use more, less, or the same resolution L in the horizon finder. Depends on #6830 . ### Upgrade instructions <!-- If this PR makes changes that other people should be...
diff --git a/src/Evolution/Executables/GeneralizedHarmonic/CMakeLists.txt b/src/Evolution/Executables/GeneralizedHarmonic/CMakeLists.txt index 6a7862988c1e9..ad84e417509f0 100644 --- a/src/Evolution/Executables/GeneralizedHarmonic/CMakeLists.txt +++ b/src/Evolution/Executables/GeneralizedHarmonic/CMakeLists.txt @@ -66,...
4
4
0
[{"id": "G0", "claim": "The doc comment of the CurrentResolutionL tag misspells `nullopt` as `nulopt` and should read `nullopt`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment \"This will possibly throw an error\" does not tell the rea...
null
sxs-collaboration__spectre__6848
sxs-collaboration/spectre
6,848
defect
cde065ff589e95c3cc7d728555478acecdbfdc56
6ff508770d9907fb79c5da8909749ca34282bd21
GrSelfForce: add boundary conditions
## Proposed changes Adds boundary conditions for the GR self-force system. ### 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/GeneralRelativity/BoundaryConditions/Angular.cpp b/src/Elliptic/Systems/SelfForce/GeneralRelativity/BoundaryConditions/Angular.cpp new file mode 100644 index 0000000000000..a82272146b460 --- /dev/null +++ b/src/Elliptic/Systems/SelfForce/GeneralRelativity/BoundaryConditions/A...
5
5
0
[{"id": "G0", "claim": "The Angular destructor should be marked `override` like the other virtual overrides in the class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Angular constructor's parameter should be declared `const int`.", "categ...
null
sxs-collaboration__spectre__6858
sxs-collaboration/spectre
6,858
defect
7b11a0af50bd22d42c42cd84f0e6c4f21710df92
002f03b291e871c9c19c7d536e426a5bb55560aa
Add SimpleSparseMatrix.
This is a simple sparse matrix class that supports vector-multiplication from the right and not much else. Also, SparseMatrixFiller can now fill a SimpleSparseMatrix. SparseMatrixFiller (and its test) still can fill a blaze::CompressedMatrix ### Upgrade instructions <!-- If this PR makes changes that other p...
diff --git a/src/DataStructures/CMakeLists.txt b/src/DataStructures/CMakeLists.txt index 06daba0cd47b0..4a374d1615c06 100644 --- a/src/DataStructures/CMakeLists.txt +++ b/src/DataStructures/CMakeLists.txt @@ -18,6 +18,7 @@ spectre_target_sources( Index.cpp IndexIterator.cpp LeviCivitaIterator.cpp + SimpleSpar...
12
9
0
[{"id": "G0", "claim": "Spell the negation as `not` instead of `!` in the new `if (!found_dest)` condition.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use STL algorithms (e.g. find_if with iterators) instead of the manual index loops that lo...
null
sxs-collaboration__spectre__6864
sxs-collaboration/spectre
6,864
defect
0a749b583bd277ac9e978462b2ca24cc3ed64779
50fe82de510d030e6e6603b139868c9277403c68
Fix CartoonSphere2D collocation mismatch
## Proposed changes <!-- At a high level, describe what this PR does. --> Half-wedge next to equiangular map needs to have matching focal points. ### 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 t...
diff --git a/src/Domain/Creators/CartoonSphere2D.cpp b/src/Domain/Creators/CartoonSphere2D.cpp index 4d644709aff24..4046adc81b5b8 100644 --- a/src/Domain/Creators/CartoonSphere2D.cpp +++ b/src/Domain/Creators/CartoonSphere2D.cpp @@ -257,7 +257,11 @@ Domain<3> CartoonSphere2D::create_domain() const { make_c...
1
1
1
[{"id": "G0", "claim": "Add a commit modifying tests/Unit/Helpers/Domain/DomainTestHelpers.cpp around line 513 so the if is satisfied for the CartoonSphere2D domain, and verify that the test would fail without the change in this PR and passes with it.", "category": "testing", "verdict": "supported", "priority": "P1", "...
null
sxs-collaboration__spectre__6876
sxs-collaboration/spectre
6,876
defect
b0727e8a24cad93e12623061584b3fe21efed70a
ea9b5088fb534621b36f5d9c71631a876da01c46
Tensorylm cart to sphere
## Proposed changes Add TensorYlmCartToSphere, a function that transforms coefficients of tensors from a Cartesian Scalar-Ylm basis to a tetrad spin-weighted-Ylm basis. ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run `make doc` to generate the documentati...
diff --git a/src/DataStructures/SimpleSparseMatrix.hpp b/src/DataStructures/SimpleSparseMatrix.hpp index b3d78904f089..07e7123f97cd 100644 --- a/src/DataStructures/SimpleSparseMatrix.hpp +++ b/src/DataStructures/SimpleSparseMatrix.hpp @@ -68,6 +68,9 @@ class SimpleSparseMatrix { void increment_multiply_on_right(gsl:...
3
2
0
[{"id": "G0", "claim": "The bare word storage_index in the FillCartToSphere doc comment should be wrapped in proper markup (tikz/math) so it renders like the surrounding formulas.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks wh...
null
sxs-collaboration__spectre__6880
sxs-collaboration/spectre
6,880
defect
53b125cc877ed8f4db0d1cfa75ee5f49ad5ba003
571b947444b0ee127dd57f85599a4bd54968a14d
Add TensorYlmSphereToCart.
Transforms tensors from spin-weighted-Ylm basis to Cartesian scalar-Ylm basis. ## Proposed changes Add TensorYlmSphereToCart, the inverse transformation of TensorYlmCartToSphere. ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run `make doc` to generate the...
diff --git a/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt b/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt index 084bf547d8ac3..7a2e30f612c17 100644 --- a/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt +++ b/src/NumericalAlgorithms/SphericalHarmonics/CMakeLists.txt @@ -21,6 +21,7 @@ s...
3
3
1
[{"id": "G0", "claim": "Rename the free function FillSphereToCart to fill_sphere_to_cart.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace the division by 8.0 with multiplication by 0.125 in the sqterm computation.", "category": "performan...
null
sxs-collaboration__spectre__6882
sxs-collaboration/spectre
6,882
defect
e60fd6d0f67089953d67977ef1a235772fa47e20
69f17694205890d0dad81b0407aa76ebc6f0da9f
AH finder: speed up by caching block/element search order
## Proposed changes The "block search order" commit speeds up the single BH test used in #6879 by ~1/3 compared to current develop (not including the parallelization added in #6879). This is done just by caching the order in which blocks are searched for coordinates to interpolate to. Not sure if the first commit...
diff --git a/src/Domain/BlockLogicalCoordinates.cpp b/src/Domain/BlockLogicalCoordinates.cpp index 2cde513dc5c92..0479d2e867ebe 100644 --- a/src/Domain/BlockLogicalCoordinates.cpp +++ b/src/Domain/BlockLogicalCoordinates.cpp @@ -190,7 +190,8 @@ BlockLogicalCoords<Dim> block_logical_coordinates_single_point( template <...
1
1
0
[{"id": "G0", "claim": "The test comment's \"my\" should be spelled \"may\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
sxs-collaboration__spectre__6899
sxs-collaboration/spectre
6,899
defect
aad677e8d4d54e6a8b2cd59ef7b44e1cbffe4833
0321c1388a72c41728ce733c92c903aa016e7320
Choose initial data at runtime for CSW system
## Proposed changes This PR changes the CSW system to choose initial data at runtime. It also allows the selection of numeric initial data. @guilara please take a look to see if the changes are ok with the ScalarTensor system
diff --git a/src/Evolution/Executables/CurvedScalarWave/EvolveCurvedScalarWave.hpp b/src/Evolution/Executables/CurvedScalarWave/EvolveCurvedScalarWave.hpp index 47cb9585b6e4f..b5ef22f786462 100644 --- a/src/Evolution/Executables/CurvedScalarWave/EvolveCurvedScalarWave.hpp +++ b/src/Evolution/Executables/CurvedScalarWav...
1
1
0
[{"id": "G0", "claim": "Delete the leftover `solutions_and_data` alias above the `InitialData` pair in `EvolutionMetavars`, now that the pair maps to `initial_data_list`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6900
sxs-collaboration/spectre
6,900
defect
368ac68fb281c7de927b2ed0bec7d5c88c477fae
38365f11a354c72925c1c7472a622849a71b59be
Add options to create Strahlkorper by reading from a coefficients dat file
## Proposed changes Currently, constructing a Strahlkorper from options requires specifying LMax, Center, and Radius—only spherical Strahlkorpers can be constructed in this way. This PR adds another way to create Strahlkorpers from options: point to the coefficients dat file inside an H5 file, and read the coefficie...
diff --git a/src/NumericalAlgorithms/SphericalHarmonics/IO/CMakeLists.txt b/src/NumericalAlgorithms/SphericalHarmonics/IO/CMakeLists.txt index cb0eb63d5a304..90bf5c193ffe1 100644 --- a/src/NumericalAlgorithms/SphericalHarmonics/IO/CMakeLists.txt +++ b/src/NumericalAlgorithms/SphericalHarmonics/IO/CMakeLists.txt @@ -11,...
5
4
0
[{"id": "G0", "claim": "The newly added Strahlkorper(size_t l_max, double radius, std::array<double, 3> center, const Options::Context&) constructor already exists and should be deleted.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the file-existenc...
null
sxs-collaboration__spectre__6901
sxs-collaboration/spectre
6,901
defect
c6850e0d83e928e955c4a2cbca161d9f03f36d2c
f8c0562049f9296515f996f2ee4ec0cc44e845e6
More tests in TensorYlm filters
## Proposed changes Add more tests to TensorYlm filtering. ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run `make doc` to generate the documentation locally into `BUILD_DIR/docs/html`. Then open `index.html`. - [ ] The code follows the stylistic and code ...
diff --git a/src/DataStructures/SimpleSparseMatrix.cpp b/src/DataStructures/SimpleSparseMatrix.cpp index cd976c08b1df9..b4e0710cc7900 100644 --- a/src/DataStructures/SimpleSparseMatrix.cpp +++ b/src/DataStructures/SimpleSparseMatrix.cpp @@ -141,3 +141,6 @@ void SimpleSparseMatrix::increment_multiply_on_right( template...
1
1
0
[{"id": "G0", "claim": "Use static_cast instead of functional-style casts for the double and size_t conversions in Test_TensorYlmFilter.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
sxs-collaboration__spectre__6913
sxs-collaboration/spectre
6,913
defect
9ad62edec4a20bc2fe7fe94274b45e78d850021e
80366b06b1c6fe453c09d7a3b1ef1fa45954a0de
Add multi-reader spinlock
## Proposed changes Multi-reader spinlock: - Allows multiple threads to acquire the lock in a "read" state where no data is changed. - Allows a single thread to acquire the lock in a "write" state where data is changed. No threads can acquire the lock in a read or write state if one thread already has a write lock...
diff --git a/src/Parallel/CMakeLists.txt b/src/Parallel/CMakeLists.txt index b78046ca760b9..1522d75f5ba23 100644 --- a/src/Parallel/CMakeLists.txt +++ b/src/Parallel/CMakeLists.txt @@ -45,8 +45,10 @@ spectre_target_headers( InitializationFunctions.hpp Invoke.hpp Local.hpp + LockfreeUnorderedSet.hpp Main.hp...
3
3
1
[{"id": "G0", "claim": "The `contains` false path is always O(max_linear_probes), so lookups for keys not strongly expected to be present have bad performance, and this caveat should be noted in the documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
sxs-collaboration__spectre__6930
sxs-collaboration/spectre
6,930
defect
edd540427ebead7a04ecfa39234070cc979d3f61
e7279c671833125eee873a519ce5203f61bdc1ec
Add support for autodiff
## Proposed changes Add autodiff library to SpECTRE and make it compatible with xsimd type. Also update the github CI tests so that autodiff is tested on non-macOS systems. For now we have autodiff as an optional package. We will likely require autodiff in the near future to compute hessians of coordinate maps. <!-...
diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index 97a73186af488..613b9e77f9032 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -267,6 +267,8 @@ jobs: -D USE_PCH=OFF -D DEBUG_SYMBOLS=OFF -D BUILD_PYTHON_BINDINGS=ON + -...
3
3
1
[{"id": "G0", "claim": "Use `VERSION_LESS` instead of the negated `VERSION_GREATER_EQUAL` for the CMake version check in SetupAutodiff.cmake.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Define `SPECTRE_AUTODIFF` on the autodiff target rather ...
null
sxs-collaboration__spectre__6934
sxs-collaboration/spectre
6,934
defect
77e3f81aabb51cc03d8b1738f1fca7004a3bf70a
e320557d5b5304ab2ebde8060421db1208438aca
Fix Chebyshev quadrature weights
## Proposed changes - Fix Chebyshev quadrature weights for computing the definite integral - Add documentation about Chebyshev - Add generic tests for 1D bases - Miscellaneous cleanup ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgrading their code, des...
diff --git a/src/NumericalAlgorithms/Spectral/BasisFunctions/CMakeLists.txt b/src/NumericalAlgorithms/Spectral/BasisFunctions/CMakeLists.txt index 87407d33848a6..74ac6644a4640 100644 --- a/src/NumericalAlgorithms/Spectral/BasisFunctions/CMakeLists.txt +++ b/src/NumericalAlgorithms/Spectral/BasisFunctions/CMakeLists.txt...
2
2
1
[{"id": "G0", "claim": "The comment above the template specializations in Fourier.cpp should read 'Specializations' rather than 'Instantiations'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "A test failure in CI appears to be related to this pul...
null
sxs-collaboration__spectre__6952
sxs-collaboration/spectre
6,952
defect
77e3f81aabb51cc03d8b1738f1fca7004a3bf70a
24eb9f5e8fb98786a42995b737997d360f6fca04
Add option to remove delay in FoT update
## 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/ControlSystem/Actions/InitializeMeasurements.hpp b/src/ControlSystem/Actions/InitializeMeasurements.hpp index 8bec7a53078d8..744fd59056f82 100644 --- a/src/ControlSystem/Actions/InitializeMeasurements.hpp +++ b/src/ControlSystem/Actions/InitializeMeasurements.hpp @@ -58,7 +58,8 @@ struct InitializeMeas...
4
2
1
[{"id": "G0", "claim": "The repeated-addition loop could be written as the one-line expression `time + min(old_measurement_timescales) + new_intervals * min(new_measurement_timescales)`, possibly clamping `new_intervals >= 0` if that is what the loop is for.", "category": "maintainability", "verdict": "opposed", "prior...
null
sxs-collaboration__spectre__6957
sxs-collaboration/spectre
6,957
defect
033a5d696e13876a9f8081e37706701c479fbf78
3e199d7dacf4357360822b5200023fad419f7f68
Add the analytical characteristic speeds for hydro case.
## Proposed changes <!-- At a high level, describe what this PR does. --> This PR adds the analytical characteristic speeds for hydro case in ValenciaDivClean. ### 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/Systems/GrMhd/ValenciaDivClean/Characteristics.cpp b/src/Evolution/Systems/GrMhd/ValenciaDivClean/Characteristics.cpp index b27a879913b38..9f2f893459484 100644 --- a/src/Evolution/Systems/GrMhd/ValenciaDivClean/Characteristics.cpp +++ b/src/Evolution/Systems/GrMhd/ValenciaDivClean/Characteris...
12
10
2
[{"id": "G0", "claim": "Leave the nested `namespace grmhd { namespace ValenciaDivClean {` opening as before instead of merging it into `namespace grmhd::ValenciaDivClean`, since no change was needed there.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add...
null
sxs-collaboration__spectre__6960
sxs-collaboration/spectre
6,960
defect
923cd4a8ea30f5a5589baa60b0a93e358ca9f8e8
45bf46ea0496d3b7aa475e31c449f99bd44564d9
Add ApplyFilter mutator to SoCcz4
## Proposed changes Add `ApplyFilter` mutator to `SoCcz4` <!-- 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 be...
diff --git a/src/Evolution/Systems/Ccz4/FiniteDifference/ApplyFilter.hpp b/src/Evolution/Systems/Ccz4/FiniteDifference/ApplyFilter.hpp new file mode 100644 index 0000000000000..0af18455edfa9 --- /dev/null +++ b/src/Evolution/Systems/Ccz4/FiniteDifference/ApplyFilter.hpp @@ -0,0 +1,59 @@ +// Distributed under the MIT Li...
1
1
0
[{"id": "G0", "claim": "Move the ApplyFilter mutator implementation from the header into a cpp file to reduce compile time of the executable.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6977
sxs-collaboration/spectre
6,977
defect
7d467fd1b31e41fd7f1ba1dce084634c8fd33c6c
4a76e8653fd64fbb129b96586b37d0b0cf68ab12
Split TestFunctions.py files
## Proposed changes Fixes #1199 I've started playing with the GitHub Copilot CLI trying to use it to fix tedious issues like this one. This is the first PR that does this. I have another one going through CI addressing a different issue. I'm very interested in getting feedback on general thoughts for using this t...
diff --git a/tests/Unit/DataStructures/Tensor/EagerMath/TestFunctions.py b/tests/Unit/DataStructures/Tensor/EagerMath/CrossProduct.py similarity index 100% rename from tests/Unit/DataStructures/Tensor/EagerMath/TestFunctions.py rename to tests/Unit/DataStructures/Tensor/EagerMath/CrossProduct.py diff --git a/tests/Unit...
2
2
1
[{"id": "G0", "claim": "kidder asks why the newly split files Fluxes.py, TimeDerivativeTerms.py and GaussianPlusConstant.py consist only of a chained import re-exporting a function defined in another module, rather than containing the functions themselves.", "category": "design", "verdict": "supported", "priority": "P1...
null
sxs-collaboration__spectre__6997
sxs-collaboration/spectre
6,997
defect
1f2210958b4f38fdc0400907ee7c6d5af5111418
100b383bae73e8b3e20beb5783550ed416662e0d
Add EnforceConstrainedEvolution mutator to SoCcz4
## Proposed changes Add EnforceConstrainedEvolution mutator to SoCcz4. This mutator is used to rescale the conformal spatial metric to unit determinant and remove trace from ATilde after each time step. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes cha...
diff --git a/src/Evolution/Systems/Ccz4/FiniteDifference/CMakeLists.txt b/src/Evolution/Systems/Ccz4/FiniteDifference/CMakeLists.txt index 0a8150261038d..5d504b20fd986 100644 --- a/src/Evolution/Systems/Ccz4/FiniteDifference/CMakeLists.txt +++ b/src/Evolution/Systems/Ccz4/FiniteDifference/CMakeLists.txt @@ -23,6 +23,7 ...
5
5
0
[{"id": "G0", "claim": "Move the apply implementation (and the headers it needs) out of EnforceConstrainedEvolution.hpp into a cpp file to reduce how much the header includes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Expand the dox to expl...
null
sxs-collaboration__spectre__6998
sxs-collaboration/spectre
6,998
defect
f492f6ba1bc8a3eadd87c15dbe46d136d1faedb1
8d92887a6207e49d2699940e8f9155e5c1f286fb
Select l_max automatically in the Shape map according to a truncation limit
## Proposed changes <!-- At a high level, describe what this PR does. --> Changes the shape map to no longer store l_max but infer it from the functions of time. This is needed for the adaptive apparent horizon finder. In the future, we probably want to cache the Spherepack object somehow and update it only when ...
diff --git a/src/Domain/CoordinateMaps/TimeDependent/Shape.cpp b/src/Domain/CoordinateMaps/TimeDependent/Shape.cpp index ee343df69a50a..9d2bc617497a6 100644 --- a/src/Domain/CoordinateMaps/TimeDependent/Shape.cpp +++ b/src/Domain/CoordinateMaps/TimeDependent/Shape.cpp @@ -32,6 +32,37 @@ namespace domain::CoordinateM...
1
1
0
[{"id": "G0", "claim": "The pull request's added code contains a clang-tidy complaint (e.g. the warning suppressed by the bare NOLINT on the l_max computation in ShapeMap.cpp) that should be resolved.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__6999
sxs-collaboration/spectre
6,999
defect
1f2210958b4f38fdc0400907ee7c6d5af5111418
8e4da1ca015b0869feee059719c910ac9d8738ab
Add higher order fd interpolants
## Proposed changes Add higher order fd interpolants. SpECTRE currently only does linear interpolation/extrapolation between blocks doing finite difference, which ruins the higher order finite difference convergence. We now add the quadratic and cubic interpolation using the canonical Lagrange interpolation formula,...
diff --git a/src/Evolution/DgSubcell/SetInterpolators.hpp b/src/Evolution/DgSubcell/SetInterpolators.hpp index b79653d6ffcac..8e656f7e47425 100644 --- a/src/Evolution/DgSubcell/SetInterpolators.hpp +++ b/src/Evolution/DgSubcell/SetInterpolators.hpp @@ -285,14 +285,16 @@ struct SetInterpolators { const Mesh<D...
5
4
1
[{"id": "G0", "claim": "The ERROR message for an unsupported fd_to_fd_interp_order should also list the available orders.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The switch in the 2-D interpolation should use fd_to_fd_interp_order.value_o...
null
sxs-collaboration__spectre__7006
sxs-collaboration/spectre
7,006
defect
27692a88ce5558f07d57fed386707db97d469961
033b6dfce767b14b4e9f6c1b6366d0e1570a5d05
Add the Sommerfeld boundary condition for SoCcz4
## Proposed changes Add the Sommerfeld boundary condition for SoCcz4. See the doc in `Sommerfeld.hpp` for an overview of the 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 cod...
diff --git a/src/Evolution/Systems/Ccz4/BoundaryConditions/CMakeLists.txt b/src/Evolution/Systems/Ccz4/BoundaryConditions/CMakeLists.txt index e81bf5e1a3f99..8bf783d6dc0a9 100644 --- a/src/Evolution/Systems/Ccz4/BoundaryConditions/CMakeLists.txt +++ b/src/Evolution/Systems/Ccz4/BoundaryConditions/CMakeLists.txt @@ -6,6...
3
3
0
[{"id": "G0", "claim": "The standalone comment added in the detail namespace of SoTimeDerivative.hpp should be either removed or incorporated into the class-level comment a couple of lines down.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The S...
null
sxs-collaboration__spectre__7008
sxs-collaboration/spectre
7,008
defect
6229dec133d85a799be7e6925477bf2acbb9384b
f0060e49bf241b962baf1a8dccabb3e929565d58
Add ApplyTensorYlmFilter
## Proposed changes Adds a function that applies a TensorYlm filter to Generalized Harmonic variables at collocation points in a spherical-shell element. ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run `make doc` to generate the documentation locally into ...
diff --git a/src/DataStructures/SimpleSparseMatrix.cpp b/src/DataStructures/SimpleSparseMatrix.cpp index b4e0710cc7900..4f0ddace7113c 100644 --- a/src/DataStructures/SimpleSparseMatrix.cpp +++ b/src/DataStructures/SimpleSparseMatrix.cpp @@ -93,8 +93,8 @@ void SimpleSparseMatrix::fill(const std::vector<SparseMatrixEleme...
4
4
0
[{"id": "G0", "claim": "Wrap the forward declarations of DataVector and ylm::Spherepack in `/// \\cond` / `/// \\endcond` so Doxygen does not document them.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In the doc comments of the Pi00, Pik0 and P...
null
sxs-collaboration__spectre__7010
sxs-collaboration/spectre
7,010
defect
1d64892952139ddfbae7cdbdcd87dce73af8d9fe
464ff22f7008db793fb9d058ea8f753908540bc0
ScalarSelfForce: add h-refinement criterion
## Proposed changes h-refine at the position of the puncture. ### 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 --> <!-- UPGR...
diff --git a/src/Elliptic/Systems/SelfForce/Scalar/AmrCriteria/CMakeLists.txt b/src/Elliptic/Systems/SelfForce/Scalar/AmrCriteria/CMakeLists.txt new file mode 100644 index 0000000000000..142d716843b08 --- /dev/null +++ b/src/Elliptic/Systems/SelfForce/Scalar/AmrCriteria/CMakeLists.txt @@ -0,0 +1,37 @@ +# Distributed un...
2
2
1
[{"id": "G0", "claim": "The class documentation should note that the criterion currently only works for AnalyticData::CircularOrbit.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A nullptr dynamic_cast check raising an ERROR should be added to ma...
null
sxs-collaboration__spectre__7014
sxs-collaboration/spectre
7,014
defect
5f72f487f258431bb3b56005e67f66868cd69bfc
3e95c570a6931645738f9de766b22d617e0d9eea
Add spacetime cross product, magnitude, Gram-Schmidt orthonormalization
## Proposed changes Used to construct an orthonormal basis. ### 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 --> <!-- UPGRAD...
diff --git a/src/DataStructures/Tensor/EagerMath/GramSchmidtOrthonormalize.hpp b/src/DataStructures/Tensor/EagerMath/GramSchmidtOrthonormalize.hpp new file mode 100644 index 0000000000000..01a579d3144c1 --- /dev/null +++ b/src/DataStructures/Tensor/EagerMath/GramSchmidtOrthonormalize.hpp @@ -0,0 +1,47 @@ +// Distribute...
5
5
2
[{"id": "G0", "claim": "The PR should not apply an absolute value on every magnitude computation; the spacetime handling should live in a separate code path chosen by whether the Index is spatial or spacetime, because the extra abs on every call is needless overhead on a heavily used function.", "category": "performanc...
null
sxs-collaboration__spectre__7018
sxs-collaboration/spectre
7,018
defect
a5589ebb8bc78694d9af18f6fa5f3d39ec680c74
8e2c4ce3a6fcfe44990a374e35e672d72b07b9d7
RayTracer: add background spacetime
## Proposed changes Some more ray tracing code so folks at Caltech can use it (Isabella is tracing light rings, Niko wants to try ray tracing on his new spacetime interpolator). This first PR adds the background spacetime (analytic and numeric). ### Upgrade instructions <!-- If this PR makes changes that othe...
diff --git a/src/IO/Exporter/SpacetimeInterpolator.cpp b/src/IO/Exporter/SpacetimeInterpolator.cpp index 7b6391dbf67d9..e80c9f1f239be 100644 --- a/src/IO/Exporter/SpacetimeInterpolator.cpp +++ b/src/IO/Exporter/SpacetimeInterpolator.cpp @@ -73,6 +73,34 @@ SpacetimeInterpolator<Dim, Frame>::SpacetimeInterpolator( fir...
11
7
1
[{"id": "G0", "claim": "The tuple_slice stop argument in the WrappedGr option-parsing constructor is off by one, so it drops three trailing elements instead of the intended two and forwards the wrong arguments to the wrapped solution.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intr...
null
sxs-collaboration__spectre__7022
sxs-collaboration/spectre
7,022
defect
f780eb0a90758202a3e99062fddeeb00409d377e
088fea2bbb1b0261eee5e1c2de966c6341fa09a6
SelfForce: add InitializeEffectiveSource action
## Proposed changes Initialization action for both the scalar case and the GR case. ### 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 INSTRUC...
diff --git a/src/Elliptic/Systems/SelfForce/Scalar/Actions/CMakeLists.txt b/src/Elliptic/Systems/SelfForce/Scalar/Actions/CMakeLists.txt new file mode 100644 index 0000000000000..70d57cfdd2fe5 --- /dev/null +++ b/src/Elliptic/Systems/SelfForce/Scalar/Actions/CMakeLists.txt @@ -0,0 +1,27 @@ +# Distributed under the MIT ...
3
2
0
[{"id": "G0", "claim": "The comment stating the assumption that the mortar normal is just (1, 0, 0) needs to be extended so the assumption is explained.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Scalar InitializeEffectiveSource head...
null
sxs-collaboration__spectre__7029
sxs-collaboration/spectre
7,029
defect
7d2eaa1cd631fa411c052a034eb44c42b6c0799c
fc11e972e57abf173fe1d50991335ee966bd7e5b
Use observation FoTs in FromVolumeFile
## 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/FromVolumeFile.cpp b/src/Domain/Creators/TimeDependentOptions/FromVolumeFile.cpp index 585340ee225f9..6df0ba505116e 100644 --- a/src/Domain/Creators/TimeDependentOptions/FromVolumeFile.cpp +++ b/src/Domain/Creators/TimeDependentOptions/FromVolumeFile.cpp @@ -29,19 +...
1
1
1
[{"id": "G0", "claim": "Remove the reading of LMax (and its observation lookup) in FromVolumeFileShapeSize's constructor, since LMax is not needed when loading from file because it is inferred from the file FoT.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sxs-collaboration__spectre__7030
sxs-collaboration/spectre
7,030
defect
0e82d5f06abbda70220bdfb0f73ea44f770c682e
f6916799e422b70eddd6f0255c0cb1789c3f6686
Add curvature invariant computation
## Proposed changes Adds compute tags for the quadratic curvature invariants and adds the two cubic curvature invariants.
diff --git a/docs/References.bib b/docs/References.bib index 991507b3db1f7..af46038ecdc25 100644 --- a/docs/References.bib +++ b/docs/References.bib @@ -720,6 +720,19 @@ @article{DelZanna2007pk SLACcitation = "%%CITATION = ARXIV:0704.3206;%%" } +@article{Dennison:2012vf, + author = "Dennison, Kenneth A. and ...
4
4
1
[{"id": "G0", "claim": "Alphabetize the CubicCurvatureScalars entries this PR adds to src/PointwiseFunctions/GeneralRelativity/CMakeLists.txt, in both the sources and the headers lists.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Alphabetize ...
null
sxs-collaboration__spectre__7031
sxs-collaboration/spectre
7,031
defect
7d2eaa1cd631fa411c052a034eb44c42b6c0799c
109b1b5e91e1216a59d52a95ef5839737d50eb49
Add helper function to store neighbor spacetime data in GhValenciaDivClean
## Proposed changes Refactors duplicated code in the `Filters.cpp` and `Derivatives.cpp` files in `GhValenciaDivClean/FiniteDifference`. When upgrading `GhValenciaDivClean` to support higher order FD, the `NeighborVariables` in these files may include extra tags in some circumstances, so this is mostly to prevent fu...
diff --git a/src/Evolution/Systems/GrMhd/GhValenciaDivClean/FiniteDifference/CMakeLists.txt b/src/Evolution/Systems/GrMhd/GhValenciaDivClean/FiniteDifference/CMakeLists.txt index 17ca928629122..7860eb560dfce 100644 --- a/src/Evolution/Systems/GrMhd/GhValenciaDivClean/FiniteDifference/CMakeLists.txt +++ b/src/Evolution/...
2
2
0
[{"id": "G0", "claim": "The new helper's brief documentation says both \"takes\" and \"selects\" and one word should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The template parameter first_gh_tag should be renamed to FirstGhTag, in...
null
sxs-collaboration__spectre__7047
sxs-collaboration/spectre
7,047
defect
f780eb0a90758202a3e99062fddeeb00409d377e
34bfe5bc1138a7e77591126906f3cccb5cc12e08
Add Legendre series evaluation from modal coefficients
## Proposed changes Adds a direct evaluation of a Legendre series from the Modal coefficients. ### 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. --> <!-- UPGR...
diff --git a/src/NumericalAlgorithms/Spectral/BasisFunctions/Legendre.cpp b/src/NumericalAlgorithms/Spectral/BasisFunctions/Legendre.cpp index 6aa415898f38e..4db50947a2a3f 100644 --- a/src/NumericalAlgorithms/Spectral/BasisFunctions/Legendre.cpp +++ b/src/NumericalAlgorithms/Spectral/BasisFunctions/Legendre.cpp @@ -6,1...
6
5
0
[{"id": "G0", "claim": "In the .hpp documentation, add the phrase \"...using Clenshaw recurrence.\" at the end.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "unclear"}, {"id": "G1", "claim": "The make_logical_point helper is just the constructor of tnsr::I and should be replaced by ...
null
sxs-collaboration__spectre__7049
sxs-collaboration/spectre
7,049
defect
f780eb0a90758202a3e99062fddeeb00409d377e
ade594654f643745d93ad9c46cb9f8e29a93cee1
Runtime LTS decisions - non receive
This adds the runtime time-stepping decisions in code other than the boundary receiving functions. Those require more extensive changes so will be in a separate PR. ### Proposed changes <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that othe...
diff --git a/src/Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp b/src/Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp index c8a087cb115d9..6beadeddac48c 100644 --- a/src/Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp +++ b/src/Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp...
1
1
0
[{"id": "G0", "claim": "The explanatory comment about requiring all mortars to have the same time-stepping policy during h-refinement should be copied into the ASSERT error message so it is likelier to be updated when the code changes and the error message is more detailed.", "category": "documentation", "verdict": "su...
null
sxs-collaboration__spectre__7054
sxs-collaboration/spectre
7,054
defect
813e54a34ed86b21aefac4ac9ef78d10e4c93fd2
68e53d3a129d9c63bc3d189de0dc3985f2095a52
Add Fornberg routine to calculate derivatives
## Proposed changes This implements [the routine](https://epubs.siam.org/doi/10.1137/S0036144596322507) used in SpEC for derivatives on arbitrary grids. It is required for accurate Zernike derivatives. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes ch...
diff --git a/src/NumericalAlgorithms/Interpolation/InterpolationWeights.cpp b/src/NumericalAlgorithms/Interpolation/InterpolationWeights.cpp index 39fead59ea096..1f77767c6beff 100644 --- a/src/NumericalAlgorithms/Interpolation/InterpolationWeights.cpp +++ b/src/NumericalAlgorithms/Interpolation/InterpolationWeights.cpp...
2
2
0
[{"id": "G0", "claim": "The new routine's name and doc comments should say \"weights\" instead of \"coefficients\" (e.g. rename fornberg_derivative_interpolation_coefficients).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The clang-tidy reques...
null
sxs-collaboration__spectre__7055
sxs-collaboration/spectre
7,055
defect
813e54a34ed86b21aefac4ac9ef78d10e4c93fd2
016655b7d874b0f8632c6a4ff940af1be20a631b
Add Parity enum class
## Proposed changes This will be useful to label parity of functions represented by the Zernike basis. As a note, this has been used only with respect to `ZernikeB1` (for my cartoon things), in which case just knowing parity is enough (I always use m=0 or m=1). When coupling `ZernikeB2` to an angular direction fo...
diff --git a/src/NumericalAlgorithms/Spectral/CMakeLists.txt b/src/NumericalAlgorithms/Spectral/CMakeLists.txt index 3ef541faf5a29..03f5238f0a991 100644 --- a/src/NumericalAlgorithms/Spectral/CMakeLists.txt +++ b/src/NumericalAlgorithms/Spectral/CMakeLists.txt @@ -26,6 +26,7 @@ spectre_target_sources( Mesh.cpp Mo...
2
2
0
[{"id": "G0", "claim": "Make Uninitialized (currently NotSet) the first enum entry, since it is likely the default value.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The third enum value should be named Undefined or Uninitialized, consistent with simi...
null
sxs-collaboration__spectre__7056
sxs-collaboration/spectre
7,056
defect
f2a8242c00b4fa1efe817204eeda184d2fd38ef0
f5deef2ddf96fc477753822aeb986a441c14912f
Setup for Zernike bases
## Proposed changes Of the 3 commits, 2 are just adding functions to be evaluated (The Jacobi files were fully written by Larry) I will use the "1D" Zernike basis as a cartesian coordinate in cartoon simulations. Unfortunately once I add collocation points and weights, the files become very dependent, so this ...
diff --git a/docs/References.bib b/docs/References.bib index 1445218a1ea19..525c77df27aaf 100644 --- a/docs/References.bib +++ b/docs/References.bib @@ -1940,6 +1940,19 @@ @article{Mathar2009 pages = {107–120} } +@article{Matsushima1995, + author = {T. Matsushima and P.S. Marcus}, + title = {A Spectral M...
2
2
0
[{"id": "G0", "claim": "The compute_collocation_points_and_weights declared in the Zernike class does not appear to be defined anywhere, so the declaration should be dropped from the header.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There i...
null
sxs-collaboration__spectre__7061
sxs-collaboration/spectre
7,061
defect
afd9b0ab9e8346e60feb76a1bd20427e5d3596d0
a4e080ad69cf630b4340e75ed1209b3d9ebfc972
Add block_ids_from_names
## Proposed changes Useful to parse block and group names from options to block IDs. Factoring this out because I'm reusing it. ### 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 INSTRUCTI...
diff --git a/src/Domain/Structure/BlockGroups.cpp b/src/Domain/Structure/BlockGroups.cpp index 0ef8f1b3e1a0e..23dddd626b30a 100644 --- a/src/Domain/Structure/BlockGroups.cpp +++ b/src/Domain/Structure/BlockGroups.cpp @@ -58,4 +58,21 @@ std::unordered_set<std::string> expand_block_groups_to_block_names( return expand...
5
2
1
[{"id": "G0", "claim": "block_ids_from_names converts block names to IDs via std::distance/std::find without checking that the find succeeded, so a name not present in all_block_names would insert the out-of-range ID all_block_names.size() instead of reporting an error; add an explicit find == end() check that raises a...
null
sxs-collaboration__spectre__7062
sxs-collaboration/spectre
7,062
defect
86e75df7418e1452c37b2e489df899a5023781f1
a6d0c32c5bb9de9ea45c29d857fbbb3affc4c287
Reorganize GH char speed mesh velocity
## Proposed changes GH's `characteristic_speeds()` does not add all mesh velocity terms, so they had to be manually added throughout. This is probably due to using SpEC's structure. This fixes that. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes cha...
diff --git a/src/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Bjorhus.cpp b/src/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Bjorhus.cpp index 716b5edebca37..5bc669636a5ad 100644 --- a/src/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Bjorhus.cpp +++ b/src/Evolution/Systems/Generalize...
5
3
1
[{"id": "G0", "claim": "The new gamma_1 term in characteristic_speeds looks odd — is it the constraint damping term described in the docs as used in SpEC and SpECTRE but not published anywhere?", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Systems/...
null
sxs-collaboration__spectre__7064
sxs-collaboration/spectre
7,064
defect
1c739ef6c4301e89ff857c0e2f7c7ee011d2ead0
937899aae204f6a996418b350c1ce61ee8c74987
TensorYlm filtering for CurvedScalarWave
## Proposed changes Adds `apply_tensor_ylm_filter` for ScalarWaveCurved variables. Depends on (and includes) #7060 Also allows for CurvedScalarWave Tags to have a Frame (only relevant for Phi). ### Code review checklist - [ ] The code is documented and the documentation renders correctly. Run `make do...
diff --git a/src/Evolution/Systems/Cce/Callbacks/DumpBondiSachsOnWorldtube.hpp b/src/Evolution/Systems/Cce/Callbacks/DumpBondiSachsOnWorldtube.hpp index 38b384c385baa..9475551ccede1 100644 --- a/src/Evolution/Systems/Cce/Callbacks/DumpBondiSachsOnWorldtube.hpp +++ b/src/Evolution/Systems/Cce/Callbacks/DumpBondiSachsOnW...
2
2
1
[{"id": "G0", "claim": "The ApplyTensorYlmFilter functions should be moved out of SphericalHarmonics into the individual systems (the hpp/cpp to GH and a similar one added to CSW, with any generic helpers kept in a .tpp and the test helper shared), because as changed by this pull request they couple GH<->CSW<->Spherica...
null
sxs-collaboration__spectre__7076
sxs-collaboration/spectre
7,076
defect
e6441221c949780b6e1c232a0c1157f99515b67d
bb1bfb40b8a6c59ad4cea7b8e7dc811c3e7fe63e
Add higher-order Sommerfeld boundary conditions for ScalarSelfForce
## Proposed changes - Changes related to ScalarSelfForce - In CircularOrbit, higher order smoothstep has been implemented. Order = 2 case is verified in Test_CircularOrbit - Higher order Sommerfeld boundary condition has been implemented. Order = 2 with hyperboloidal slicing case is verified in Test_Sommerfeld - ...
diff --git a/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/CMakeLists.txt b/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/CMakeLists.txt index 3d7aa12aa6fa2..6592efa9ff017 100644 --- a/src/Elliptic/Systems/SelfForce/Scalar/BoundaryConditions/CMakeLists.txt +++ b/src/Elliptic/Systems/SelfForce/Scal...
5
5
1
[{"id": "G0", "claim": "The changes to Test_Angular.cpp and Test_None.cpp are unnecessary; please only change Test_Sommerfeld.cpp.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please don't delete the test of the Sommerfeld properties from Test_Sommerfe...
null
sxs-collaboration__spectre__7082
sxs-collaboration/spectre
7,082
defect
7fb454911bf0e3ddffcbb1cd43f836197ee1e976
451a4768b5241fcbf458e65ac386f0407db754db
Runtime LTS decisions - receive
This is the changes to the data-receiving code for runtime LTS decisions. After this, what is left is the code to actually choose between the modes and the metavariables updates. ## Proposed changes <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes chan...
diff --git a/src/Evolution/DgSubcell/CMakeLists.txt b/src/Evolution/DgSubcell/CMakeLists.txt index 276fa08f23976..4ed0b0addd345 100644 --- a/src/Evolution/DgSubcell/CMakeLists.txt +++ b/src/Evolution/DgSubcell/CMakeLists.txt @@ -34,6 +34,7 @@ spectre_target_headers( Projection.hpp RdmpTci.hpp RdmpTciData.hpp +...
1
1
0
[{"id": "G0", "claim": "The word \"number\" in the ASSERT message \"Must receive number boundary correction data when not using DG-subcell\" should be \"neighbor\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
sxs-collaboration__spectre__7085
sxs-collaboration/spectre
7,085
defect
594d5c5d142241866366e8b4bc2677cc819fe93b
d30270ea24536131027c97d3ed264478bf92fbe6
Revise "Add block_ids_from_names"
## Proposed changes Switch from std::set to std::vector as discussed in #7061. ### 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/Structure/BlockGroups.cpp b/src/Domain/Structure/BlockGroups.cpp index 23dddd626b30a..dd5a0a1f5b3fb 100644 --- a/src/Domain/Structure/BlockGroups.cpp +++ b/src/Domain/Structure/BlockGroups.cpp @@ -9,6 +9,7 @@ #include <unordered_set> #include <vector> +#include "Utilities/Algorithm.hpp" #in...
4
4
1
[{"id": "G0", "claim": "The doc comment of block_ids_from_names should mention 'sorted block IDs' so callers can rely on the output being sorted.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test that explicitly verifies the output is sort...
null
sxs-collaboration__spectre__7086
sxs-collaboration/spectre
7,086
defect
6747c5cc1f4e1da9018334068163b78b4e44fa34
63dec40705a426f1eb64bed299eba4af14f6372a
Add non-copying Variables-VectorImpl conversion
## 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/Variables.hpp b/src/DataStructures/Variables.hpp index 34cd01f463163..20b9692b5085c 100644 --- a/src/DataStructures/Variables.hpp +++ b/src/DataStructures/Variables.hpp @@ -39,7 +39,6 @@ #include "Utilities/Gsl.hpp" #include "Utilities/Literals.hpp" #include "Utilities/MakeSignalingNa...
1
1
1
[{"id": "G0", "claim": "In the new ownership test the scalar comparison reads the moved-from `vars` instead of `transferred_back`, so the test should check `transferred_back` (or explain why reading `vars` is correct), and it was passing only because of an underlying bug.", "category": "testing", "verdict": "supported"...
null
sxs-collaboration__spectre__7087
sxs-collaboration/spectre
7,087
defect
86e75df7418e1452c37b2e489df899a5023781f1
f502c5c7bb64f83e26093b110894905eafdfb2ef
Enable BBH completion based on constraints, common horizon finds
## Proposed changes This PR improves how binary-black-hole inspirals choose to complete the inspiral and begin the transition to ringdown. Currently, the completion criterion is just when the coordinate separation decreases below a constant threshold in the yaml file. The problem is that the correct separation to...
diff --git a/src/Evolution/Executables/GeneralizedHarmonic/EvolveGhBinaryBlackHole.hpp b/src/Evolution/Executables/GeneralizedHarmonic/EvolveGhBinaryBlackHole.hpp index 6ae23e8b12cf..b36799a45f9a 100644 --- a/src/Evolution/Executables/GeneralizedHarmonic/EvolveGhBinaryBlackHole.hpp +++ b/src/Evolution/Executables/Gener...
5
5
1
[{"id": "G0", "claim": "The mutable global-cache tags store no time information, so every use of them is a potential thread-safety issue, and the ones used only on one singleton might be fixable by moving them into that singleton's DataBox.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
sxs-collaboration__spectre__7091
sxs-collaboration/spectre
7,091
defect
db6e299836bf7e22cb7413e603e2c84a5a08bad0
0834f5f162ac78da0318a9a154c640cbb2ae1822
Added NullSlicingBlocks for ScalarSelfForce
## Proposed changes - Added NullSlicingBlocks in ScalarSelfForce tag ### 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/Tags.hpp b/src/Elliptic/Systems/SelfForce/Scalar/Tags.hpp index d60ad9d9cb4d8..184bd7f5eb0e7 100644 --- a/src/Elliptic/Systems/SelfForce/Scalar/Tags.hpp +++ b/src/Elliptic/Systems/SelfForce/Scalar/Tags.hpp @@ -5,6 +5,9 @@ #include "DataStructures/DataBox/Tag.hpp" #...
1
1
0
[{"id": "G0", "claim": "The test should use a domain creator with multiple blocks, such as AlignedLattice, instead of Rectangle.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__7092
sxs-collaboration/spectre
7,092
defect
db6e299836bf7e22cb7413e603e2c84a5a08bad0
820855b4a988406dc2ee2d1d4253f3612081ac4a
Add field_gradient support to Elliptic source terms
## Proposed changes - Added the field_gradient argument to Sources across all Elliptic systems but left it commented out ### 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 l...
diff --git a/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp b/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp index 5e281ead4f649..5a5d665ebfbb8 100644 --- a/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp +++ b/src/Elliptic/DiscontinuousGalerkin/Actions/ApplyOperator.hpp @@ -160...
5
5
1
[{"id": "G0", "claim": "Delete the comment above the removed deriv_fields buffer declaration, which is now stale.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the reformatting of the fluxes-computer mutate_apply template list, which is ju...
null
sxs-collaboration__spectre__7093
sxs-collaboration/spectre
7,093
defect
8437fdfc1de36efc401cff6f3dc0a1be8dd7953a
c848d87e3a7c68021691dbfe041f80f4bb5e9099
Add hollow disk tests
## Proposed changes The first commit makes the required updates to allow Fourier to be used in GetSpectralQuantityForMesh, which is required for example in `partial_derivatives()`. The Fourier-specific interpolation and differentiation were nicely placed in Fourier.cpp, but by having Fourier work in GetSpectralQuant...
diff --git a/src/NumericalAlgorithms/Spectral/BasisFunctions/Fourier.cpp b/src/NumericalAlgorithms/Spectral/BasisFunctions/Fourier.cpp index 7ff4d20a91e0a..d9310d7195a93 100644 --- a/src/NumericalAlgorithms/Spectral/BasisFunctions/Fourier.cpp +++ b/src/NumericalAlgorithms/Spectral/BasisFunctions/Fourier.cpp @@ -140,6 +...
4
4
0
[{"id": "G0", "claim": "In the hollow cylinder definite-integral test the loop over pow_nz captures pow_nr instead of pow_nz, mislabeling the test output for the z-mode loop.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The LogicalCoordinates.hpp doxy...
null
sxs-collaboration__spectre__7094
sxs-collaboration/spectre
7,094
defect
e5f96fcefc42d60e89414b19d3c7296131289734
6382ba381f5c5c5224e55797b742d785619a408a
Fix ProjectionOperator lower-index bug
## Proposed changes This PR fixes a bug that affects Bjorhus boundary conditions. The issue is that boundary conditions use the normal to the boundary $s_a$, which must be orthogonal to the normal to the time slice $n^a$, which requires that $s_t = s_i \beta^i$, where $\beta^i$ is the shift. But before this fix, thi...
diff --git a/src/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Bjorhus.cpp b/src/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Bjorhus.cpp index 716b5edebca37..83afb00752bcb 100644 --- a/src/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Bjorhus.cpp +++ b/src/Evolution/Systems/Generalize...
4
4
2
[{"id": "G0", "claim": "The docs should say why the time component of the interface unit normal one-form is constructed as s_t = beta^i s_i (the reviewer conjectures it is just s_a = g_{ab} s^b, so s_t = g_{ti} s^i).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
sxs-collaboration__spectre__7095
sxs-collaboration/spectre
7,095
defect
e5f96fcefc42d60e89414b19d3c7296131289734
e96d0b823d17c1f92ae2b1e5b8d6e741b7a010cb
Add GH char speeds observer tags
## Proposed changes This creates tags for the characteristic speeds in terms of their ElementLogical directions, so an unprojected version of the real scalar speeds (so you can see the different directional behaviors) <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If ...
diff --git a/src/Evolution/Systems/GeneralizedHarmonic/Characteristics.cpp b/src/Evolution/Systems/GeneralizedHarmonic/Characteristics.cpp index e0631b31ba0c4..dba85ef08b8e0 100644 --- a/src/Evolution/Systems/GeneralizedHarmonic/Characteristics.cpp +++ b/src/Evolution/Systems/GeneralizedHarmonic/Characteristics.cpp @@ ...
6
6
2
[{"id": "G0", "claim": "Add doxygen documentation to the new characteristic-speed functions and tags, grouping the by-value and not_null overloads, so they show up in the rendered documentation, and note that they are meant for observing because the implementation is not optimized and shares computations that are redun...
null
sxs-collaboration__spectre__7096
sxs-collaboration/spectre
7,096
defect
59fa34073a53f71ca8acbbbcc58b9320e9fd8540
08d44260491e84de34e06d665ac83e4e6a3ca467
Add Zernike GaussRadauUpper collocation and weights
## Proposed changes The main goal of this is to add Zernike with GaussRadauUpper collocation points and weights. The first commit moves `InterpolationWeights.c??` from the `intrp` to `Spectral` namespace so it can be used in `DifferentiationMatrix.cpp` and avoid circular dependancies. The second commit is som...
diff --git a/src/NumericalAlgorithms/Interpolation/CMakeLists.txt b/src/NumericalAlgorithms/Interpolation/CMakeLists.txt index d4a46437dd88b..f796f116291d4 100644 --- a/src/NumericalAlgorithms/Interpolation/CMakeLists.txt +++ b/src/NumericalAlgorithms/Interpolation/CMakeLists.txt @@ -13,7 +13,6 @@ spectre_target_source...
2
2
1
[{"id": "G0", "claim": "The Doxygen command in the new DifferentiationMatrix.hpp comment block should be `\\details` instead of `\\detail` so CI's doc check passes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the test's `custom_approx` selec...
null
sxs-collaboration__spectre__7099
sxs-collaboration/spectre
7,099
defect
8437fdfc1de36efc401cff6f3dc0a1be8dd7953a
f0afa2b6314b968eb22d08b7fc2fc4c600ef26ec
Remove singularity at pole for scalar self force, add equatorial symmetry
## Proposed changes - Changes related to decomposing $\Psi_m = \sin(\theta)^m u_m(r_\star, \theta)$ for scalar self force, in order to remove singularity at poles. - Detail in the documentation of CircularOrbit.hpp - Angular boundary condition now impose nothing due to this change. ### Upgrade instructions ...
diff --git a/src/Elliptic/Systems/SelfForce/Scalar/AnalyticData/CircularOrbit.cpp b/src/Elliptic/Systems/SelfForce/Scalar/AnalyticData/CircularOrbit.cpp index a8361abd9edff..970248734566a 100644 --- a/src/Elliptic/Systems/SelfForce/Scalar/AnalyticData/CircularOrbit.cpp +++ b/src/Elliptic/Systems/SelfForce/Scalar/Analyt...
4
3
2
[{"id": "G0", "claim": "In the CircularOrbit docs the transformed equation should have u_m outside the parentheses rather than inside.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 1/sin^2 theta factor should be removed and gamma_cos theta re...
null
sxs-collaboration__spectre__7108
sxs-collaboration/spectre
7,108
defect
0ac7a803502a1bbdb1dc0706b8a3694d5537e85d
f08ba5630e63221d3aacdd7536dcf5ea888aaea3
Add subcell DisableLts mutator
Last piece of new code for wavezone LTS. There will be one more PR to update the executable metavariables. ## 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, des...
diff --git a/src/Evolution/DgSubcell/SubcellOptions.cpp b/src/Evolution/DgSubcell/SubcellOptions.cpp index d9a44df3d826e..0ec2f0f49c30c 100644 --- a/src/Evolution/DgSubcell/SubcellOptions.cpp +++ b/src/Evolution/DgSubcell/SubcellOptions.cpp @@ -3,6 +3,7 @@ #include "Evolution/DgSubcell/SubcellOptions.hpp" +#includ...
1
1
0
[{"id": "G0", "claim": "Add an ASSERT to the lts_steps_per_slab() accessor instead of relying on the bad_optional_access exception thrown by an unchecked .value(), which is harder to debug if hit unexpectedly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__7112
sxs-collaboration/spectre
7,112
defect
bd506065d7f9a20baf986938fd5446cef3202df0
1eec4f36c3491ae8f354a48e520c07f963dc1baa
TensorYlm: Allow for Spherepack coefficients.
Previously all the TensorYlm functions operated on standard spherical harmonic coefficients, which differ from Spherepack coefficients by factors of (-1)^m * const. ## Proposed changes Adds an enum that specifies what type of coefficients the various TensorYlm functions are expected to operate on. apply_tensor...
diff --git a/src/NumericalAlgorithms/SphericalHarmonics/TensorYlm.hpp b/src/NumericalAlgorithms/SphericalHarmonics/TensorYlm.hpp index 7ccdc46133ca2..84e529b442c8c 100644 --- a/src/NumericalAlgorithms/SphericalHarmonics/TensorYlm.hpp +++ b/src/NumericalAlgorithms/SphericalHarmonics/TensorYlm.hpp @@ -52,6 +52,27 @@ * ...
6
6
1
[{"id": "G0", "claim": "The new coefficient_normalization parameter of fill_cart_to_sphere should be declared const.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sign-factor logic repeated in several places should be extracted into a helpe...
null
sxs-collaboration__spectre__7113
sxs-collaboration/spectre
7,113
defect
e5412e8428b88c38c7a70269a53965211909b891
6b302127751d8bd319afd4477f82706f12afb0d8
Add ParaView connectivity for disks
## Proposed changes For 2D filled disks (Zernike radially and Fourier angularly), Paraview needs extra connectivity: 1. Close the angular edges (so it doesn't look like pac-man) 2. Fill in the $r < r_\mathrm{smallest\ collocation\ point}$ region. The method used is what SpEC uses: it fills in with the smallest p...
diff --git a/src/IO/H5/VolumeData.cpp b/src/IO/H5/VolumeData.cpp index e27f9bd5d0cae..47e59780ce7b2 100644 --- a/src/IO/H5/VolumeData.cpp +++ b/src/IO/H5/VolumeData.cpp @@ -57,6 +57,7 @@ void append_element_extents_and_connectivity( const gsl::not_null<std::vector<size_t>*> total_extents, const gsl::not_null<...
2
1
0
[{"id": "G0", "claim": "Declare the newly added local pole point variables const, as required by clang-tidy.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It would be nice to add an image of a ParaView visualization to the PR description so oth...
null
sxs-collaboration__spectre__7114
sxs-collaboration/spectre
7,114
defect
ef66bdbe856281c80febbb1f0edd03f8cd200249
e55176ddc734df4d29c5fa402963e74e1def96ff
Add Zernike GaussRadau weights to `lift_flux`
## Proposed changes When a Zernike basis with GaussRadauUpper collocation is used, we have a collocation point at $\xi = 1$ and therefore want to just lift the flux. This generalizes the `lift_flux()` function from just Legendre to also include Zernike (the call in `ApplyBoundaryCorrections.hpp` will need to be upda...
diff --git a/src/NumericalAlgorithms/DiscontinuousGalerkin/LiftFlux.hpp b/src/NumericalAlgorithms/DiscontinuousGalerkin/LiftFlux.hpp index 0626f592caefa..862bd47cd08f0 100644 --- a/src/NumericalAlgorithms/DiscontinuousGalerkin/LiftFlux.hpp +++ b/src/NumericalAlgorithms/DiscontinuousGalerkin/LiftFlux.hpp @@ -13,6 +13,7 ...
3
3
2
[{"id": "G0", "claim": "The new Legendre branch's weight formula also works for Chebyshev, so lift_flux should handle Chebyshev through that branch instead of leaving it unsupported.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The function documentati...
null
sxs-collaboration__spectre__7115
sxs-collaboration/spectre
7,115
defect
d8532c30095602fec0826f83b295bb2c55c8514c
3e7e2dc950b256e01a1a50f848e94291e14cd71f
Make python test char speed calculation calls consistent
## Proposed changes Reducing the number of places this result is calculated <!-- 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 IN...
diff --git a/tests/Unit/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/DemandOutgoingCharSpeeds.py b/tests/Unit/Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/DemandOutgoingCharSpeeds.py index 9c0b02a26c66a..51f59ca7a9f23 100644 --- a/tests/Unit/Evolution/Systems/GeneralizedHarmonic/BoundaryConditio...
1
1
1
[{"id": "G0", "claim": "The new import path in DemandOutgoingCharSpeeds.py depends on how the C++ unit test sets up the python environment, and the `setup_python` call in the unit test(s) appears not to have been updated, which is likely what is failing in CI.", "category": "correctness", "verdict": "supported", "prior...
null
sxs-collaboration__spectre__7124
sxs-collaboration/spectre
7,124
defect
ef66bdbe856281c80febbb1f0edd03f8cd200249
2ebd176731939d7d2f3e4e8387ee44f72f3695e0
Add ParaView connectivity for Fourier & Cylinders
## Proposed changes Identical logic to disks (see #7113 for image of filling pattern), cylinders need their angular sides to be closed and their inner hole to be filled. All now in 3D. Changes from #7113: - Support Fourier in a hollow disk - Support multiple elements (there is a global offset in counting I forg...
diff --git a/src/IO/H5/VolumeData.cpp b/src/IO/H5/VolumeData.cpp index 08026c16fd606..f061f54cda307 100644 --- a/src/IO/H5/VolumeData.cpp +++ b/src/IO/H5/VolumeData.cpp @@ -58,6 +58,7 @@ void append_element_extents_and_connectivity( const gsl::not_null<std::vector<int>*> total_connectivity, const gsl::not_nul...
4
4
3
[{"id": "G0", "claim": "Rename the helper lambda `pt` to `global_index` and its parameters `i_r`, `i_ph`, `i_z` to `index_radius`, `index_phi`, `index_z`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the 2D branch, when Fourier is used in t...
null
sxs-collaboration__spectre__7125
sxs-collaboration/spectre
7,125
defect
ef66bdbe856281c80febbb1f0edd03f8cd200249
56c8c003e5ecbe5dbb71d24f3a3dda9e21609939
Add Zernike nodal modal transformations
## Proposed changes Because Zernike bases have two indices, there is extra freedom in the size of the spectral space. The NodalToModal and ModalToNodal transformations therefore have extra parameters. But the transformation itself is standard. <!-- At a high level, describe what this PR does. --> ### Upgrade...
diff --git a/src/NumericalAlgorithms/Spectral/ModalToNodalMatrix.cpp b/src/NumericalAlgorithms/Spectral/ModalToNodalMatrix.cpp index 1fee0be5a0e41..d5e6f63ca0ce3 100644 --- a/src/NumericalAlgorithms/Spectral/ModalToNodalMatrix.cpp +++ b/src/NumericalAlgorithms/Spectral/ModalToNodalMatrix.cpp @@ -40,6 +40,37 @@ struct M...
4
4
0
[{"id": "G0", "claim": "Fix the misspelling of 'supported' ('suported') in the new two-index modal_to_nodal_matrix doc comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The new test calls CAPTURE(N) a second time inside the m loop although N...
null
sxs-collaboration__spectre__7127
sxs-collaboration/spectre
7,127
defect
ef66bdbe856281c80febbb1f0edd03f8cd200249
f67ce487b39b5841a7d82f513aee635866ae6891
Add projection cases for Fourier and ZernikeB2 Equiangular
## Proposed changes To use disks / cylinders, there are abutting Fourier edges (no h-refinement allowed, just p) In the filled disk, the angular direction is `ZernikeB2` basis with `Equiangular` quadrature. From the projection perspective, this can be treated as a `Fourier` basis. Because the maximum number of...
diff --git a/src/NumericalAlgorithms/Spectral/Projection.cpp b/src/NumericalAlgorithms/Spectral/Projection.cpp index 9f660a677183d..c32a7625b32d5 100644 --- a/src/NumericalAlgorithms/Spectral/Projection.cpp +++ b/src/NumericalAlgorithms/Spectral/Projection.cpp @@ -29,6 +29,56 @@ #include "Utilities/StaticCache.hpp" ...
5
4
1
[{"id": "G0", "claim": "The verify_meshes definition should be reformatted (the wrapped parameter lines were misaligned).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The compute_matrix helper added for SegmentSize::Full should not take the ba...
null
sxs-collaboration__spectre__7128
sxs-collaboration/spectre
7,128
defect
ef66bdbe856281c80febbb1f0edd03f8cd200249
a7a70a1ee058e9ace9abfffe7bdb12fd668fb034
Add Fourier to ExponentialFilter
## Proposed changes Because the maximum number of allowed points is very large (and because adding Fourier and Equiangular to the inputs needlessly extends the cartesian products of possible inputs to the cache to the point that it fails to compile) a separate cache is made, similar to separate caches in #7127 <!...
diff --git a/src/NumericalAlgorithms/LinearOperators/ExponentialFilter.cpp b/src/NumericalAlgorithms/LinearOperators/ExponentialFilter.cpp index 19b2eb985a9e8..f3a329d8b3866 100644 --- a/src/NumericalAlgorithms/LinearOperators/ExponentialFilter.cpp +++ b/src/NumericalAlgorithms/LinearOperators/ExponentialFilter.cpp @@ ...
1
1
0
[{"id": "G0", "claim": "Pass compute_filter directly as the function argument to make_static_cache instead of wrapping it in another lambda.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sxs-collaboration__spectre__7129
sxs-collaboration/spectre
7,129
defect
ef66bdbe856281c80febbb1f0edd03f8cd200249
611c74e4aab1dee02319095fdefa8c7ed83b0467
Make AngularDisk domain creator
## Proposed changes Use filled disks with ZernikeB2 and Fourier bases. Yes it is a bad name. It will go away when Larry refactors the directory. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgra...
diff --git a/src/Domain/Creators/AngularDisk.cpp b/src/Domain/Creators/AngularDisk.cpp new file mode 100644 index 0000000000000..f55aab16071ec --- /dev/null +++ b/src/Domain/Creators/AngularDisk.cpp @@ -0,0 +1,211 @@ +// Distributed under the MIT License. +// See LICENSE.txt for details. + +#include "Domain/Creators/An...
11
11
4
[{"id": "G0", "claim": "The class documentation comment should be rephrased to state that the domain is a 2D filled disk with radial partitioning: a B2 filled disk at the center surrounded by Fourier hollow disks.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G...
null
sxs-collaboration__spectre__7133
sxs-collaboration/spectre
7,133
defect
ef66bdbe856281c80febbb1f0edd03f8cd200249
83562ad6fb17706d306e37edec026757c21f272d
ZernikeB2 equiangular setup
## Proposed changes This is setup required for the 3 operators we need for Zernike: logical derivatives, interpolation, and integration. <!-- 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 ...
diff --git a/src/NumericalAlgorithms/Spectral/GetSpectralQuantityForMesh.hpp b/src/NumericalAlgorithms/Spectral/GetSpectralQuantityForMesh.hpp index 7ea000bdba940..b8a0ea5a70848 100644 --- a/src/NumericalAlgorithms/Spectral/GetSpectralQuantityForMesh.hpp +++ b/src/NumericalAlgorithms/Spectral/GetSpectralQuantityForMesh...
4
3
0
[{"id": "G0", "claim": "Pull the loop logic that is repeated three times across the switch cases into a lambda or free function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "Use std::numbers::pi instead of M_PI for two_pi_over_n_phi in Logical...
null
sxs-collaboration__spectre__7137
sxs-collaboration/spectre
7,137
defect
b6fedbfb25ec49ef4b2e84ea64456b4813dad94f
8e413947cf2c0aa0d998f3bb4cfce3489402ac59
Update DG actions for GaussRadauUpper
## Proposed changes These are the minimal changes to use `GaussRadauUpper` quadrature. Currently, my test updates are just changing the logic to match the source code: the new paths are not tested. That is primarily because these are complex tests that would potentially require moderate changes to properly test. ...
diff --git a/src/Evolution/DiscontinuousGalerkin/Actions/ApplyBoundaryCorrections.hpp b/src/Evolution/DiscontinuousGalerkin/Actions/ApplyBoundaryCorrections.hpp index 5259322aa6806..3f65592b370d4 100644 --- a/src/Evolution/DiscontinuousGalerkin/Actions/ApplyBoundaryCorrections.hpp +++ b/src/Evolution/DiscontinuousGaler...
3
3
1
[{"id": "G0", "claim": "The new lower-side GaussRadauUpper check should also test for the Zernike basis that the error message references, and the error message should print the volume mesh (and element ID) to aid debugging.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
sxs-collaboration__spectre__7138
sxs-collaboration/spectre
7,138
defect
28b4bffe2e14d5ca5a2b07541d89fa5e78d7d284
eb8018960ef89db788d499d281282fa550d1910e
Allow injecting gravitational wave through outer boundary
## Proposed changes Adds the option to inject a gravitational wave through the outer boundary. The profile can be set as a MathFunction from the input file. The tensor components of the strain tensor are hard-coded to be (1,1,-2). @geoffrey4444 I think you were interested in this for the spinning black hole simul...
diff --git a/src/Evolution/Executables/GeneralizedHarmonic/EvolveGhBinaryBlackHole.hpp b/src/Evolution/Executables/GeneralizedHarmonic/EvolveGhBinaryBlackHole.hpp index f5423a8f2ca99..d23d2286db704 100644 --- a/src/Evolution/Executables/GeneralizedHarmonic/EvolveGhBinaryBlackHole.hpp +++ b/src/Evolution/Executables/Gen...
11
11
4
[{"id": "G0", "claim": "The math symbols in the added Bjorhus.hpp class documentation (e.g. \\hat{x}_a) need `$` around them so Doxygen renders them as math.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The IncomingWaveProfile option should only...
null
sxs-collaboration__spectre__7139
sxs-collaboration/spectre
7,139
defect
c2fdbe2fbe50612839b15bddf54e7832e7306ca6
912eba5eee16ef4152a2b3c6312d3cc3c332fdc6
Add support for ZernikeB2 logical derivatives
## Proposed changes Representing functions on a filled disk (with ZernikeB2) couples the bases. We found that you need to "extend" the derivatives to negative $r$ to get stable runs, which means we need to act on the functions in the angular modal basis. <!-- At a high level, describe what this PR does. --> ...
diff --git a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.cpp b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.cpp index a4a705cbc4d19..58a1760f449ef 100644 --- a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.cpp +++ b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.cpp...
8
7
0
[{"id": "G0", "claim": "Rename `n_ph` to `n_phi` in the ZernikeB2 branches of PartialDerivatives.cpp (both the 2D and the 3D case).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo in the buffer-pointer comment in PartialDerivatives.t...
null
sxs-collaboration__spectre__7140
sxs-collaboration/spectre
7,140
defect
484b0d5884c45f41b2a56f35dbd2a0e59e08bbfa
025933ea725879de489c663431196ab3f1b40de6
ZernikeB2 interpolants
## Proposed changes The main purpose of this is to have IrregularInterpolants work for ZernikeB2 basis. This requires updating CardinalInterpolator. <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of when upgra...
diff --git a/src/NumericalAlgorithms/Interpolation/CardinalInterpolator.cpp b/src/NumericalAlgorithms/Interpolation/CardinalInterpolator.cpp index 230d5140bb6f9..53e10bb47d3f6 100644 --- a/src/NumericalAlgorithms/Interpolation/CardinalInterpolator.cpp +++ b/src/NumericalAlgorithms/Interpolation/CardinalInterpolator.cpp...
12
12
1
[{"id": "G0", "claim": "Rename `n_ph` to `n_phi` in the ZernikeB2 interpolation-matrix code of CardinalInterpolator.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename the single-letter variable `r` (to e.g. `radius`) because single-lette...
null
sxs-collaboration__spectre__7141
sxs-collaboration/spectre
7,141
defect
484b0d5884c45f41b2a56f35dbd2a0e59e08bbfa
9e82104dc4c75175d908a3b28936eb788ebac3eb
Add ZernikeB2 support to DefiniteIntegral
## Proposed changes Adding support for definite integrals of disks and cylinders. (Indefinite integrals are not feasible for Zernike bases) <!-- 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 ...
diff --git a/src/NumericalAlgorithms/LinearOperators/DefiniteIntegral.cpp b/src/NumericalAlgorithms/LinearOperators/DefiniteIntegral.cpp index 7a61d458e932d..87a169662fe31 100644 --- a/src/NumericalAlgorithms/LinearOperators/DefiniteIntegral.cpp +++ b/src/NumericalAlgorithms/LinearOperators/DefiniteIntegral.cpp @@ -7,6...
3
3
0
[{"id": "G0", "claim": "For the 2d ZernikeB2 branch, compute w_r/r outside the loop instead of r, unless the result is cached to avoid the allocation.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Multiply by the constant factor 2 pi / n_phi once a...
null
sxs-collaboration__spectre__7148
sxs-collaboration/spectre
7,148
defect
f3b751fc4acf5155bf4af4d26fc148a4efd6774a
4b7e78b24f4937d92ff610ed16ede93947be7f38
Add function to determine parity for use with cartoon method
## Proposed changes We found that to get stable cartoon evolutions which include the $x=0$ axis, we need a `ZernikeB1` basis to properly handle the behavior at small $x$ (note that this basis doesn't couple to other dimensions). For certain operations, such as derivatives and filtering, knowing the parity of the ...
diff --git a/src/NumericalAlgorithms/Spectral/CMakeLists.txt b/src/NumericalAlgorithms/Spectral/CMakeLists.txt index ee8c1cc3b6909..f9baa7f14e228 100644 --- a/src/NumericalAlgorithms/Spectral/CMakeLists.txt +++ b/src/NumericalAlgorithms/Spectral/CMakeLists.txt @@ -65,6 +65,7 @@ spectre_target_headers( Namespace.hpp ...
8
7
2
[{"id": "G0", "claim": "The header should include \"Utilities/TMPL.hpp\" instead of <brigand/brigand.hpp> directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explanatory comment about the parity argument should be included in the docume...
null
sxs-collaboration__spectre__7150
sxs-collaboration/spectre
7,150
defect
2cbbe552ba78efe22ccef23a4f90f407e31d955f
3027dede2addedf350bc263c286109001b4174d7
Add L1 norm and L1 integral norm to ObserveNorms
## Proposed changes Fixes #1459 ### 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 --> <!-- UPGRADE INSTRUCTIONS --> ### Co...
diff --git a/src/ParallelAlgorithms/Events/ObserveNorms.cpp b/src/ParallelAlgorithms/Events/ObserveNorms.cpp index e27b31f825517..f8ef5bb710797 100644 --- a/src/ParallelAlgorithms/Events/ObserveNorms.cpp +++ b/src/ParallelAlgorithms/Events/ObserveNorms.cpp @@ -52,6 +52,7 @@ void fill_norm_values_and_names( ...
2
2
1
[{"id": "G0", "claim": "The negative-values test block added at S1 requests L1IntegralNorm even though that norm is not implemented until the next commit, so the test exercises a norm type the pull request does not yet support at that snapshot.", "category": "testing", "verdict": "supported", "priority": "P1", "scope":...
null
sxs-collaboration__spectre__7158
sxs-collaboration/spectre
7,158
defect
d37d40bc633c13853999aed16ecf87f905817f7f
d6659d62aa0bafd35144252e05341995fcf2580f
Move serialize_and_deserialize into src
## Proposed changes Fixes #1727 I did this as part of developing #7157 ### 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/Utilities/Serialization/Serialize.hpp b/src/Utilities/Serialization/Serialize.hpp index e34f5731d80ff..88a29bf8f1361 100644 --- a/src/Utilities/Serialization/Serialize.hpp +++ b/src/Utilities/Serialization/Serialize.hpp @@ -7,6 +7,7 @@ #pragma once #include <pup.h> +#include <type_traits> #include...
2
2
0
[{"id": "G0", "claim": "The docstring word \"converting\" in serialize_and_deserialize's brief should read \"copying\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Several call sites outside the second commit still use the manual serialize/dese...
null
sxs-collaboration__spectre__7165
sxs-collaboration/spectre
7,165
defect
81ce5d5da45f06d958a78c442e29eff73e7b89fa
cd85cefb079bf61c9544168184731b9104c9d901
Add cartoon cartesian flux divergence
## Proposed changes The reasoning for this is documented. These tests are just manually working through the logic, it is not checking physical correctness <!-- At a high level, describe what this PR does. --> ### Upgrade instructions <!-- If this PR makes changes that other people should be aware of w...
diff --git a/src/Evolution/DgSubcell/CartesianFluxDivergence.cpp b/src/Evolution/DgSubcell/CartesianFluxDivergence.cpp index f293490145eb7..b0c8eb19a4ad3 100644 --- a/src/Evolution/DgSubcell/CartesianFluxDivergence.cpp +++ b/src/Evolution/DgSubcell/CartesianFluxDivergence.cpp @@ -7,6 +7,16 @@ #include "DataStructure...
8
8
3
[{"id": "G0", "claim": "The header uses std::string (in the functions-of-time map parameter) but does not include <string>, so add that include.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Convert the x=0 coordinate check from an ASSERT into an `...
null
sxs-collaboration__spectre__7171
sxs-collaboration/spectre
7,171
defect
5131b9801ee1eb33abc663c77bb529f2e5c2ca7f
4a54de39a2bba5da16dee25582943390f0797d72
Add ZernikeB1 partial derivatives
## Proposed changes ZernikeB1 is only used in a cartoon method setting, specifically the 2 (computation) dimensional case with axial symmetry. In this instance, we can determine the parity of tensor components by their index structure (see [dox](https://spectre-code.org/namespaceSpectral.html#a614085a21d235cb4e1e000...
diff --git a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.tpp b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.tpp index 5a48d01a264b1..8c2fa936b9d56 100644 --- a/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.tpp +++ b/src/NumericalAlgorithms/LinearOperators/PartialDerivatives.tpp...
9
9
0
[{"id": "G0", "claim": "Add or expand the comments explaining what seg_size is used for in the logic of the if statement, especially the seg_size == 0 case, since the existing comments do not convey the crucial understanding.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
sxs-collaboration__spectre__7180
sxs-collaboration/spectre
7,180
defect
1edafdcf8f1daa3b8a44b1fa87ed2c4fd57bcd0e
55368a66668d3e9cd90bead06617106433ed25a0
Update IrregularInterpolant to handle FD + Cartoon
## Proposed changes DG with Cartoon did not need any edits because the interpolation matrix is just the 1x1 Identity. While that is still true, because the FD is a special case in the code, we need to treat the FD with cartoon as a special case as well. Here we can explicitly just call the lower-dimensional version ...
diff --git a/src/NumericalAlgorithms/Interpolation/IrregularInterpolant.cpp b/src/NumericalAlgorithms/Interpolation/IrregularInterpolant.cpp index ddb6b90c13b98..4e7c24ca2e201 100644 --- a/src/NumericalAlgorithms/Interpolation/IrregularInterpolant.cpp +++ b/src/NumericalAlgorithms/Interpolation/IrregularInterpolant.cpp...
4
3
0
[{"id": "G0", "claim": "The new branch conditions in interpolation_matrix should compare mesh.basis() against a full std::array{FiniteDifference, FiniteDifference, FiniteDifference} (and the corresponding FD/Cartoon combinations) since the full basis is the assumption, rather than checking individual dimensions.", "cat...
null
sxs-collaboration__spectre__7181
sxs-collaboration/spectre
7,181
defect
1edafdcf8f1daa3b8a44b1fa87ed2c4fd57bcd0e
8ff4a8f48a473432a7b59a8288c0bf0ff1dd6485
Handle cartoon basis with FD filtering
## Proposed changes We don't filter cartoon dimensions, so we just skip those dimensions. <!-- 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 ...
diff --git a/src/NumericalAlgorithms/FiniteDifference/Filter.cpp b/src/NumericalAlgorithms/FiniteDifference/Filter.cpp index 89dd201003513..98f04369e6bf6 100644 --- a/src/NumericalAlgorithms/FiniteDifference/Filter.cpp +++ b/src/NumericalAlgorithms/FiniteDifference/Filter.cpp @@ -363,10 +363,39 @@ void filter_impl( ...
3
2
2
[{"id": "G0", "claim": "The dox should be updated to note that filtering supports Cartoon bases and what its restrictions/assumptions are.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It should be possible to (and the PR should) test the ASSERTs...
null
sxs-collaboration__spectre__7183
sxs-collaboration/spectre
7,183
defect
7963375d3c852dd34f0855e4431a1a10ebe87e35
6b0c0f878fb2e85699a99cee16fef82ebb45d15e
Claude skill that can fetch a GitHub action job output and fix the issue. Use it to fix develop
## 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/.claude/skills/spectre-fix-ci/SKILL.md b/.claude/skills/spectre-fix-ci/SKILL.md new file mode 100644 index 0000000000000..53f3d1d95c950 --- /dev/null +++ b/.claude/skills/spectre-fix-ci/SKILL.md @@ -0,0 +1,14 @@ +--- +name: spectre-fix-ci +description: > + Fetch and analyze a failed GitHub Actions job log...
1
1
1
[{"id": "G0", "claim": "The Unit.IO.Exporter.SpacetimeInterpolator test still times out despite the [[TimeOut, 5]] annotation added by this PR.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
sycamore-rs__sycamore__419
sycamore-rs/sycamore
419
defect
49135bde95d6903507fbac1c67ab8c699f92b7a0
2235f1d4072f6d353c29fa5e1844b754f1cfcf39
Fix destructuring async props
Fixes #410 This PR fixes support in the `#[component]` macro for destructured struct patterns of props. I added a single test to trybuild using the existing prop struct with generics and lifetimes to show it handles those too :) I started trying to do what I think was [discussed here](https://github.com/sycamo...
diff --git a/packages/sycamore-macro/src/component/mod.rs b/packages/sycamore-macro/src/component/mod.rs index 4768656bc..56300320a 100644 --- a/packages/sycamore-macro/src/component/mod.rs +++ b/packages/sycamore-macro/src/component/mod.rs @@ -64,9 +64,16 @@ impl Parse for ComponentFunction { )); ...
1
1
1
[{"id": "G0", "claim": "The test component AsyncComponentWithPropDestructuring should be declared as an async function, since it is meant to exercise async components with destructured props.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sycamore-rs__sycamore__503
sycamore-rs/sycamore
503
defect
20b6069c470a51d2ba6197bb322036e8324ff297
0d445734131d79e8b6c70764944dd112354f939a
Rename derive proc-macro `Prop` to `Props`
Closes #496
diff --git a/docs/next/basics/components.md b/docs/next/basics/components.md index d1a662d3c..e39c40264 100644 --- a/docs/next/basics/components.md +++ b/docs/next/basics/components.md @@ -32,11 +32,11 @@ view! { cx, Components would be much more useful if they can accept data from the parent and render the given d...
2
2
0
[{"id": "G0", "claim": "The doc example should keep saying \"its prop\" and \"when the prop changes\" (singular) instead of the PR's \"props\" wording, per the supplied suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sentence ...
null
sycamore-rs__sycamore__508
sycamore-rs/sycamore
508
defect
f6331a1e96a051f35f5050d456d68fc2eadcc276
2f98e06357cb2e8e5a11de65ce5d6a44f85170d7
Make `NodeRef` Reactive
Closes #492
diff --git a/packages/sycamore-core/src/noderef.rs b/packages/sycamore-core/src/noderef.rs index 224eb93cb..7fc0af1b6 100644 --- a/packages/sycamore-core/src/noderef.rs +++ b/packages/sycamore-core/src/noderef.rs @@ -5,9 +5,7 @@ //! You can create a [`NodeRef`] by using [`create_node_ref`]. use std::any::Any; -use ...
2
2
0
[{"id": "G0", "claim": "Change the test's counter from a std Arc<RefCell<>> with cloning to a `create_signal`, since it is cleaner, consistent with other tests, and avoids the clone.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the two ...
null
sycamore-rs__sycamore__511
sycamore-rs/sycamore
511
defect
ee5519cbcb9a5f910b61e4741f136b181bd279f2
003b6555f441db6c6b0f783aafc5b50db4f49c00
Add data binding for valueAsNumber property
Closes #464
diff --git a/Cargo.toml b/Cargo.toml index 95ae2bb67..afa44f391 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,7 @@ members = [ "examples/hello-world", "examples/higher-order-components", "examples/motion", + "examples/number-binding", "examples/ssr", "examples/svg", "examples/timer", diff --g...
5
4
0
[{"id": "G0", "claim": "The two input elements and br in the number-binding example should be reformatted onto single lines without extra blank lines, for consistency with the rest of the codebase and readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": ...
null
sycamore-rs__sycamore__531
sycamore-rs/sycamore
531
defect
a770858ec5736b93c253a32e471a8bbd251dc2d4
b06997c4a9a87cfda9db0249bca0ace3eb5186f2
Make `Option<T>` prop fields optional by default
Optional fields by default, opt-out by setting `#[prop(!optional)]`. Example: ```rust #[derive(Props)] struct Props { #[prop(!optional, setter(strip_option))] required: Option<()>, optional: Option<()>, } // Compiles Props::builder() .required(()) .build(); ``` Closes #483.
diff --git a/packages/sycamore-macro/src/props.rs b/packages/sycamore-macro/src/props.rs index d4b375974..08aca8585 100644 --- a/packages/sycamore-macro/src/props.rs +++ b/packages/sycamore-macro/src/props.rs @@ -777,6 +777,7 @@ mod field_info { use super::util::{ expr_to_single_string, ident_to_type, p...
2
2
1
[{"id": "G0", "claim": "Use the fully qualified `::std::default::Default::default()` in the generated token stream for macro hygiene.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add tests to `sycamore-macro/tests/view/component-pass.rs` with a ne...
null
sycamore-rs__sycamore__548
sycamore-rs/sycamore
548
defect
4861135f46925f53808ddb21d5f5eb9145013f46
7a0e22349727e54107c25a7c1f294571f1ac6a4e
Allow passing through attributes on components
This allows a component to take in a map of arguments so they can be passed through to an inner HTML element. The current syntax proposal is the following: # Passing attributes Any prefixed "props" (`on:`, `bind:`) will be automatically passed through. For attributes that don't have a built in prefix, `attr:` ca...
diff --git a/packages/sycamore-core/src/component.rs b/packages/sycamore-core/src/component.rs index fd252f88e..96faf8c72 100644 --- a/packages/sycamore-core/src/component.rs +++ b/packages/sycamore-core/src/component.rs @@ -1,11 +1,16 @@ //! Utilities for components and component properties. -use std::fmt; +use std...
11
8
0
[{"id": "G0", "claim": "It makes more sense to use `attr:` instead of `ref:` as the passthrough attribute prefix, as discussed on Discord.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer is not sure the `AttributeValue` enum (static and dynam...
null
sycamore-rs__sycamore__760
sycamore-rs/sycamore
760
defect
1e492e2f7fe110663b26f44961aaf08c26717af7
9b85e17bfe4309b57eded1b166f4d9147be3a402
Properly support patterns in inline_props
Supersedes #720 Closes #718 This PR also adds support for sub-patterns such as: ```rust #[component(inline_props)] fn Foo(bar @ Bar { abc }: Bar) -> View { ... } ``` Note that we require at least an identifier in order to give a name to the prop.
diff --git a/packages/sycamore-macro/src/component.rs b/packages/sycamore-macro/src/component.rs index 3fa2e3f99..1f7c84c25 100644 --- a/packages/sycamore-macro/src/component.rs +++ b/packages/sycamore-macro/src/component.rs @@ -280,23 +280,31 @@ fn inline_props_impl(item: &mut ItemFn, attrs: Punctuated<Meta, Token![,]...
2
2
0
[{"id": "G0", "claim": "The 'receiver cannot be a prop' error message at component.rs:288 could be more informative.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'unexpected pattern, you must specify an identifier for the prop' error message...
null