Skip to content
Snippets Groups Projects
Commit 064cb64b authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

member fct -> local namespace

parent ecc1f770
No related branches found
No related tags found
1 merge request!214Core: get rid of ISpecularStrategy hierarchy
......@@ -16,9 +16,9 @@
#include "Base/Math/Constants.h"
#include "Base/Math/Functions.h"
Eigen::Matrix2cd SpecularMagneticTanhStrategy::computeRoughnessMatrix(const MatrixFlux& coeff,
double sigma,
bool inverse) const
namespace {
Eigen::Matrix2cd computeRoughnessMatrix(const MatrixFlux& coeff, double sigma, bool inverse)
{
if (sigma < 10 * std::numeric_limits<double>::epsilon())
return Eigen::Matrix2cd{Eigen::Matrix2cd::Identity()};
......@@ -56,6 +56,9 @@ Eigen::Matrix2cd SpecularMagneticTanhStrategy::computeRoughnessMatrix(const Matr
throw std::runtime_error("Broken magnetic field vector");
}
} // namespace
std::pair<Eigen::Matrix2cd, Eigen::Matrix2cd>
SpecularMagneticTanhStrategy::computeBackwardsSubmatrices(const MatrixFlux& coeff_i,
const MatrixFlux& coeff_i1,
......
......@@ -33,9 +33,6 @@ private:
virtual std::pair<Eigen::Matrix2cd, Eigen::Matrix2cd>
computeBackwardsSubmatrices(const MatrixFlux& coeff_i, const MatrixFlux& coeff_i1,
double sigma) const;
Eigen::Matrix2cd computeRoughnessMatrix(const MatrixFlux& coeff, double sigma,
bool inverse = false) const;
};
#endif // BORNAGAIN_RESAMPLE_SPECULAR_SPECULARMAGNETICTANHSTRATEGY_H
......
......@@ -848,6 +848,9 @@ C++ includes: SSCAStrategy.h
// File: namespace_0d40.xml
// File: namespace_0d42.xml
// File: namespace_0d46.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment