MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / generate

Method generate

src/sys/expressionparser.cxx:42–44  ·  view source on GitHub ↗

Note: Here rather than in header to avoid many deprecated warnings Remove in future and make this function pure virtual

Source from the content-addressed store, hash-verified

40// Note: Here rather than in header to avoid many deprecated warnings
41// Remove in future and make this function pure virtual
42double FieldGenerator::generate(const Context& ctx) {
43 return generate(ctx.x(), ctx.y(), ctx.z(), ctx.t());
44}
45
46/////////////////////////////////////////////
47namespace { // These classes only visible in this file

Callers 8

getValueMethod · 0.45
applyMethod · 0.45
getMethod · 0.45
parseExpressionFunction · 0.45
generateMethod · 0.45
generateMethod · 0.45
generateMethod · 0.45

Calls 3

generateFunction · 0.85
toBoolFunction · 0.85
powFunction · 0.50

Tested by

no test coverage detected