Skip to content
Snippets Groups Projects
Commit 6b787ac4 authored by renchao.lu's avatar renchao.lu
Browse files

[CL] Store reactant amount on int_pts.

parent cd741185
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ std::vector<EquilibriumReactant> createEquilibriumReactants(
auto amount = MeshLib::getOrCreateMeshProperty<double>(
const_cast<MeshLib::Mesh&>(mesh),
name,
MeshLib::MeshItemType::Node,
MeshLib::MeshItemType::IntegrationPoint,
1);
std::fill(std::begin(*amount),
......
......@@ -59,7 +59,7 @@ std::vector<KineticReactant> createKineticReactants(
auto amount = MeshLib::getOrCreateMeshProperty<double>(
const_cast<MeshLib::Mesh&>(mesh),
name,
MeshLib::MeshItemType::Node,
MeshLib::MeshItemType::IntegrationPoint,
1);
std::fill(std::begin(*amount),
......
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