Commit d909df40 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[misc] Fix "coeffiecient" typo

parent a28a4dd0
......@@ -192,7 +192,7 @@ public:
}
/*!
* \brief Returns the diffusion coeffiecient
* \brief Returns the diffusion coefficient
*/
Scalar diffusionCoefficient(int pIdx, int compIdx) const
{
......@@ -202,7 +202,7 @@ public:
else if (compIdx > pIdx)
return diffCoefficient_[pIdx][compIdx-1];
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient called for phaseIdx = compIdx");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient called for phaseIdx = compIdx");
}
protected:
......@@ -221,7 +221,7 @@ protected:
else if (compIdx > pIdx)
diffCoefficient_[pIdx][compIdx-1] = std::move(d);
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient for phaseIdx = compIdx doesn't exist");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient for phaseIdx = compIdx doesn't exist");
}
std::array<std::array<Scalar, numComponents-1>, numPhases> diffCoefficient_;
......
......@@ -558,7 +558,7 @@ public:
Scalar diffusionCoefficient(int phaseIdx, int compIdx) const
{
if(phaseIdx == compIdx)
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient called for phaseIdx = compIdx");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient called for phaseIdx = compIdx");
else
return diffCoeff_[phaseIdx];
}
......
......@@ -472,7 +472,7 @@ public:
else if (compIdx > phaseIdx)
return diffCoefficient_[phaseIdx][compIdx-1];
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient called for phaseIdx = compIdx");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient called for phaseIdx = compIdx");
}
/*!
......@@ -516,7 +516,7 @@ private:
else if (compIdx > phaseIdx)
diffCoefficient_[phaseIdx][compIdx-1] = std::move(d);
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient for phaseIdx = compIdx doesn't exist");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient for phaseIdx = compIdx doesn't exist");
}
std::array<std::array<Scalar, numComponents-1>, numPhases> diffCoefficient_;
......
......@@ -666,7 +666,7 @@ public:
{ return permeability_; }
/*!
* \brief Returns the diffusion coeffiecient
* \brief Returns the diffusion coefficient
*/
Scalar diffusionCoefficient(int phaseIdx, int compIdx) const
{
......@@ -675,7 +675,7 @@ public:
else if (compIdx > phaseIdx)
return diffCoefficient_[phaseIdx][compIdx-1];
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient called for phaseIdx = compIdx");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient called for phaseIdx = compIdx");
}
protected:
......@@ -701,7 +701,7 @@ private:
else if (phaseIdx == nPhaseIdx)
diffCoefficient_[phaseIdx][compIdx-1] = 0;
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient for phaseIdx = compIdx doesn't exist");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient for phaseIdx = compIdx doesn't exist");
}
std::array<std::array<Scalar, numComponents-1>, numPhases> diffCoefficient_;
......
......@@ -790,7 +790,7 @@ public:
}
/*!
* \brief Returns the diffusion coeffiecient
* \brief Returns the diffusion coefficient
*/
Scalar diffusionCoefficient(int phaseIdx, int compIdx) const
{
......
......@@ -451,7 +451,7 @@ public:
else if (compIdx > phaseIdx)
return diffCoefficient_[phaseIdx][compIdx-1];
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient called for phaseIdx = compIdx");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient called for phaseIdx = compIdx");
}
/*!
......@@ -505,7 +505,7 @@ protected:
else if (compIdx > phaseIdx)
diffCoefficient_[phaseIdx][compIdx-1] = std::move(d);
else
DUNE_THROW(Dune::InvalidStateException, "Diffusion coeffiecient for phaseIdx = compIdx doesn't exist");
DUNE_THROW(Dune::InvalidStateException, "Diffusion coefficient for phaseIdx = compIdx doesn't exist");
}
std::array<std::array<Scalar, numComponents-1>, numPhases> diffCoefficient_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment