Skip to content

Commit c9153ca

Browse files
committed
Fix spelling of particle model function getPoreAccessFactor
1 parent be78e9c commit c9153ca

13 files changed

+13
-13
lines changed

src/libcadet/model/ColumnModel1D-LinearSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void ColumnModel1D::assembleDiscretizedGlobalJacobian(double alpha, Indexer idxr
220220
void ColumnModel1D::addTimeDerivativeToJacobianParticleShell(linalg::BandedEigenSparseRowIterator& jac, const Indexer& idxr, double alpha, unsigned int parType)
221221
{
222222
parts::cell::addTimeDerivativeToJacobianParticleShell<linalg::BandedEigenSparseRowIterator, true>(jac, alpha, static_cast<double>(_particles[parType]->getPorosity()), _disc.nComp, _disc.nBound + _disc.nComp * parType,
223-
_particles[parType]->getPoreAccessfactor(), _disc.strideBound[parType], _disc.boundOffset + _disc.nComp * parType, _binding[parType]->reactionQuasiStationarity());
223+
_particles[parType]->getPoreAccessFactor(), _disc.strideBound[parType], _disc.boundOffset + _disc.nComp * parType, _binding[parType]->reactionQuasiStationarity());
224224
}
225225

226226
} // namespace model

src/libcadet/model/ColumnModel1D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ parts::cell::CellParameters ColumnModel1D::makeCellResidualParams(unsigned int p
968968
_disc.strideBound[parType],
969969
qsReaction,
970970
_particles[parType]->getPorosity(),
971-
_particles[parType]->getPoreAccessfactor(),
971+
_particles[parType]->getPoreAccessFactor(),
972972
_binding[parType],
973973
(_dynReaction[parType] && (_dynReaction[parType]->numReactionsCombined() > 0)) ? _dynReaction[parType] : nullptr
974974
};

src/libcadet/model/GeneralRateModelDG-LinearSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ void GeneralRateModelDG::assembleDiscretizedGlobalJacobian(double alpha, Indexer
221221
void GeneralRateModelDG::addTimeDerivativeToJacobianParticleShell(linalg::BandedEigenSparseRowIterator& jac, const Indexer& idxr, double alpha, unsigned int parType)
222222
{
223223
parts::cell::addTimeDerivativeToJacobianParticleShell<linalg::BandedEigenSparseRowIterator, true>(jac, alpha, static_cast<double>(_particle[parType].getPorosity()), _disc.nComp, _disc.nBound + _disc.nComp * parType,
224-
_particle[parType].getPoreAccessfactor(), _disc.strideBound[parType], _disc.boundOffset + _disc.nComp * parType, _binding[parType]->reactionQuasiStationarity());
224+
_particle[parType].getPoreAccessFactor(), _disc.strideBound[parType], _disc.boundOffset + _disc.nComp * parType, _binding[parType]->reactionQuasiStationarity());
225225
}
226226

227227
} // namespace model

src/libcadet/model/GeneralRateModelDG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ parts::cell::CellParameters GeneralRateModelDG::makeCellResidualParams(unsigned
962962
_disc.strideBound[parType],
963963
qsReaction,
964964
_particle[parType].getPorosity(),
965-
_particle[parType].getPoreAccessfactor(),
965+
_particle[parType].getPoreAccessFactor(),
966966
_binding[parType],
967967
(_dynReaction[parType] && (_dynReaction[parType]->numReactionsCombined() > 0)) ? _dynReaction[parType] : nullptr
968968
};

src/libcadet/model/LumpedRateModelWithPoresDG-InitialConditions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ namespace cadet
375375
_disc.strideBound[type],
376376
_binding[type]->reactionQuasiStationarity(),
377377
_particle[type].getPorosity(),
378-
_particle[type].getPoreAccessfactor(),
378+
_particle[type].getPoreAccessFactor(),
379379
_binding[type],
380380
(_dynReaction[type] && (_dynReaction[type]->numReactionsCombined() > 0)) ? _dynReaction[type] : nullptr
381381
};

src/libcadet/model/LumpedRateModelWithPoresDG-LinearSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void LumpedRateModelWithPoresDG::addTimeDerivativeToJacobianParticleBlock(linalg
202202
// Add derivative with respect to dc_p / dt to Jacobian
203203
jac[0] += alpha;
204204

205-
const double invBetaP = (1.0 - static_cast<double>(_particle[parType].getPorosity())) / (static_cast<double>(_particle[parType].getPoreAccessfactor()[comp]) * static_cast<double>(_particle[parType].getPorosity()));
205+
const double invBetaP = (1.0 - static_cast<double>(_particle[parType].getPorosity())) / (static_cast<double>(_particle[parType].getPoreAccessFactor()[comp]) * static_cast<double>(_particle[parType].getPorosity()));
206206

207207
// Add derivative with respect to dq / dt to Jacobian
208208
const int nBound = static_cast<int>(_disc.nBound[parType * _disc.nComp + comp]);

src/libcadet/model/LumpedRateModelWithPoresDG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ void LumpedRateModelWithPoresDG::multiplyWithDerivativeJacobian(const Simulation
11691169
// Add derivative with respect to dc_p / dt to Jacobian
11701170
localRet[comp] = localSdot[comp];
11711171

1172-
const double invBetaP = (1.0 - static_cast<double>(_particle[type].getPorosity())) / (static_cast<double>(_particle[type].getPoreAccessfactor()[comp]) * static_cast<double>(_particle[type].getPorosity()));
1172+
const double invBetaP = (1.0 - static_cast<double>(_particle[type].getPorosity())) / (static_cast<double>(_particle[type].getPoreAccessFactor()[comp]) * static_cast<double>(_particle[type].getPorosity()));
11731173

11741174
// Add derivative with respect to dq / dt to Jacobian (normal equations)
11751175
for (unsigned int i = 0; i < nBound[comp]; ++i)

src/libcadet/model/particle/GeneralRateParticle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ namespace model
370370
_parDiffOp->strideBound(),
371371
qsReaction,
372372
getPorosity(),
373-
getPoreAccessfactor(),
373+
getPoreAccessFactor(),
374374
_binding,
375375
(_dynReaction && (_dynReaction->numReactionsCombined() > 0)) ? _dynReaction : nullptr
376376
};

src/libcadet/model/particle/GeneralRateParticle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ namespace parts
113113
parts::ParticleDiffusionOperatorBase* _parDiffOp;
114114

115115
inline const active& getPorosity() const CADET_NOEXCEPT override { return _parDiffOp->getPorosity(); }
116-
inline const active* getPoreAccessfactor() const CADET_NOEXCEPT override { return _parDiffOp->getPoreAccessfactor(); }
116+
inline const active* getPoreAccessFactor() const CADET_NOEXCEPT override { return _parDiffOp->getPoreAccessFactor(); }
117117
inline const active* getFilmDiffusion(const unsigned int secIdx) const CADET_NOEXCEPT { return _parDiffOp->getFilmDiffusion(secIdx); }
118118

119119
inline int nDiscPoints() const CADET_NOEXCEPT override { return _parDiffOp->nDiscPoints(); }

src/libcadet/model/particle/HomogeneousParticle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ namespace model
583583
_strideBound,
584584
qsReaction,
585585
getPorosity(),
586-
getPoreAccessfactor(),
586+
getPoreAccessFactor(),
587587
_binding,
588588
(_dynReaction && (_dynReaction->numReactionsCombined() > 0)) ? _dynReaction : nullptr
589589
};

0 commit comments

Comments
 (0)