Discrete geometric approach for modelling quantization effects in nanoscale electron devices