ProjectTorreyPines / ProjectTorreyPines/IMAS.jl

Suggestions: temporary arrays in dd

Open
#109 4 comments 0 reactions 1 assignee View on GitHub

@orso82 is already working on this.

Since Dec 28, 2023.

enhancement
Dominant language
Julia
Stars
7
Forks
4
Avg merge
4d 23h
Merged PRs (30d)
1

Description

Often times in FUSE and such we need to create intermediary arrays, e.g.
https://github.com/ProjectTorreyPines/FUSE.jl/blob/d7b49e00f733b363c33f1287a680666001727842/src/actors/build/oh_magnet.jl#L80
What if we imbedded some temporary arrays within the dd, e.g., inside core_profiles.profiles_1d[] and the like? Then we could do these calculations without allocations.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.