diff --git a/include/cantera/numerics/NonlinearSolver.h b/include/cantera/numerics/NonlinearSolver.h index ffe03656b..cd7f81f6b 100644 --- a/include/cantera/numerics/NonlinearSolver.h +++ b/include/cantera/numerics/NonlinearSolver.h @@ -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 diff --git a/include/cantera/thermo/PureFluidPhase.h b/include/cantera/thermo/PureFluidPhase.h index ecbf05321..a2ec3bd28 100644 --- a/include/cantera/thermo/PureFluidPhase.h +++ b/include/cantera/thermo/PureFluidPhase.h @@ -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) */ diff --git a/interfaces/cython/cantera/examples/dusty_gas.py b/interfaces/cython/cantera/examples/dusty_gas.py index 52115a64c..af4f1b43a 100644 --- a/interfaces/cython/cantera/examples/dusty_gas.py +++ b/interfaces/cython/cantera/examples/dusty_gas.py @@ -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. diff --git a/interfaces/cython/cantera/examples/surface_chemistry/sofc.py b/interfaces/cython/cantera/examples/surface_chemistry/sofc.py index 289a25694..d21837430 100644 --- a/interfaces/cython/cantera/examples/surface_chemistry/sofc.py +++ b/interfaces/cython/cantera/examples/surface_chemistry/sofc.py @@ -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 diff --git a/interfaces/python/ctml_writer.py b/interfaces/python/ctml_writer.py index cdf1f7260..47743ec6c 100644 --- a/interfaces/python/ctml_writer.py +++ b/interfaces/python/ctml_writer.py @@ -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): diff --git a/samples/python/fuel_cells/sofc.py b/samples/python/fuel_cells/sofc.py index 3f13f204d..b066e47f6 100644 --- a/samples/python/fuel_cells/sofc.py +++ b/samples/python/fuel_cells/sofc.py @@ -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! diff --git a/samples/python/transport/dustygas.py b/samples/python/transport/dustygas.py index fbf840391..0c686d25a 100644 --- a/samples/python/transport/dustygas.py +++ b/samples/python/transport/dustygas.py @@ -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 diff --git a/src/oneD/Sim1D.cpp b/src/oneD/Sim1D.cpp index c21864072..76c221253 100644 --- a/src/oneD/Sim1D.cpp +++ b/src/oneD/Sim1D.cpp @@ -28,7 +28,7 @@ Sim1D::Sim1D() : Sim1D::Sim1D(vector& 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); diff --git a/src/thermo/StatMech.cpp b/src/thermo/StatMech.cpp index b626ef2df..b3db7ced5 100644 --- a/src/thermo/StatMech.cpp +++ b/src/thermo/StatMech.cpp @@ -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; invib; 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"); } }