Clean up interstitial whitespace
Remove extra space around operators, between words, etc.
This commit is contained in:
parent
6a04193646
commit
acdf9cf0ed
291 changed files with 3510 additions and 3516 deletions
|
|
@ -308,7 +308,7 @@ inline void sum_each(OutputIter x_begin, OutputIter x_end,
|
|||
* Example:
|
||||
*
|
||||
* \code
|
||||
* vector<double> x(3), y(20), ;
|
||||
* vector<double> x(3), y(20);
|
||||
* vector<int> index(3);
|
||||
* index[0] = 9;
|
||||
* index[1] = 2;
|
||||
|
|
|
|||
|
|
@ -269,8 +269,7 @@ public:
|
|||
std::string dashed_color;
|
||||
std::string element;
|
||||
std::string m_font;
|
||||
doublereal threshold,
|
||||
bold_min, dashed_max, label_min;
|
||||
doublereal threshold, bold_min, dashed_max, label_min;
|
||||
doublereal x_size, y_size;
|
||||
std::string name, dot_options;
|
||||
flow_t flow_type;
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ namespace Cantera
|
|||
* values defined in @ref solvesp_methods.
|
||||
*
|
||||
* ### Pseudo time stepping algorithm:
|
||||
* The time step is determined from sdot[], so so that the time step
|
||||
* The time step is determined from sdot[], so that the time step
|
||||
* doesn't ever change the value of a variable by more than 100%.
|
||||
*
|
||||
* This algorithm does use a damped Newton's method to relax the equations.
|
||||
|
|
|
|||
|
|
@ -121,9 +121,7 @@ public:
|
|||
virtual void init(const XML_Node& compModelNode = XML_Node(),
|
||||
thermo_t* thermo = 0);
|
||||
|
||||
virtual void setParameters(LiquidTransportParams& trParam) {
|
||||
;
|
||||
}
|
||||
virtual void setParameters(LiquidTransportParams& trParam) {}
|
||||
|
||||
//! Return the mixture transport property value.
|
||||
//! (Must be implemented in subclasses.)
|
||||
|
|
|
|||
|
|
@ -3456,7 +3456,7 @@ void VCS_SOLVE::vcs_dfe(const int stateCalc,
|
|||
AssertThrowMsg(m_chargeSpecies[kspec] == -1.0, "VCS_SOLVE::vcs_dfe",
|
||||
"We have an unexpected situation!");
|
||||
feSpecies[kspec] = m_SSfeSpecies[kspec]
|
||||
+ m_chargeSpecies[kspec] * m_Faraday_dim * m_phasePhi[iphase]; ;
|
||||
+ m_chargeSpecies[kspec] * m_Faraday_dim * m_phasePhi[iphase];
|
||||
} else {
|
||||
if (m_SSPhase[kspec]) {
|
||||
feSpecies[kspec] = m_SSfeSpecies[kspec]
|
||||
|
|
|
|||
|
|
@ -434,8 +434,7 @@ void StFlow::eval(size_t jg, doublereal* xg,
|
|||
dtdzj = dTdz(x,j);
|
||||
sum2 *= GasConstant * dtdzj;
|
||||
|
||||
rsd[index(c_offset_T, j)] =
|
||||
- m_cp[j]*rho_u(x,j)*dtdzj
|
||||
rsd[index(c_offset_T, j)] = - m_cp[j]*rho_u(x,j)*dtdzj
|
||||
- divHeatFlux(x,j) - sum - sum2;
|
||||
rsd[index(c_offset_T, j)] /= (m_rho[j]*m_cp[j]);
|
||||
rsd[index(c_offset_T, j)] -= rdt*(T(x,j) - T_prev(j));
|
||||
|
|
|
|||
|
|
@ -1225,8 +1225,7 @@ void DebyeHuckel::s_update_lnMolalityActCoeff() const
|
|||
m_IionicMolalityStoich += m_molalities[k] * z_k * z_k;
|
||||
} else {
|
||||
zs_k2 = z_k - zs_k1;
|
||||
m_IionicMolalityStoich
|
||||
+= m_molalities[k] * (zs_k1 * zs_k1 + zs_k2 * zs_k2);
|
||||
m_IionicMolalityStoich += m_molalities[k] * (zs_k1 * zs_k1 + zs_k2 * zs_k2);
|
||||
}
|
||||
}
|
||||
m_IionicMolalityStoich /= 2.0;
|
||||
|
|
|
|||
|
|
@ -1127,8 +1127,7 @@ void HMWSoln::s_update_lnMolalityActCoeff() const
|
|||
m_IionicMolalityStoich += m_molalities[k] * z_k * z_k;
|
||||
} else {
|
||||
double zs_k2 = z_k - zs_k1;
|
||||
m_IionicMolalityStoich
|
||||
+= m_molalities[k] * (zs_k1 * zs_k1 + zs_k2 * zs_k2);
|
||||
m_IionicMolalityStoich += m_molalities[k] * (zs_k1 * zs_k1 + zs_k2 * zs_k2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue