To turn off latent heating, there is a namelist switch no_mp_heating = 1. This needs to be used with cu_physics = 0; otherwise, it doesn't make much sense. This option turns off heating from microphysics, but water vapor, etc. will be advected in the model and a cloud will be produced.
If you would like to turn off surface sensible and latent heat fluxes, set isfflx = 0. This may not be applicable for all surface options, though.
If you would like to turn off surface sensible and latent heat fluxes, set isfflx = 0. This may not be applicable for all surface options, though.