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$
|
* $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
|
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
|
||||||
* retains certain rights in this software.
|
* retains certain rights in this software.
|
||||||
* See file License.txt for licensing information.
|
* See file License.txt for licensing information.
|
||||||
|
|
@ -199,7 +199,7 @@ public:
|
||||||
* @param typeCalc Type of the calculation
|
* @param typeCalc Type of the calculation
|
||||||
* @param y_curr Current value of the solution vector
|
* @param y_curr Current value of the solution vector
|
||||||
* @param ydot_curr Current value of the time derivative 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.
|
* @return Returns a flag to indicate that operation is successful.
|
||||||
* 1 Means a successful operation.
|
* 1 Means a successful operation.
|
||||||
|
|
@ -1095,7 +1095,7 @@ private:
|
||||||
//! absolute tolerance in the unscaled solution unknowns
|
//! absolute tolerance in the unscaled solution unknowns
|
||||||
doublereal userResidRtol_;
|
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
|
* 0 Don't calculate residual weights from residual tolerance inputs
|
||||||
* 1 Calculate residual weights from residual tolerance inputs only
|
* 1 Calculate residual weights from residual tolerance inputs only
|
||||||
|
|
|
||||||
|
|
@ -438,7 +438,7 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual doublereal satTemperature(doublereal p) const;
|
virtual doublereal satTemperature(doublereal p) const;
|
||||||
|
|
||||||
//! Return the saturation pressure given the temperatur
|
//! Return the saturation pressure given the temperature
|
||||||
/*!
|
/*!
|
||||||
* @param t Temperature (Kelvin)
|
* @param t Temperature (Kelvin)
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
"""
|
"""
|
||||||
Dusty Gas transport model.
|
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
|
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
|
create a transport manager that implements the Dusty Gas model and use it to
|
||||||
compute the multicomponent diffusion coefficients.
|
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
|
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
|
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 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.
|
results.
|
||||||
|
|
||||||
It is recommended that you read input file sofc.cti before reading or running
|
It is recommended that you read input file sofc.cti before reading or running
|
||||||
|
|
|
||||||
|
|
@ -1416,7 +1416,7 @@ class pdep_arrhenius(reaction):
|
||||||
:param equation:
|
:param equation:
|
||||||
A string specifying the chemical equation.
|
A string specifying the chemical equation.
|
||||||
:param args:
|
: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.
|
pressure and the Arrhenius parameters at that pressure.
|
||||||
"""
|
"""
|
||||||
def __init__(self, equation='', *args, **kwargs):
|
def __init__(self, equation='', *args, **kwargs):
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
# to be relied upon for a real SOFC simulation! They are meant to
|
# 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
|
# 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
|
# 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
|
# It is recommended that you read input file sofc.cti before reading
|
||||||
# or running this script!
|
# or running this script!
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
"""
|
"""
|
||||||
Dusty Gas transport model.
|
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
|
transport through the pores of a stationary porous medium. This
|
||||||
example shows how to create a transport manager that implements the
|
example shows how to create a transport manager that implements the
|
||||||
Dusty Gas model and use it to compute the multicomponent diffusion
|
Dusty Gas model and use it to compute the multicomponent diffusion
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ Sim1D::Sim1D() :
|
||||||
Sim1D::Sim1D(vector<Domain1D*>& domains) :
|
Sim1D::Sim1D(vector<Domain1D*>& domains) :
|
||||||
OneDim(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.
|
// domain-specific initialization of the solution vector.
|
||||||
|
|
||||||
m_x.resize(size(), 0.0);
|
m_x.resize(size(), 0.0);
|
||||||
|
|
|
||||||
|
|
@ -502,18 +502,18 @@ int StatMech::buildmap()
|
||||||
name_map["e"]->nvib=0;
|
name_map["e"]->nvib=0;
|
||||||
|
|
||||||
for (ii=0; ii < SS.size(); ii++) {
|
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) {
|
if (name_map[SS[ii]]->nvib == -1) {
|
||||||
std::cout << name_map[SS[ii]]->nvib << std::endl;
|
std::cout << name_map[SS[ii]]->nvib << std::endl;
|
||||||
throw CanteraError("Error in StatMech.cpp",
|
throw CanteraError("Error in StatMech.cpp",
|
||||||
"nvib not initialized!. \n\n");
|
"nvib not initialized!. \n\n");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// check that theta is initalized
|
// check that theta is initialized
|
||||||
for (int i=0; i<name_map[SS[ii]]->nvib; i++) {
|
for (int i=0; i<name_map[SS[ii]]->nvib; i++) {
|
||||||
if (name_map[SS[ii]]->theta[i] <= 0.0) {
|
if (name_map[SS[ii]]->theta[i] <= 0.0) {
|
||||||
throw CanteraError("Error in StatMech.cpp",
|
throw CanteraError("Error in StatMech.cpp",
|
||||||
"theta not initalized!. \n\n");
|
"theta not initialized!. \n\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue