Skip to content

Conversation

@aelligp
Copy link
Member

@aelligp aelligp commented Mar 4, 2025

This PR adds the missing condition to define T = nothing in the add_volcano function. This can be useful if one wants to add e.g. a few layers in a volcano.

  if !isnothing(T)
       Temp[ind_flat] = compute_thermal_structure(Temp[ind_flat], Grid.x.val[ind], Grid.y.val[ind], depth[ind], Phases[ind_flat], T)
  end

@github-actions
Copy link

github-actions bot commented Mar 4, 2025

Your PR no longer requires formatting changes. Thank you for your contribution!

@aelligp aelligp merged commit 81db248 into main Mar 4, 2025
30 of 38 checks passed
@aelligp aelligp deleted the pa-Tvolcano branch March 4, 2025 13:52
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.

3 participants