Skip to content

Initialize BGC profile variables to nan for FATES #2063

@ekluzek

Description

@ekluzek

The BGC variables: croot_prof_patch, froot_prof_patch, leaf_prof_patch, and stem_prof_patch have to be allocated to the full size for FATES, because they are passed to fire interfaces, but to ensure they are unused we should initialize them to nan rather than spval for FATES. Right now they are initialized to spval, and that should just be done for non-FATES and when they are declared as history variables rather than always.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bfbbit-for-bitcode healthimproving internal code structure to make easier to maintain (sustainability)good first issuesimple; good for first-time contributors

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions