Skip to content

Commit

Permalink
Omit parameters that are unused in several functions to remove compil…
Browse files Browse the repository at this point in the history
…er warnings

Refs idaholab#12
  • Loading branch information
cticenhour committed Nov 8, 2021
1 parent cf43175 commit e4252f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/electromagnetics/src/functions/CosTheta.C
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CosTheta::CosTheta(const InputParameters & parameters)
}

Real
CosTheta::value(Real t, const Point & p)
CosTheta::value(Real /*t*/, const Point & /*p*/)
{
return std::cos(_theta * libMesh::pi / 180.);
}
2 changes: 1 addition & 1 deletion modules/electromagnetics/src/functions/JinSlabCoeffFunc.C
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ JinSlabCoeffFunc::JinSlabCoeffFunc(const InputParameters & parameters)
}

Real
JinSlabCoeffFunc::value(Real t, const Point & p)
JinSlabCoeffFunc::value(Real /*t*/, const Point & p)
{
// std::complex<double> _epsR(_epsR_real.value(t, p), _epsR_imag.value(t, p));
// std::complex<double> _muR(_muR_real, _muR_imag);
Expand Down
2 changes: 1 addition & 1 deletion modules/electromagnetics/src/functions/ZPolarizedWave.C
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ZPolarizedWave::ZPolarizedWave(const InputParameters & parameters)
}

Real
ZPolarizedWave::value(Real t, const Point & p)
ZPolarizedWave::value(Real /*t*/, const Point & p)
{
if (_component == elk::REAL)
{
Expand Down

0 comments on commit e4252f8

Please sign in to comment.