Skip to content

Add automatic interface with inner layer module using Glasser input quantities #223

Description

@matt-pharr

The current InnerLayer module has to be utilized as follows as of writing:

using GeneralizedPerturbedEquilibrium.InnerLayer

params = GGJParameters(;
      E    = -0.05,
      F    = -0.10,
      G    =  0.20,
      H    =  0.15,
      K    =  1.0,
      taua = 1.0e-6,
      taur = 1.0e-2,
      # M, v1, ising have defaults
)

# or using the default parameters in most Glasser papers:

params = glasser_wang_2020_eq55()

gamma = 1.0 + 1.0im   # complex growth rate (rad/s)

# Shooting solver
Delta_inner_LR = solve_inner(GGJModel(solver=:shooting), params, gamma)

# Or Galerkin solver (better, default)
Delta_inner_LR = solve_inner(GGJModel(), params, gamma)

We should automatically compute E, F, G, H, K, taua. Taur depends on resistivity and therefore #222. The combination of these two issues will enable the inner layer to run automatically with the rest of the code given profiles.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions