Skip to content
Snippets Groups Projects
Commit 48179a8f authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MatL] Fracture/Coulomb. Drop anonymous namespace.

Not really need here and caused some warnings to appear
in the unity builds.

Warning were of type:
MaterialLib/FractureModels/Coulomb.cpp:182:38: warning: ‘MaterialLib::Fracture::Coulomb::Coulomb<DisplacementDim>::computeConstitutiveRelation(double, const ParameterLib::SpatialPosition&, double, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<Eigen::Matrix<double, -1, 1> >, Eigen::Ref<Eigen::Matrix<double, -1, -1> >, typename MaterialLib::Fracture::FractureModelBase<DisplacementDim>::MaterialStateVariables&) [with int DisplacementDim = 3; typename MaterialLib::Fracture::FractureModelBase<DisplacementDim>::MaterialStateVariables = MaterialLib::Fracture::FractureModelBase<3>::MaterialStateVariables]::<lambda(const ResidualVectorType&)>’ has a field ‘MaterialLib::Fracture::Coulomb::Coulomb<DisplacementDim>::computeConstitutiveRelation(double, const ParameterLib::SpatialPosition&, double, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >, Eigen::Ref<Eigen::Matrix<double, -1, 1> >, Eigen::Ref<Eigen::Matrix<double, -1, -1> >, typename MaterialLib::Fracture::FractureModelBase<DisplacementDim>::MaterialStateVariables&) [with int DisplacementDim = 3; typename MaterialLib::Fracture::FractureModelBase<DisplacementDim>::MaterialStateVariables = MaterialLib::Fracture::FractureModelBase<3>::MaterialStateVariables]::<lambda(const ResidualVectorType&)>::<mat capture>’ whose type uses the anonymous namespace [-Wsubobject-linkage]
  182 |         auto const update_solution = [&](ResidualVectorType const& increment) {
parent 3f637db5
No related branches found
No related tags found
Loading
Loading
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