I feel that I have a semi-solid understanding of op-amps (and the circuit above) after reading quite a few explanations online. Where I'm starting to get quite lost is the function of the two diodes in the schematic above. My understanding is that diodes are meant to inhibit the flow of current into one particular direction. If op-amps have (ideally) infinite impedance at the inputs and outputs, what are the diodes doing below? Why is the output of IC1-B (right side of image) connected to the voltage divider at the positive input of IC1-A?