# helmholtz2Dr2dataAdjoint

Computes the adjoint to potential operator that maps functions on ROI to data.

If seti.measType = 'farField': evaluates adjoint of far field potential

with unit sphere .

If seti.measType = 'nearField': evaluates adjoint of volume potential from ROI to measPnts (receivers positions):

with boundary .

seti.dS : approximation of the infinitesimal element on boundary

Note that the factor is added in intOpsFuncs.

## Contents

- See Also
- Code

## See Also

- intOpsFuncs.html

## Code

    function u = helmholtz2Dr2dataAdjoint(f, seti)

    u = (seti.measKer')*(f.*seti.dSMeas);

    % u = conj(seti.measKer.')*(f.*seti.dSMeas);

    % fprintf('\n helmholtz2Dr2dataAdjoint: Max seti.measKer = %5f', max(max(max(abs(seti.measKer)))));
    % fprintf('Max ff = %5f', max(max(max(abs(f)))));
    % fprintf('seti.dSMeas = %5f \n', max(max(max(seti.dSMeas))));
    end