Shadow declaration Grid(Type) fixed

This commit is contained in:
Antonella Ritorto 2023-12-14 16:25:11 +01:00
parent 0a8e1fa757
commit 1f77b0c199

View File

@ -1995,8 +1995,8 @@ protected:
{
const auto& lookup = this->lookUpData_;
// Get Grid Type
using Grid = std::remove_cv_t< typename std::remove_reference<decltype(this->gridView().grid())>::type>;
return [&lookup](unsigned elemIdx) { return lookup.template getFieldPropIdx<Grid>(elemIdx);};
using GridType = std::remove_cv_t< typename std::remove_reference<decltype(this->gridView().grid())>::type>;
return [&lookup](unsigned elemIdx) { return lookup.template getFieldPropIdx<GridType>(elemIdx);};
}
void readMaterialParameters_()