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

[PL] Get dynamically changed transport process id.

parent 2e1cfbe4
No related branches found
No related tags found
No related merge requests found
...@@ -499,6 +499,7 @@ public: ...@@ -499,6 +499,7 @@ public:
std::vector<double>& /*local_b_data*/, std::vector<double>& /*local_b_data*/,
LocalCoupledSolutions const& coupled_xs) LocalCoupledSolutions const& coupled_xs)
{ {
auto const& transport_process_id = coupled_xs.process_id;
auto local_C = Eigen::Map<const NodalVectorType>( auto local_C = Eigen::Map<const NodalVectorType>(
coupled_xs.local_coupled_xs[transport_process_id].data(), coupled_xs.local_coupled_xs[transport_process_id].data(),
concentration_size); concentration_size);
......
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