Changeset 500

Show
Ignore:
Timestamp:
04/24/2007 07:32:44 AM (21 months ago)
Author:
fcasella
Message:

Removed final modifier from nX and nXi, to allow customized medium models such as mixtures of refrigerants with oil, etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Modelica/Media/package.mo

    r458 r500  
    38023802     
    38033803    final constant Integer nS=size(substanceNames, 1) "Number of substances"  annotation(Evaluate=true); 
    3804     final constant Integer nX=if nS == 1 then 0 else nS  
     3804    constant Integer nX=if nS == 1 then 0 else nS  
    38053805      "Number of mass fractions (= 0, if only one substance)" annotation(Evaluate=true); 
    3806     final constant Integer nXi=if fixedX then 0 else if reducedX then nS - 1 else nX  
     3806    constant Integer nXi=if fixedX then 0 else if reducedX then nS - 1 else nX  
    38073807      "Number of structurally independent mass fractions (see docu for details)" 
    38083808     annotation(Evaluate=true);