Skip to content
Snippets Groups Projects
Commit ff4037d8 authored by Christian Howard's avatar Christian Howard
Browse files

Removed any instances of a generic normal vector.

parent b05ab0d4
No related branches found
No related tags found
No related merge requests found
......@@ -316,10 +316,6 @@ class DPIEOperator:
for n in range(0,self.nobjs):
a[:,n] = sym.tangential_to_xyz(a_loc[2*n:2*(n+1)],where=self.geometry_list[n])
# define the normal vector in symbolic form
n = sym.normal(3, None).as_vector()
r = sym.n_cross(a)
# init output matvec vector for the phi density IE
output = np.zeros((5*self.nobjs,), dtype=self.stype)
......@@ -406,9 +402,6 @@ class DPIEOperator:
rho = A_densities[0]
a = sym.tangential_to_xyz(A_densities[1:3])
# define the normal vector in symbolic form
n = sym.normal(3, None).as_vector()
# define the vector potential representation
return sym.curl(sym.S(self.kernel,a,k=self.k,qbx_forced_limit=qbx_forced_limit)) \
- self.k*sym.S(self.kernel,rho*n,k=self.k,qbx_forced_limit=qbx_forced_limit)\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment