8000 WIP:3007 remove obsolete variables and their left over functionality by chris-ashe · Pull Request #3009 · ukaea/PROCESS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WIP:3007 remove obsolete variables and their left over functionality #3009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account rela 10000 ted emails.

Already on GitHub? Sign in to your account

Conversation

chris-ashe
Copy link
Collaborator
@chris-ashe chris-ashe commented Dec 5, 2023

Description

  • fimpvar seems to be obsolete though is not stated as such

  • impvar is obsolete so should be documented as such

  • ifispact and all associated variables should be removed, as it is not used.

  • rho_ecrh seems to be obsolete so should be removed.

  • All fms* variables seem to be useless
    real(dp) :: fmsbc
    !! Martensitic fraction of steel in (non-existent!) bucking cylinder

    real(dp) :: fmsbl
    !! Martensitic fraction of steel in blanket

    real(dp) :: fmsdwe
    !! Martensitic fraction of steel in cryostat

    real(dp) :: fmsdwi
    !! Martensitic fraction of steel in vacuum vessel

    real(dp) :: fmsfw
    !! Martensitic fraction of steel in first wall

    real(dp) :: fmsoh
    !! Martensitic fraction of steel in central solenoid

    real(dp) :: fmssh
    !! Martensitic fraction of steel in shield

    real(dp) :: fmstf
    !! Martensitic fraction of steel in TF coil

  • farc4tf seems to be obsolete and should be removed

  • quench_detection_ef seems to be obsolete. CHECK QUENCH MODEL

  • iprimnloss seems to be obsolete

  • divleg_profile_inner and divleg_profile_outer seem to be obsolete

  • fgamp is seemingly obsolete

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.

@chris-ashe chris-ashe self-assigned this Dec 5, 2023
@chris-ashe chris-ashe linked an issue Dec 5, 2023 that may be closed by this pull request
10 tasks
@chris-ashe chris-ashe changed the title 3007 remove obsolete variables and their left over functionality WIP:3007 remove obsolete variables and their left over functionality Dec 5, 2023
@chris-ashe chris-ashe marked this pull request as draft December 5, 2023 15:22
@chris-ashe chris-ashe marked this pull request as ready for review December 5, 2023 15:41
input parameter `impvar`, which may be set to a value between 3 and `nimp`, and the initial
estimate to use for the element's impurity fraction must be set using iteration
variable no. 102 (`fimpvar`).
isotopes and helium) may be used as an iteration variable.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we explain how this is done here, rather than just stating that it is possible?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Was going to sort this in #3001. Though can do a quick fix here

Copy link
Contributor

Choose a reason for hiding this comment

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

I think that would be prefered given it doesn't really make sense right now.

Copy link
Collaborator Author
@chris-ashe chris-ashe Dec 7, 2023

Choose a reason for hiding this comment

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

@timothy-nunn Have added a description please check

@timothy-nunn timothy-nunn merged commit 44d5d7e into main Dec 20, 2023
@timothy-nunn timothy-nunn deleted the 3007-remove-obsolete-variables-and-their-left-over-functionality branch December 20, 2023 11:57
chris-ashe added a commit that referenced this pull request Apr 22, 2024
…3009)

* fgamp removed and placed in obsolete

* divleg_profile_inner placed in obsolete

* divleg_profile_outer placed in obsolete

* iprmnloss placed in obsolete

* rho_ecrh set as obsolete

* ifispact set as obsolete

* fms* placed as obsolete

* quench_detection_ef marked as obsolete

* farc4tf marked as obsolete

* impvar marked as obsolete

* fimpvar marked as obsolete

* integration test removal of fimpvar and impvar

* impurity docs update

* Added fimpvar back in as obsolete

* black fixes

* Remove rho_ecrh from input

---------

Co-authored-by: Timothy <75321887+timothy-nunn@users.noreply.github.com>
chris-ashe added a commit that referenced this pull request Apr 22, 2024
…3009)

* fgamp removed and placed in obsolete

* divleg_profile_inner placed in obsolete

* divleg_profile_outer placed in obsolete

* iprmnloss placed in obsolete

* rho_ecrh set as obsolete

* ifispact set as obsolete

* fms* placed as obsolete

* quench_detection_ef marked as obsolete

* farc4tf marked as obsolete

* impvar marked as obsolete

* fimpvar marked as obsolete

* integration test removal of fimpvar and impvar

* impurity docs update

* Added fimpvar back in as obsolete

* black fixes

* Remove rho_ecrh from input

---------

Co-authored-by: Timothy <75321887+timothy-nunn@users.noreply.github.com>
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.

Remove obsolete variables and their left over functionality
2 participants
0