Skip to content
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 related emails.

Already on GitHub? Sign in to your account

add lengthscale functions to mesh and spaces #739

Merged
merged 2 commits into from
Dec 31, 2023
Merged

Conversation

simonbyrne
Copy link
Member

@simonbyrne simonbyrne commented May 29, 2022

This will make CliMA/ClimaAtmos.jl#491 easier

  • Code follows the style guidelines OR N/A.
  • Unit tests are included OR N/A.
  • Code is exercised in an integration test OR N/A.
  • Documentation has been added/updated OR N/A.

@simonbyrne
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request May 29, 2022
@bors
Copy link
Contributor

bors bot commented May 29, 2022

try

Build failed:

@simonbyrne
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request May 30, 2022
@simonbyrne
Copy link
Member Author

bors try

@bors
Copy link
Contributor

bors bot commented May 30, 2022

try

Already running a review

@simonbyrne
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request May 30, 2022
@simonbyrne simonbyrne requested a review from valeriabarra May 30, 2022 05:37
Comment on lines 113 to 114
c = sqrt(parameters.g * parameters.ρ₀)
D₄ = 0.0015 * c * Spaces.lengthscale(space)^3 # hyperdiffusion coefficient
Copy link
Member Author

Choose a reason for hiding this comment

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

@paullric Is this an appropriate way to choose the hyperdiffusion coefficient for the shallow water equations?

@paullric
Copy link

paullric commented May 31, 2022 via email

src/Meshes/Meshes.jl Outdated Show resolved Hide resolved
@simonbyrne
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request May 31, 2022
docs/src/api.md Outdated Show resolved Hide resolved
@paullric
Copy link

paullric commented Oct 11, 2022 via email

Copy link
Member

@charleskawczynski charleskawczynski left a comment

Choose a reason for hiding this comment

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

LGTM, we may just want to get #1581 in first and rebase this.

@charleskawczynski
Copy link
Member

charleskawczynski commented Dec 20, 2023

I'll go ahead and rebase this cc @simonbyrne

@simonbyrne simonbyrne added this to the v0.11.7 milestone Dec 31, 2023
@simonbyrne simonbyrne merged commit 3065f3d into main Dec 31, 2023
16 checks passed
@simonbyrne simonbyrne deleted the sb/lengthscale branch December 31, 2023 22:13
@@ -5,7 +5,7 @@ agents:

env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
# JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
Copy link
Member

Choose a reason for hiding this comment

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

Just noticed this. Is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sort of..

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.

5 participants