Skip to content

Switch to Clima-compatible data structures #152

@ekdejong

Description

@ekdejong

It seems like we need to take a several steps to make Cloudy compatible with ClimaAtmos...

  • Data structures
    • Remove mutable structs (must be immutable)
    • Replace Arrays and Vectors with Tuples or SVectors
  • Function signatures
    • Ensure function calls return values, rather than updating structs
    • They also should not allocate (where possible)
  • Unit testing

Next steps will include:

  • Updating CloudMicrophysics.jl to use the appropriate new structures and function calls in a way that is still compatible with ClimaAtmos.jl
  • (Re)integrate Cloudy.jl and/or CM.jl into ClimaAtmos. (Note the scaffolding for this already exists in branch ej/add_cloudy)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions