“…The integrand g [ E ( x , t ), H ( x , t )] is differentiated analytically to obtain ∂ g /∂ E ( x , t ),∂ g /∂ H ( x , t ), which are time-dependent vector-valued functions evaluated using the time-varying stored field values from the forward simulation. These derivatives are then used as current sources for the adjoint simulation over the same geometry to get the adjoint electric and magnetic fields E A ( x , t ), H A ( x , t ) with the modified Maxwell equations in eqs and , with the initial conditions being E A ( x ,τ = 0) = 0, H A ( x ,τ = 0) = 0 in terms of the reverse time τ = T – t . normal∇ × E A ( x , T − t ) = − μ ∂ H A ( x , T − t ) ∂ italict + ∂ italicg ∂ bold-italicH ( x , T − t ) normal∇ × H A ( x , T − t ) = ϵ ∂ E A ( x , T − t ) ∂ t + ∂ g ∂ bold-italicE ( x , T − t ) …”