Let’s say you have a bunch of coefficients, i.e.
function K_PC(cur_blah::AbstractBlah) cur_K = K_law(cur_blah) cur_K *= K_G(cur_blah) ^ 2 cur_K *= 1.273 cur_K /= cur_blah.eta_T cur_K end
However, you’re using
SymPy and want to enable some sort of
// that doesn’t evaluate any of the values (i.e. leaves the output pretty)
Is there a way to know the name of
K_PC inside itself?
This would allow you to short-circuit the function at the top with:
<name_of_function> would be
K_PC in this example