[discretizations] add functionals dict to discretizations