aboutsummaryrefslogtreecommitdiff
path: root/boltzgen/kernel/template/equilibrilize.cpp.mako
blob: 74a6aa1e2f07f253ab7dff19b882c284396f76a5 (plain)
1
2
3
4
5
6
7
<%namespace name="pattern" file="${'/pattern/%s.cpp.mako' % context['streaming']}"/>

<%call expr="pattern.operator('equilibrilize')">
% for i, w_i in enumerate(descriptor.w):
    ${float_type} f_next_${i} = ${w_i.evalf()};
% endfor
</%call>