Vectornaut
  • Joined on 2019-09-28
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-19 16:19:16 +00:00
Curvature regulators

Now that I've merged pull request #81, the branch for this pull request (curvature-regulators) needs to be rebased onto main.

Or maybe not! I just noticed that the merge control panel says…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-18 04:44:06 +00:00
Curvature regulators

Now that I've merged pull request #81, the branch for this pull request (curvature-regulators) needs to be rebased onto main. If I'm the only one with a local copy of this branch, I'd be happy…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-18 04:41:24 +00:00
Curvature regulators

I've made the changes we discussed during our meeting:

Vectornaut pushed to curvature-regulators at Vectornaut/dyna3 2025-04-18 04:35:52 +00:00
99a9c3ec55 Flag regulator update logging as debug
5506ec1f43 Make regulator activation less redundant
8dab223f6a Use field init shorthand in regulator constructors
Compare 3 commits »
Vectornaut pushed to main at StudioInfinity/dyna3 2025-04-18 04:34:33 +00:00
23ba5acad7 Add a top-level run command to the "play with prototype" in README (#81)
Vectornaut merged pull request StudioInfinity/dyna3#81 2025-04-18 04:34:31 +00:00
Add a top-level run command to the "play with prototype" in README
Vectornaut commented on pull request StudioInfinity/dyna3#81 2025-04-17 23:28:41 +00:00
Add a top-level run command to the "play with prototype" in README

We approved my revisions during today's meeting, so I'll merge!

Vectornaut commented on pull request StudioInfinity/dyna3#81 2025-04-17 22:26:53 +00:00
Add a top-level run command to the "play with prototype" in README

If you're happy with the revisions I made in commit 664b3d8, I'll go ahead and merge.

Vectornaut commented on pull request StudioInfinity/dyna3#81 2025-04-17 22:26:05 +00:00
Add a top-level run command to the "play with prototype" in README

I haven't figured out how to do it with cargo test, however.

I think the right way to do this would be to use the [-C flag](https://doc.rust-lang.org/cargo/commands/cargo-test.html#common-op

Vectornaut commented on pull request StudioInfinity/dyna3#81 2025-04-17 22:18:46 +00:00
Add a top-level run command to the "play with prototype" in README

This is useful information, and it works on my system. I've streamlined the instructions a bit (commit 664b3d8) using the fact that only one step depends on which folder you're in.

Vectornaut pushed to readme-toplevel at StudioInfinity/dyna3 2025-04-17 22:14:48 +00:00
664b3d87bc Make "Play with prototype" less location-specific
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-17 21:47:39 +00:00
Curvature regulators

I used this organization so that problem could be immutable in the scope where it's used, and only mutable in the scope where it's created.

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-17 21:42:02 +00:00
Curvature regulators

This one is intended to be an inversive distance regulator.

Renamed (commit 620a6be). I think the code is ready for review again now.

Vectornaut pushed to curvature-regulators at Vectornaut/dyna3 2025-04-17 21:40:34 +00:00
620a6be918 Make regulator naming more consistent
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-17 21:27:32 +00:00
Curvature regulators

Done (commits ee8a01b – 52d9975). To me, the code that creates and inserts regulators looks much better-organized now!

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-17 21:23:05 +00:00
Curvature regulators

Done, by making CURVATURE_COMPONENT an associated constant of the Element structure (commit 7f21e7e). When we introduce separate structures for different kinds of elements, this one will go in…

Vectornaut pushed to curvature-regulators at Vectornaut/dyna3 2025-04-17 21:20:25 +00:00
7f21e7e999 Centralize the curvature component index constant
52d99755f9 Give each regulator a constructor
8f8e806d12 Move pointer creation into insert_regulator
ee8a01b9cb Let regulators handle their own activation
Compare 4 commits »
Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 23:04:33 +00:00
Curvature regulators

I also just realized that the names of the two regulators are not parallel: currently they are "HalfCurvatureRegulator" and "ProductRegulator". The first is geometry-centric, the second is…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 22:59:47 +00:00
Curvature regulators

But such code should be part of the code for that flavor of regulator, not in an "outside" method like this insertion gadget.

I think that's a great idea. I propose moving the insertion code…

Vectornaut commented on pull request StudioInfinity/dyna3#80 2025-04-16 07:00:28 +00:00
Curvature regulators

I've made the changes we discussed during our last meeting, so this should be ready for review again!