Ignore:
Timestamp:
07/30/10 13:16:33 (22 months ago)
Author:
tabel
Message:

Added radial and tangential velocity as well as cylindrical radius for the particles as a derived field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TOOLS/read_all_grid_hdf.pro

    r1 r30  
    6060 
    6161  N_df_requested = N_ELEMENTS(field_names) 
     62 
    6263  special = ['x', 'y', 'z','dx','dy','dz','volume','mass'] 
    6364  for fi=0L,nf-1 DO BEGIN 
     
    128129        all[fi].N_Dfields   = N_df_requested 
    129130        all[fi].data_fields[i]=field_names[i] 
     131;        print, field_names[i] 
    130132        if field_names[i] eq 'particle massdensity' then data *= product(dd) 
    131133        if field_names[i] eq 'mass' then data *= product(dd) 
Note: See TracChangeset for help on using the changeset viewer.