Skip to content

Implement "is_initialized" method in constituents object #775

Description

@peverwhee

Description

Implement a way to query the constituents object for whether or not a given constituent has been initialized (is not the default value).

Solution

Implement is_initialized procedure within ccpp_model_constituents_t that will return true if any element in vars_layer(:,:,const_idx) for a given constiuent index or standard name, is not equal to the default value.

Capgen version

This should be applied to both v0 and v1 if implemented before unification.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions