This function converts an output directory in txt file. For the bin diffusion result text file the density sampling file is additionally necessary.
Link to output hdf5 or obj file
Link to an output text file
Link to density output hdf5 or obj file. Only necessary for the bin diffusion and gyration text ouput.