Skip to content

Commit

Permalink
#1092 again fixed (PartialMedium changed in a non-backwards compatibl…
Browse files Browse the repository at this point in the history
…e way):

The fix with the types was not good, because package Interfaces.Types was inherited
into PartialPackages with extends and then two type definitions have been present.
Removed the newly introduced "obsolete" type definitions.


git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@6337 7ce873d0-865f-4ce7-a662-4bb36ea78beb
  • Loading branch information
otter committed May 12, 2013
1 parent 8a096cc commit b96f428
Showing 1 changed file with 1 addition and 85 deletions.
86 changes: 1 addition & 85 deletions Modelica/Media/package.mo
Expand Up @@ -4680,94 +4680,10 @@ kappa is defined as - 1/v * der(v,p), with v = 1/d at constant temperature T.
max=1.e5) "Type for mass flow rate with medium specific attributes";

// Only for backwards compatibility to version 3.2 (
// (do not use these definitions in new models, but use Modelica.Media.Interfaces.Choices/.Types instead)
// (do not use these definitions in new models, but use Modelica.Media.Interfaces.Choices instead)
package Choices = Modelica.Media.Interfaces.Choices
annotation(obsolete="Use Modelica.Media.Interfaces.Choices");

type AbsolutePressure = Modelica.Media.Interfaces.Types.AbsolutePressure
annotation(obsolete="Use Modelica.Media.Interfaces.Types.AbsolutePressure");

type Density = Modelica.Media.Interfaces.Types.Density
annotation(obsolete="Use Modelica.Media.Interfaces.Types.Density");

type DynamicViscosity = Modelica.Media.Interfaces.Types.DynamicViscosity
annotation(obsolete="Use Modelica.Media.Interfaces.Types.DynamicViscosity");

type EnthalpyFlowRate = Modelica.Media.Interfaces.Types.EnthalpyFlowRate
annotation(obsolete="Use Modelica.Media.Interfaces.Types.EnthalpyFlowRate");

type MassFraction = Modelica.Media.Interfaces.Types.MassFraction
annotation(obsolete="Use Modelica.Media.Interfaces.Types.MassFraction");

type MoleFraction = Modelica.Media.Interfaces.Types.MoleFraction
annotation(obsolete="Use Modelica.Media.Interfaces.Types.MoleFraction");

type MolarMass = Modelica.Media.Interfaces.Types.MolarMass
annotation(obsolete="Use Modelica.Media.Interfaces.Types.MolarMass");

type MolarVolume = Modelica.Media.Interfaces.Types.MolarVolume
annotation(obsolete="Use Modelica.Media.Interfaces.Types.MolarVolume");

type IsentropicExponent = Modelica.Media.Interfaces.Types.IsentropicExponent
annotation(obsolete="Use Modelica.Media.Interfaces.Types.IsentropicExponent");

type SpecificEnergy = Modelica.Media.Interfaces.Types.SpecificEnergy
annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificEnergy");

type SpecificInternalEnergy = Modelica.Media.Interfaces.Types.SpecificInternalEnergy
annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificInternalEnergy");

type SpecificEnthalpy = Modelica.Media.Interfaces.Types.SpecificEnthalpy
annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificEnthalpy");

type SpecificEntropy = Modelica.Media.Interfaces.Types.SpecificEntropy
annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificEntropy");

type SpecificHeatCapacity = Modelica.Media.Interfaces.Types.SpecificHeatCapacity
annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificHeatCapacity");

type SurfaceTension = Modelica.Media.Interfaces.Types.SurfaceTension
annotation(obsolete="Use Modelica.Media.Interfaces.Types.SurfaceTension");

type Temperature = Modelica.Media.Interfaces.Types.Temperature
annotation(obsolete="Use Modelica.Media.Interfaces.Types.Temperature");

type ThermalConductivity = Modelica.Media.Interfaces.Types.ThermalConductivity
annotation(obsolete="Use Modelica.Media.Interfaces.Types.ThermalConductivity");

type PrandtlNumber = Modelica.Media.Interfaces.Types.PrandtlNumber
annotation(obsolete="Use Modelica.Media.Interfaces.Types.PrandtlNumber");

type VelocityOfSound = Modelica.Media.Interfaces.Types.VelocityOfSound
annotation(obsolete="Use Modelica.Media.Interfaces.Types.VelocityOfSound");

type ExtraProperty = Modelica.Media.Interfaces.Types.ExtraProperty
annotation(obsolete="Use Modelica.Media.Interfaces.Types.ExtraProperty");

type CumulativeExtraProperty = Modelica.Media.Interfaces.Types.CumulativeExtraProperty
annotation(obsolete="Use Modelica.Media.Interfaces.Types.CumulativeExtraProperty");

type ExtraPropertyFlowRate = Modelica.Media.Interfaces.Types.ExtraPropertyFlowRate
annotation(obsolete="Use Modelica.Media.Interfaces.Types.ExtraPropertyFlowRate");

type IsobaricExpansionCoefficient = Modelica.Media.Interfaces.Types.IsobaricExpansionCoefficient
annotation(obsolete="Use Modelica.Media.Interfaces.Types.IsobaricExpansionCoefficient");

type DipoleMoment = Modelica.Media.Interfaces.Types.DipoleMoment
annotation(obsolete="Use Modelica.Media.Interfaces.Types.DipoleMoment");

type DerDensityByPressure = Modelica.Media.Interfaces.Types.DerDensityByPressure
annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerDensityByPressure");

type DerDensityByEnthalpy = Modelica.Media.Interfaces.Types.DerDensityByEnthalpy
annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerDensityByEnthalpy");

type DerEnthalpyByPressure = Modelica.Media.Interfaces.Types.DerEnthalpyByPressure
annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerEnthalpyByPressure");

type DerDensityByTemperature = Modelica.Media.Interfaces.Types.DerDensityByTemperature
annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerDensityByTemperature");

annotation (Documentation(info="<html>
<p>
<b>PartialMedium</b> is a package and contains all <b>declarations</b> for
Expand Down

0 comments on commit b96f428

Please sign in to comment.