Skip to content

3096 cant write to new indat with pf coil position variables#3132

Merged
j-a-foster merged 2 commits intomainfrom
3096-cant-write-to-new-indat-with-pf-coil-position-variables
Apr 26, 2024
Merged

3096 cant write to new indat with pf coil position variables#3132
j-a-foster merged 2 commits intomainfrom
3096-cant-write-to-new-indat-with-pf-coil-position-variables

Conversation

@j-a-foster
Copy link
Copy Markdown
Collaborator

@j-a-foster j-a-foster commented Apr 10, 2024

Description

Made rjconpf and cptdin explicit arrays in pfcoil_variables.f90 so input files with indexed values for these variables can be used for writing a new input file using write_new_in_dat.py.

Checklist

I confirm that I have completed the following checks:

  • I have justified any large differences in the regression tests caused by this pull request in the comments.
  • I have added new tests where appropriate for the changes I have made.
  • If I have had to change any existing unit or integration tests, I have justified this change in the pull request comments.
  • If I have made documentation changes, I have checked they render correctly.
  • I have added documentation for my change, if appropriate.

…sition-variables

Keeping branch up-to-date with main for testing
@j-a-foster j-a-foster linked an issue Apr 10, 2024 that may be closed by this pull request
@j-a-foster j-a-foster requested a review from chris-ashe April 24, 2024 09:15
Copy link
Copy Markdown
Collaborator

@chris-ashe chris-ashe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a call and @j-a-foster explained the situation. The number of cpt values match that of the total number of coils so the fix is good to go.

coheof = 1.85D7
cpt = 0.0D0
cptdin = 4.0D4
cptdin = (/4.0D4, 4.0D4, 4.0D4, &
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the number of cpt values in the default match that for the number of PF coils and their group assignment?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a call and @j-a-foster explained the situation. The number of cpt values match that of the total number of coils

@j-a-foster j-a-foster merged commit 88023e7 into main Apr 26, 2024
chris-ashe pushed a commit that referenced this pull request May 1, 2024
@je-cook je-cook deleted the 3096-cant-write-to-new-indat-with-pf-coil-position-variables branch January 5, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't write to new IN.DAT with PF coil position variables

2 participants