def write_details(grid_obj, path_to_file):
    """ 
        Reads in the grid3D object after calculation and writes out the important details into a named file
        
        :type grid_obj: An instance of the class grid3D
        :param grid_obj: grid3D object after calculation

        :type path_to_folder: str
        :param path_to_folder: Path to the folder where you want the file to be written to.

        :raises:

        :rtype:
        """
    f1 = open(path_to_file, 'w')
    f1.write(str(grid_obj.nx_total) + '\t' + str(grid_obj.ny_total) + '\t' +
        str(grid_obj.nz_total) + '\n')
    f1.write(str(grid_obj.nx_cells) + '\t' + str(grid_obj.ny_cells) + '\t' +
        str(grid_obj.nz_cells) + '\n')
    f1.write(str(grid_obj.la) + '\t' + str(grid_obj.lb) + '\t' + str(
        grid_obj.lc) + '\n')
    f1.write(str(grid_obj.alpha) + '\t' + str(grid_obj.beta) + '\t' + str(
        grid_obj.gamma) + '\n')
    f1.close()
