Fix spelling errors
This commit is contained in:
parent
e65cd38214
commit
c76ddefa5f
9 changed files with 13 additions and 13 deletions
|
|
@ -10,7 +10,7 @@
|
|||
* $Revision$
|
||||
*/
|
||||
/*
|
||||
* Copywrite 2004 Sandia Corporation. Under the terms of Contract
|
||||
* Copyright 2004 Sandia Corporation. Under the terms of Contract
|
||||
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
|
||||
* retains certain rights in this software.
|
||||
* See file License.txt for licensing information.
|
||||
|
|
@ -199,7 +199,7 @@ public:
|
|||
* @param typeCalc Type of the calculation
|
||||
* @param y_curr Current value of the solution vector
|
||||
* @param ydot_curr Current value of the time derivative of the solution vector
|
||||
* @param evalType Base evalulation type. Defaults to Base_ResidEval
|
||||
* @param evalType Base evaluation type. Defaults to Base_ResidEval
|
||||
*
|
||||
* @return Returns a flag to indicate that operation is successful.
|
||||
* 1 Means a successful operation.
|
||||
|
|
@ -1095,7 +1095,7 @@ private:
|
|||
//! absolute tolerance in the unscaled solution unknowns
|
||||
doublereal userResidRtol_;
|
||||
|
||||
//! Check the residual tolerances explictly against user input
|
||||
//! Check the residual tolerances explicitly against user input
|
||||
/*!
|
||||
* 0 Don't calculate residual weights from residual tolerance inputs
|
||||
* 1 Calculate residual weights from residual tolerance inputs only
|
||||
|
|
|
|||
|
|
@ -438,7 +438,7 @@ public:
|
|||
*/
|
||||
virtual doublereal satTemperature(doublereal p) const;
|
||||
|
||||
//! Return the saturation pressure given the temperatur
|
||||
//! Return the saturation pressure given the temperature
|
||||
/*!
|
||||
* @param t Temperature (Kelvin)
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Dusty Gas transport model.
|
||||
|
||||
The Dusty Gas model is a mulicomponent transport model for gas transport
|
||||
The Dusty Gas model is a multicomponent transport model for gas transport
|
||||
through the pores of a stationary porous medium. This example shows how to
|
||||
create a transport manager that implements the Dusty Gas model and use it to
|
||||
compute the multicomponent diffusion coefficients.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ not need to be separately specified), as well as polarization curves.
|
|||
NOTE: The parameters here, and in the input file sofc.cti, are not to be
|
||||
relied upon for a real SOFC simulation! They are meant to illustrate only how
|
||||
to do such a calculation in Cantera. While some of the parameters may be close
|
||||
to real values, others are simply set arbitratily to give reasonable-looking
|
||||
to real values, others are simply set arbitrarily to give reasonable-looking
|
||||
results.
|
||||
|
||||
It is recommended that you read input file sofc.cti before reading or running
|
||||
|
|
|
|||
|
|
@ -1416,7 +1416,7 @@ class pdep_arrhenius(reaction):
|
|||
:param equation:
|
||||
A string specifying the chemical equation.
|
||||
:param args:
|
||||
Each additiona argument is a sequence of four elements specifying the
|
||||
Each additional argument is a sequence of four elements specifying the
|
||||
pressure and the Arrhenius parameters at that pressure.
|
||||
"""
|
||||
def __init__(self, equation='', *args, **kwargs):
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# to be relied upon for a real SOFC simulation! They are meant to
|
||||
# illustrate only how to do such a calculation in Cantera. While some
|
||||
# of the parameters may be close to real values, others are simply set
|
||||
# arbitratily to give reasonable-looking results.
|
||||
# arbitrarily to give reasonable-looking results.
|
||||
|
||||
# It is recommended that you read input file sofc.cti before reading
|
||||
# or running this script!
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Dusty Gas transport model.
|
||||
|
||||
The Dusty Gas model is a mulicomponent transport model for gas
|
||||
The Dusty Gas model is a multicomponent transport model for gas
|
||||
transport through the pores of a stationary porous medium. This
|
||||
example shows how to create a transport manager that implements the
|
||||
Dusty Gas model and use it to compute the multicomponent diffusion
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ Sim1D::Sim1D() :
|
|||
Sim1D::Sim1D(vector<Domain1D*>& domains) :
|
||||
OneDim(domains)
|
||||
{
|
||||
// resize the internal solution vector and the wprk array, and perform
|
||||
// resize the internal solution vector and the work array, and perform
|
||||
// domain-specific initialization of the solution vector.
|
||||
|
||||
m_x.resize(size(), 0.0);
|
||||
|
|
|
|||
|
|
@ -502,18 +502,18 @@ int StatMech::buildmap()
|
|||
name_map["e"]->nvib=0;
|
||||
|
||||
for (ii=0; ii < SS.size(); ii++) {
|
||||
// check nvib was initalized for all species
|
||||
// check nvib was initialized for all species
|
||||
if (name_map[SS[ii]]->nvib == -1) {
|
||||
std::cout << name_map[SS[ii]]->nvib << std::endl;
|
||||
throw CanteraError("Error in StatMech.cpp",
|
||||
"nvib not initialized!. \n\n");
|
||||
|
||||
} else {
|
||||
// check that theta is initalized
|
||||
// check that theta is initialized
|
||||
for (int i=0; i<name_map[SS[ii]]->nvib; i++) {
|
||||
if (name_map[SS[ii]]->theta[i] <= 0.0) {
|
||||
throw CanteraError("Error in StatMech.cpp",
|
||||
"theta not initalized!. \n\n");
|
||||
"theta not initialized!. \n\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue