Fix sign on H component of PML
This commit is contained in:
		
							parent
							
								
									ea5e298023
								
							
						
					
					
						commit
						1e874cb0c0
					
				@ -96,9 +96,9 @@ ftype Hz_old = Hz[i];
 | 
				
			|||||||
{%- endif %}
 | 
					{%- endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// H update equations
 | 
					// H update equations
 | 
				
			||||||
Hx[i] -= dt * (dEzy - dEyz + pHxi);
 | 
					Hx[i] -= dt * (dEzy - dEyz - pHxi);
 | 
				
			||||||
Hy[i] -= dt * (dExz - dEzx + pHyi);
 | 
					Hy[i] -= dt * (dExz - dEzx - pHyi);
 | 
				
			||||||
Hz[i] -= dt * (dEyx - dExy + pHzi);
 | 
					Hz[i] -= dt * (dEyx - dExy - pHzi);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% if do_poynting -%}
 | 
					{% if do_poynting -%}
 | 
				
			||||||
// Average H across timesteps
 | 
					// Average H across timesteps
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user