4400 remove hardcoded bc20m and tc0m - #4478
Open
chris-ashe wants to merge 21 commits into
Open
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4478 +/- ##
==========================================
- Coverage 49.32% 49.32% -0.01%
==========================================
Files 150 150
Lines 29802 29811 +9
==========================================
+ Hits 14700 14703 +3
- Misses 15102 15108 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
clmould
requested changes
Jul 28, 2026
clmould
requested changes
Aug 12, 2026
clmould
left a comment
Collaborator
There was a problem hiding this comment.
Found a few remaining hard-coded values to be updated to use the SuperconductorModel values instead. Also 2 more things:
- There are some hard coded values in documentation/plotting_scripts - could these be updated to use the
SuperconductorModeltoo please?
- Also one instance of
jcrit_rebconeeds the new args adding still in 2nd_gen_rebco_critical_surface.py (can they be done as keyword args please):
chris-ashe
force-pushed
the
4400-remove-hardcoded-bc20m-and-tc0m
branch
from
August 12, 2026 15:08
32d48ff to
fef6f55
Compare
clmould
requested changes
Aug 12, 2026
clmould
requested changes
Aug 13, 2026
| SuperconductorShape.CABLE, | ||
| "Old Lubell NbTi", | ||
| ) | ||
| USER_DEFINED_NB3SN = ( |
Collaborator
There was a problem hiding this comment.
Could you add a warning message/check somewhere that if bcritsc and/or tcritsc are input but i_tf_sc_mat != 4 that it warns the user they tried to input these params but they have selected a different material so it's not using their inputs for the temp and field
chris-ashe
force-pushed
the
4400-remove-hardcoded-bc20m-and-tc0m
branch
2 times, most recently
from
August 14, 2026 09:57
3df6d11 to
3e90a55
Compare
…e parameters for improved flexibility
…SuperconductorModel
…SuperconductorModel
…field and temperature
… replacing them with dynamic properties from SuperconductorModel
…them with dynamic properties from SuperconductorModel
Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
… temperature values for REBCO
… temperature values
…namic values from SuperconductorModel
…rface.py Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
…surface.py Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
…surface.py Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
…surface.py Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
…rModel parameters
Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
Co-authored-by: clmould <86794332+clmould@users.noreply.github.com>
chris-ashe
force-pushed
the
4400-remove-hardcoded-bc20m-and-tc0m
branch
from
August 14, 2026 15:06
3e90a55 to
4b59b1e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Checklist
I confirm that I have completed the following checks: