Skip to content

Commit

Permalink
Overwritten -> Overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Jan 25, 2016
1 parent 02f0e27 commit 97697e0
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion include/cantera/kinetics/InterfaceKinetics.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class InterfaceKinetics : public Kinetics
//! Update the standard state chemical potentials and species equilibrium
//! constant entries
/*!
* Virtual because it is overwritten when dealing with experimental open
* Virtual because it is overridden when dealing with experimental open
* circuit voltage overrides
*/
virtual void updateMu0();
Expand Down
4 changes: 2 additions & 2 deletions include/cantera/thermo/DebyeHuckel.h
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class DebyeHuckel : public MolalityVPSSTP
public:
//! Set the internally stored density (gm/m^3) of the phase.
/*!
* Overwritten setDensity() function is necessary because the density is not
* Overridden setDensity() function is necessary because the density is not
* an independent variable.
*
* This function will now throw an error condition
Expand All @@ -668,7 +668,7 @@ class DebyeHuckel : public MolalityVPSSTP

//! Set the internally stored molar density (kmol/m^3) of the phase.
/**
* Overwritten setMolarDensity() function is necessary because the density
* Overridden setMolarDensity() function is necessary because the density
* is not an independent variable.
*
* This function will now throw an error condition if the input isn't
Expand Down
6 changes: 3 additions & 3 deletions include/cantera/thermo/HMWSoln.h
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ class HMWSoln : public MolalityVPSSTP
public:
//! Set the internally stored density (kg/m^3) of the phase.
/*!
* Overwritten setDensity() function is necessary because the density is not
* Overridden setDensity() function is necessary because the density is not
* an independent variable.
*
* This function will now throw an error condition.
Expand All @@ -1354,7 +1354,7 @@ class HMWSoln : public MolalityVPSSTP

//! Set the internally stored molar density (kmol/m^3) for the phase.
/**
* Overwritten setMolarDensity() function is necessary because of the
* Overridden setMolarDensity() function is necessary because of the
* underlying water model.
*
* This function will now throw an error condition if the input isn't
Expand Down Expand Up @@ -1790,7 +1790,7 @@ class HMWSoln : public MolalityVPSSTP
//! pressure, and solution concentration.
/*!
* See Denbigh p. 278 for a thorough discussion. This class must be
* overwritten in classes which derive from MolalityVPSSTP. This function
* overridden in classes which derive from MolalityVPSSTP. This function
* takes over from the molar-based activity coefficient calculation,
* getActivityCoefficients(), in derived classes.
*
Expand Down
4 changes: 2 additions & 2 deletions include/cantera/thermo/IdealMolalSoln.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class IdealMolalSoln : public MolalityVPSSTP

public:
/**
* Overwritten setDensity() function is necessary because the density is not
* Overridden setDensity() function is necessary because the density is not
* an independent variable.
*
* This function will now throw an error condition
Expand All @@ -233,7 +233,7 @@ class IdealMolalSoln : public MolalityVPSSTP
void setDensity(const doublereal rho);

/**
* Overwritten setMolarDensity() function is necessary because the density
* Overridden setMolarDensity() function is necessary because the density
* is not an independent variable.
*
* This function will now throw an error condition.
Expand Down
4 changes: 2 additions & 2 deletions include/cantera/thermo/IdealSolidSolnPhase.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class IdealSolidSolnPhase : public ThermoPhase
void calcDensity();

/**
* Overwritten setDensity() function is necessary because the density is not
* Overridden setDensity() function is necessary because the density is not
* an independent variable.
*
* This function will now throw an error condition
Expand All @@ -238,7 +238,7 @@ class IdealSolidSolnPhase : public ThermoPhase
virtual void setDensity(const doublereal rho);

/**
* Overwritten setMolarDensity() function is necessary because the density
* Overridden setMolarDensity() function is necessary because the density
* is not an independent variable.
*
* This function will now throw an error condition.
Expand Down
4 changes: 2 additions & 2 deletions include/cantera/thermo/MaskellSolidSolnPhase.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class MaskellSolidSolnPhase : public VPStandardStateTP
virtual void setPressure(doublereal p);

/**
* Overwritten setDensity() function is necessary because the density is not
* Overridden setDensity() function is necessary because the density is not
* an independent variable.
*
* This function will now throw an error condition
Expand All @@ -87,7 +87,7 @@ class MaskellSolidSolnPhase : public VPStandardStateTP
virtual void calcDensity();

/**
* Overwritten setMolarDensity() function is necessary because the density
* Overridden setMolarDensity() function is necessary because the density
* is not an independent variable.
*
* This function will now throw an error condition.
Expand Down
4 changes: 2 additions & 2 deletions include/cantera/thermo/MolalityVPSSTP.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ class MolalityVPSSTP : public VPStandardStateTP
//! the current solution temperature, pressure, and solution concentration.
/*!
* See Denbigh p. 278 for a thorough discussion. This class must be
* overwritten in classes which derive from MolalityVPSSTP. This function
* overridden in classes which derive from MolalityVPSSTP. This function
* takes over from the molar-based activity coefficient calculation,
* getActivityCoefficients(), in derived classes.
*
Expand Down Expand Up @@ -540,7 +540,7 @@ class MolalityVPSSTP : public VPStandardStateTP
//! concentration.
/*!
* See Denbigh p. 278 for a thorough discussion. This class must be
* overwritten in classes which derive from MolalityVPSSTP. This function
* overridden in classes which derive from MolalityVPSSTP. This function
* takes over from the molar-based activity coefficient calculation,
* getActivityCoefficients(), in derived classes.
*
Expand Down
16 changes: 8 additions & 8 deletions include/cantera/thermo/ThermoPhase.h
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ class ThermoPhase : public Phase
/*!
* This function fixes the internal state of the phase so that the specific
* entropy and temperature have the value of the input parameters.
* This base class function will print an error if not overwritten.
* This base class function will throw an exception if not overridden.
*
* @param s specific entropy (J/kg/K)
* @param t temperature (K)
Expand All @@ -994,7 +994,7 @@ class ThermoPhase : public Phase
/*!
* This function fixes the internal state of the phase so that the
* temperature and specific volume have the value of the input parameters.
* This base class function will print an error if not overwritten.
* This base class function will throw an exception if not overridden.
*
* @param t temperature (K)
* @param v specific volume (m^3/kg)
Expand All @@ -1010,7 +1010,7 @@ class ThermoPhase : public Phase
/*!
* This function fixes the internal state of the phase so that the
* pressure and specific volume have the value of the input parameters.
* This base class function will print an error if not overwritten.
* This base class function will throw an exception if not overridden.
*
* @param p pressure (Pa)
* @param v specific volume (m^3/kg)
Expand All @@ -1026,7 +1026,7 @@ class ThermoPhase : public Phase
/*!
* This function fixes the internal state of the phase so that the specific
* internal energy and pressure have the value of the input parameters.
* This base class function will print an error if not overwritten.
* This base class function will throw an exception if not overridden.
*
* @param u specific internal energy (J/kg)
* @param p pressure (Pa)
Expand All @@ -1042,7 +1042,7 @@ class ThermoPhase : public Phase
/*!
* This function fixes the internal state of the phase so that the specific
* volume and the specific enthalpy have the value of the input parameters.
* This base class function will print an error if not overwritten.
* This base class function will throw an exception if not overridden.
*
* @param v specific volume (m^3/kg)
* @param h specific enthalpy (J/kg)
Expand All @@ -1058,7 +1058,7 @@ class ThermoPhase : public Phase
/*!
* This function fixes the internal state of the phase so that the
* temperature and specific enthalpy have the value of the input parameters.
* This base class function will print an error if not overwritten.
* This base class function will throw an exception if not overridden.
*
* @param t temperature (K)
* @param h specific enthalpy (J/kg)
Expand All @@ -1074,7 +1074,7 @@ class ThermoPhase : public Phase
/*!
* This function fixes the internal state of the phase so that the
* temperature and pressure have the value of the input parameters.
* This base class function will print an error if not overwritten.
* This base class function will throw an exception if not overridden.
*
* @param s specific entropy (J/kg/K)
* @param h specific enthalpy (J/kg)
Expand All @@ -1094,7 +1094,7 @@ class ThermoPhase : public Phase
* the temperature that will yield the desired input pressure and density.
* The composition is held constant during this process.
*
* This base class function will print an error, if not overwritten.
* This base class function will print an error, if not overridden.
*
* @param rho Density (kg/m^3)
* @param p Pressure (Pa)
Expand Down
2 changes: 1 addition & 1 deletion include/cantera/thermo/WaterSSTP.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class WaterSSTP : public SingleSpeciesTP

protected:
/**
* @internal This internal routine must be overwritten because it is not
* @internal This internal routine must be overridden because it is not
* applicable.
*/
void _updateThermo() const;
Expand Down

0 comments on commit 97697e0

Please sign in to comment.