Skip to content
Snippets Groups Projects
Commit 60e71a6e authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

now Process should pass a vector of the number of variable components to LocalToGlobalIndexMap

parent 2408cfd7
No related branches found
No related tags found
No related merge requests found
......@@ -154,8 +154,14 @@ void Process::constructDofTable()
});
}
// Create a vector of the number of variable components
std::vector<unsigned> vec_var_n_components;
for (ProcessVariable const& pv : _process_variables)
vec_var_n_components.push_back(pv.getNumberOfComponents());
_local_to_global_index_map.reset(new NumLib::LocalToGlobalIndexMap(
std::move(all_mesh_subsets), NumLib::ComponentOrder::BY_LOCATION));
std::move(all_mesh_subsets), vec_var_n_components,
NumLib::ComponentOrder::BY_LOCATION));
}
......
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