Skip to content
Snippets Groups Projects

Resolve "Enabling free Maxwell propagation in multisystem mode, part 2/4"

1 file
+ 2
3
Compare changes
  • Side-by-side
  • Inline
+ 2
3
@@ -107,10 +107,9 @@ subroutine X(xc_KLI_solve) (namespace, mesh, gr, hm, st, is, oep, first)
end do
if (oep%has_photons .and. oep%coctranslation_logical) then
oep%pt%pol_dipole_array(1:mesh%np, 1) = oep%pt%pol_dipole_array(1:mesh%np,1 ) + &
oep%pt%pol_dipole_array(1:mesh%np, 1) = oep%pt%pol_dipole_array(1:mesh%np,1 ) + &
dmf_dotp(gr%mesh, sum(st%rho(1:mesh%np, :), dim=2), coctranslation(1:mesh%np))/abs(st%qtot)
SAFE_DEALLOCATE_A(coctranslation)
end if
SAFE_DEALLOCATE_A(coctranslation)
end if
do ip = 1, mesh%np
Loading