MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / get_option

Function get_option

fem/tensorcoefficient.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 bool get_option(const map<string, bool> &options, string key, bool or_val) {
82 auto found = options.find(key);
83 if (found != options.end())
84 return found->second;
85 else
86 return or_val;
87 }
88
89 Vector<bool> nonzero_pattern(CoefficientFunction *cf) {
90 Vector<AutoDiffDiff<1,NonZero>> nzvec_ad(cf->Dimension());

Callers 3

optimize_legacyFunction · 0.85
GenerateCodeMethod · 0.85

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected