Commit 8905d3b1 authored by brugger's avatar brugger

I corrected a bug in the PF3D reader with reading the new file format.

The logic for determining which files held which blocks wasn't quite

git-svn-id: 18c085ea-50e0-402c-830e-de6fd14e8384
parent d4f2afe2
......@@ -2786,7 +2786,7 @@ PF3DFileFormat::MasterInformation::Read(PDBFileObject *pdb, int cycle,
char *vizdir = new char[viz_nams_len];
char *vizfile = new char[viz_nams_len];
int nfiles_per_dir = ngrp_members / num_sub_dirs;
int nfiles_per_dir = Get_num_grp_size();
char *basename = new char[iVS-iFile+1];
strncpy(basename, &filename[iFile], iVS-iFile);
basename[iVS-iFile] = '\0';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment