vectorized input for n_thermal