Skip to content

Commit

Permalink
threading the thermal response
Browse files Browse the repository at this point in the history
  • Loading branch information
j-c-cook committed Aug 4, 2020
1 parent 42ef615 commit a77a986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cppgfunction/gfunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,9 @@ namespace gt::gfunction {
}
};
for (int i=0; i<nSources; i++) {
// boost::asio::post(pool, [&_borehole_wall_temp, i, nSources, nt]
// { _borehole_wall_temp(i, nSources, nt); });
_borehole_wall_temp(i, nSources, nt);
boost::asio::post(pool, [&_borehole_wall_temp, i, nSources, nt]
{ _borehole_wall_temp(i, nSources, nt); });
// _borehole_wall_temp(i, nSources, nt);
}

pool.join();
Expand Down

0 comments on commit a77a986

Please sign in to comment.