forked from jan/opencl_fdfd
PEC and PMC both work now!
This commit is contained in:
parent
bb7b90e938
commit
cad9dab086
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ def create_a(context, shape, mu=False, pec=False, pmc=False):
|
||||||
operation=e2h_source,
|
operation=e2h_source,
|
||||||
arguments=', '.join(ptrs('E', 'H', 'inv_mu') + pmc_arg + des))
|
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,
|
dixyz_source=header,
|
||||||
vec_source=vec_h)
|
vec_source=vec_h)
|
||||||
H2E_kernel = ElementwiseKernel(context,
|
H2E_kernel = ElementwiseKernel(context,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue