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

Function Compile

fem/coefficient.cpp:7582–7589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7580 }
7581
7582 shared_ptr<CompiledCoefficientFunctionInterface> Compile (shared_ptr<CoefficientFunction> c, bool realcompile, int maxderiv, bool wait, bool keep_files)
7583 {
7584 auto compiledcf = dynamic_pointer_cast<CompiledCoefficientFunction>(c);
7585 auto cf = compiledcf ? compiledcf : make_shared<CompiledCoefficientFunction> (c);
7586 if(realcompile)
7587 cf->RealCompile(maxderiv, wait, keep_files);
7588 return cf;
7589 }
7590
7591class LoggingCoefficientFunction : public T_CoefficientFunction<LoggingCoefficientFunction>
7592{

Callers 7

DiffMethod · 0.85
DiffJacobiMethod · 0.85
CompileMethod · 0.85
test_gf_userdata_cacheFunction · 0.85

Calls 1

RealCompileMethod · 0.80

Tested by 1

test_gf_userdata_cacheFunction · 0.68