The determination of carbon and hydrogen in geological materials by thermal decomposition