forked from jan/opencl_fdfd
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
131 B
Common Lisp
10 lines
131 B
Common Lisp
8 years ago
|
|
||
|
{%- if pec -%}
|
||
|
if (pec[i] != 0) {
|
||
|
E[i] = cdouble_new(0.0, 0.0);
|
||
|
} else
|
||
|
{%- endif -%}
|
||
|
{
|
||
|
E[i] = cdouble_mul(Pr[i], p[i]);
|
||
|
}
|