Skip to content
Snippets Groups Projects
Commit e33fb25a authored by Boyan Meng's avatar Boyan Meng Committed by Dmitri Naumov
Browse files

fix error in the use of eigen::map

parent 53ddfbec
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ void HeatTransportBHELocalAssemblerSoil<ShapeFunction, IntegrationMethod>:: ...@@ -139,7 +139,7 @@ void HeatTransportBHELocalAssemblerSoil<ShapeFunction, IntegrationMethod>::
.property(MaterialPropertyLib::PropertyType::phase_velocity) .property(MaterialPropertyLib::PropertyType::phase_velocity)
.value(vars, pos, t); .value(vars, pos, t);
auto const velocity = Eigen::Map<Eigen::Vector3d const>( auto const velocity = Eigen::Map<Eigen::Vector3d const>(
std::get<MaterialPropertyLib::Vector>(velocity_arr).data(), 1, 3); std::get<MaterialPropertyLib::Vector>(velocity_arr).data());
// calculate the hydrodynamic thermodispersion tensor // calculate the hydrodynamic thermodispersion tensor
auto const thermal_conductivity = auto const thermal_conductivity =
......
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