package swirl_lm_jax

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message BandPreconditioner

poisson_solver.proto:46

Next id: 7

Used in: Preconditioner

message BoundaryCondition

boundary_conditions.proto:25

Stores the boundary conditions of a variable for the 6 faces of the computational domain.

message BoundaryCondition.BoundaryConditionParams

boundary_conditions.proto:29

Used in: BoundaryInfo

enum BoundaryCondition.BoundaryConditionParams.NonReflectingMode

boundary_conditions.proto:62

This only applies for NONREFLECTING boundary condition type. It controls how the phase velocity in the convective nonreflecting boundary condition is determined. Specifically, ∂ϕ/∂t = - U* ∂ϕ/∂x, for the "high" side of the domain, and ∂ϕ/∂t = + U* ∂ϕ/∂x, for the "low" side of the domain, and for NONREFLECTING_LOCAL_MAX, the phase velocity is calculated on the boundary as local point-wise max: U* = abs(max(u + u0, 0)), for the "high" end, and U* = abs(min(u - u0, 0)), for the "low" end. For NONREFLECTING_GLOBAL_MEAN: U* = abs(global_mean(u) + u0), for the "high" end, and U* = abs(global_mean(u) - u0), for the "low" end. where `mean` is the global mean over the entire boundary. For NONREFLECTING_GLOBAL_MAX: U* = abs(max(global_max(u), 0) + u0), for the "high" end, and U* = abs(min(global_min(u), 0) - u0), for the "low" end. Note that `u0` is specified as the value in BoundaryInfo.

Used in: BoundaryConditionParams

message BoundaryCondition.BoundaryInfo

boundary_conditions.proto:73

The information of a boundary condition for a specific face. Next id: 6.

Used in: BoundaryCondition

enum BoundaryConditionType

grid_parametrization.proto:24

Defines the type of boundary condition to be used for each variable in a specific boundary. Next id: 7.

Used in: BoundaryCondition.BoundaryInfo, CoordinateBC

message ComponentWiseConvergence

poisson_solver.proto:37

When evaluating convergence, one can use componentwise or elementwise difference as a criterion. Given two vectors `lhs`, `rhs`: 1. Compute `tol = atol + rtol * abs(rhs)` 2. Compute `diff = lhs - rhs` 3. Define `distance = max(abs(diff) - tol)` This is based on `rtol` applied to `rhs` only. If `symmetric` is set, one will compute the distance similarly and final distance is the maximum. Note that this criterion is close to `L_INF` norm, but not exact, and they're different in 2 ways: 1. residual = abs(diff) - tol, without an `abs` for `residual` 2. Based on #1, the distance could be negative when `lhs` & `rhs` are close enough. Next id: 4

Used in: PoissonSolver.ConjugateGradient

message ConstantDensity

thermodynamics.proto:81

Parameters required by the constant density model.

Used in: Thermodynamics

(message has no fields)

enum ConvectionScheme

numerics.proto:35

Defines the types of convection schemes. Next id: 10

message CoordinateBC

grid_parametrization.proto:95

Used in: PoissonSolver.FastDiagonalization, PoissonSolver.Multigrid

message CoordinateBool

grid_parametrization.proto:107

Used in: GridParametrization

message CoordinateFile

grid_parametrization.proto:101

Used in: GridParametrization

message CoordinateFloat

grid_parametrization.proto:89

Used in: GridParametrization

message CoordinateInt

grid_parametrization.proto:83

Messages encapsulating 3-D coordinates.

Used in: GridParametrization, PoissonSolver.Multigrid

enum DiffusionScheme

numerics.proto:59

Defines the types of diffusion schemes.

message File

file.proto:8

Marks strings in proto messages as paths to files, so they can be treated as such (e.g., the path needs to point to an existing file). See file_io.py for functions that work on Files.

Used in: CoordinateFile

message GridParametrization

grid_parametrization.proto:115

A message that parameterizes a distributed simulation. Next id: 11

message IdealGasLaw

thermodynamics.proto:54

Parameters required by the ideal gas law. Next id: 6

Used in: Thermodynamics

message LinearMixing

thermodynamics.proto:50

Parameters required by the linear mixing model.

Used in: Thermodynamics

(message has no fields)

enum NumericalFlux

numerics.proto:22

Defines the types of numerical fluxes.

message PoissonSolver

poisson_solver.proto:76

A message that stores the parameters required by the selected Poisson solver. Next id: 5

message PoissonSolver.ConjugateGradient

poisson_solver.proto:105

The parameters used by the conjugate gradient solver. Next id: 8

Used in: PoissonSolver

message PoissonSolver.FastDiagonalization

poisson_solver.proto:89

The parameters used by the fast diagonalization/direct solver. Next id: 6

Used in: PoissonSolver

message PoissonSolver.Jacobi

poisson_solver.proto:79

The parameters used by the Jacobi iterative solver. Next id: 3

Used in: PoissonSolver

message PoissonSolver.Multigrid

poisson_solver.proto:140

Next id: 8

Used in: PoissonSolver

message Preconditioner

poisson_solver.proto:68

Conjugate gradient solver's preconditioner, to speed up convergence. Although Jacobi could be a good choice of precondition for e.g. diagonal dominant matrices, it does **NOT** apply for the Hessian matrix in Poisson solver, as its diagonal elements are all the same, and it doesn't help with convergence rate at all. Next id: 2

Used in: PoissonSolver.ConjugateGradient

message Thermodynamics

thermodynamics.proto:22

A library of thermodynamics in a fluid simulation.

enum Thermodynamics.SolverMode

thermodynamics.proto:31

The model of the solver for density representation.

Used in: Thermodynamics

enum TimeIntegrationScheme

numerics.proto:74

Defines the type of time integration schemes.

message Water

thermodynamics.proto:85

A library for parameters required by the water thermodynamics. Next id: 29

Used in: Thermodynamics

message Water.ConstReferenceState

thermodynamics.proto:200

An option of the reference state. This option assumes the thermodynamic states are constants regardless of the height.

Used in: Water

message Water.ConstThetaReferenceState

thermodynamics.proto:185

An option of the reference state. This option assumes the potential temperature is a constant. Next id: 5

Used in: Water

message Water.GeoStaticReferenceState

thermodynamics.proto:169

An option of the reference state. This option assumes the hydrostatic temperature follows a tanh profile, as specified in CliMa design doc, p 50, Eq. 7.3. Next id: 4

Used in: Water

message Water.UserDefinedReferenceState

thermodynamics.proto:213

An option of the reference state where the profiles for pressure and potential temperature is defined by the user. With this option, it is required that `p_ref` and `theta_ref` are provided as additional_states. If `q_t_init` is also in additional_states, it will be used to compute the reference state; otherwise it is assumed that q_t = 0 in the reference state. The recommended practice for setting these states is to enforce the hydrostatic balance condition for all thermodynamics variables.

Used in: Water

(message has no fields)