ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_NoahMPGitHash.cpp File Reference
#include "ERF_NoahMPGitHash.H"
#include <AMReX_buildInfo.H>
Include dependency graph for ERF_NoahMPGitHash.cpp:

Functions

const char * NoahMPGitHash ()
 

Function Documentation

◆ NoahMPGitHash()

const char* NoahMPGitHash ( )

The git hash of the Noah-MP submodule this executable was built against.

Returns "" when Noah-MP is not part of the build, so callers guard on strlen() > 0 exactly as they do for the other build-info hashes.

14 {
15 #if defined(ERF_NOAHMP_GIT_HASH)
16  return ERF_NOAHMP_GIT_HASH;
17 #else
19 #endif
20 }
const char * buildInfoGetGitHash(int i)

Referenced by ERF::ERF_shared(), ERF::Write2DPlotFile(), ERF::Write3DPlotFile(), ERF::writeBuildInfo(), and ERF::writeJobInfo().

Here is the call graph for this function:
Here is the caller graph for this function: