Skip to content

How best to include code for coupled applications #678

@Whyborn

Description

@Whyborn

I would like to work out how exactly we want to include code intended for coupled applications. At the moment, we use all 3 possible methods in different places:

My opinion is that the best approach in the long term is to cut the preprocessor directives entirely, and rely on namelist options and inclusion/exclusion of files via CMake to get the desired application-dependent behaviour. The removal of preprocessor directives wouldn't happen particularly soon, but it might influence the way I work on the library for AM3. I think we have discussed this before, but I couldn't find anything written down. Thoughts @ccarouge @JhanSrbinovsky @har917 @rml599gh?

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