Changeset 89 for trunk/src/calc_field.m


Ignore:
Timestamp:
May 20, 2010, 1:48:25 AM (14 years ago)
Author:
sommeria
Message:

many bug corrections and cleaning. Activation of the BW option in uvmat. Improvement of the interaction of get_field with uvmat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/calc_field.m

    r19 r89  
    11%'calc_field': defines fields (velocity, vort, div...) from civx data and calculate them 
    22%---------------------------------------------------------------------
    3 
    43%
    54% OUTPUT:
    65% 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:
    98%                   'vel': scalar calculated solely from velocity components
    109%                   'der': needs spatial derivatives     
    1110%                   'var': the scalar name directly corresponds to a field name in the netcdf files
    1211% 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%
    1515% INPUT:
    1616% ScalName: string representing the name of the scalar
    1717% DataIn: structure representing the field, as defined in check_field_srtructure.m
    18 
     18%
    1919% FUNCTION related
    2020% 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.