Heat and Mass Transfer in Magmatology