From cad9dab086f35f9639c793a5557c42a4552bde65 Mon Sep 17 00:00:00 2001 From: jan Date: Mon, 4 Jul 2016 22:29:34 -0700 Subject: [PATCH] PEC and PMC both work now! --- opencl_fdfd/ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl_fdfd/ops.py b/opencl_fdfd/ops.py index 9bdb706..dd39e45 100644 --- a/opencl_fdfd/ops.py +++ b/opencl_fdfd/ops.py @@ -123,7 +123,7 @@ def create_a(context, shape, mu=False, pec=False, pmc=False): operation=e2h_source, arguments=', '.join(ptrs('E', 'H', 'inv_mu') + pmc_arg + des)) - h2e_source = jinja_env.get_template('h2e.cl').render(pmc=pmc, + h2e_source = jinja_env.get_template('h2e.cl').render(pec=pec, dixyz_source=header, vec_source=vec_h) H2E_kernel = ElementwiseKernel(context,