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

Method Call

fem/code_generation.hpp:111–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 CodeExpr operator ()(int i, int j) { return CodeExpr( S() + '(' + ToLiteral(i) + ',' + ToLiteral(j) + ')' ); }
110 CodeExpr Func(string s) { return CodeExpr( s + "(" + S() + ")" ); }
111 CodeExpr Call(string s, string args="") { return CodeExpr( S()+'.'+ s + "(" + args + ")"); }
112 string Assign (CodeExpr other, bool declare = true)
113 {
114 string result;

Callers 1

GenerateCodeMethod · 0.80

Calls 2

CodeExprClass · 0.85
SFunction · 0.85

Tested by

no test coverage detected