added member function to assign geometric quantities to ghost cells