MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / isPlotVar

Function isPlotVar

Tools/Postprocessing/C_Src/PlotfileToMatLab.cpp:33–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31std::list<std::string> plot_vars;
32
33static
34bool
35isPlotVar (const std::string& name)
36{
37 for (std::list<std::string>::const_iterator li = plot_vars.begin();
38 li != plot_vars.end();
39 ++li)
40 {
41 if (*li == name)
42 return true;
43 }
44
45 return false;
46}
47
48static
49void

Callers 1

WriteFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected