Skip to content
Snippets Groups Projects
Commit 939eb4c4 authored by jstark's avatar jstark
Browse files

Moving scalar property assignments out of vector loop.

parent 6b2ae568
No related branches found
No related tags found
No related merge requests found
......@@ -270,8 +270,8 @@ private:
for(size_t d = 0; d < grid_type::dims; d++)
{
vd.getLastPos()[d] = key_g.get(d) * grid.getSpacing()[d];
vd.template getLastProp<Phi_SDF_vd>() = grid.template get<Phi_SDF_grid>(key);
}
vd.template getLastProp<Phi_SDF_vd>() = grid.template get<Phi_SDF_grid>(key);
}
++dom;
}
......@@ -390,8 +390,8 @@ private:
for(size_t d = 0; d < grid_type::dims; d++)
{
vd.getLastPos()[d] = key_g.get(d) * grid.getSpacing()[d];
vd.template getLastProp<Prop1_vd>() = grid.template get<Prop1_grid>(key);
}
vd.template getLastProp<Prop1_vd>() = grid.template get<Prop1_grid>(key);
}
++dom;
}
......
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