Changeset 89 for trunk/src/calc_field.m
- Timestamp:
- May 20, 2010, 1:48:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/calc_field.m
r19 r89 1 1 %'calc_field': defines fields (velocity, vort, div...) from civx data and calculate them 2 2 %--------------------------------------------------------------------- 3 4 3 % 5 4 % OUTPUT: 6 5 % Scal: matlab vector representing the scalar values (length nbvec defined by var_read) 7 %if no input , Scal=list of programmed scalar names (to put in menus)8 %if only the sclar name is put as input, vec_A=type of scalar, which can be:6 % if no input , Scal=list of programmed scalar names (to put in menus) 7 % if only the sclar name is put as input, vec_A=type of scalar, which can be: 9 8 % 'vel': scalar calculated solely from velocity components 10 9 % 'der': needs spatial derivatives 11 10 % 'var': the scalar name directly corresponds to a field name in the netcdf files 12 11 % error: error flag 13 % error = 0; OK 14 % error = 1; the prescribed scalar cannot be read or calculated from available fields 12 % error = 0; OK 13 % error = 1; the prescribed scalar cannot be read or calculated from available fields 14 % 15 15 % INPUT: 16 16 % ScalName: string representing the name of the scalar 17 17 % DataIn: structure representing the field, as defined in check_field_srtructure.m 18 18 % 19 19 % FUNCTION related 20 20 % varname_generator.m: determines the field names to read in the netcdf file, depending on the scalar
Note: See TracChangeset
for help on using the changeset viewer.