ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_Container.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename V , typename T >
bool containerHasElement (const V &iterable, const T &query)
 

Function Documentation

◆ containerHasElement()

template<typename V , typename T >
bool containerHasElement ( const V &  iterable,
const T &  query 
)
5  {
6  return std::find(iterable.begin(), iterable.end(), query) != iterable.end();
7 }
pp_erf query("deterministic_ic_pert", deterministic_ic_pert)

Referenced by ERF::appendPlot3DVariables(), ERF::appendPlotVariables(), ERF::BuildPlot3DScratch(), ERF::canonicalizePlot3DVariables(), ERF::FillPlot2DVars(), ERF::FillPlot3DVars(), PlaneSampler::get_sample_data(), ERF::init_stations(), LineSampler::LineSampler(), PlaneSampler::PlaneSampler(), ERF::setPlotVariables(), ERF::setSubVolVariables(), and ERF::WriteSubvolume().

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