Allow grid functions to have undefined dualSpace in solver.
Working on weak_form_hmat_assembly_helper.cpp