Implemented subdomain dimensions for all function calls