A thermal–optical chain-linked model and adaptive cavity-length compensation for high-power diamond Raman lasers | Synapse