Skip to content

Commit

Permalink
Added omp parallel directive to AssembleSolidDomain (skip ci).
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMaas1978 committed Feb 26, 2025
1 parent 8ec661c commit 46d70f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FECore/Integrate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ FECORE_API void AssembleSolidDomain(FESolidDomain& dom, FELinearSystem& ls, std:
FECORE_API void AssembleSolidDomain(FESolidDomain& dom, FEGlobalVector& R, std::function<void(FESolidElement& el, vector<double>& fe)> elementIntegrand)
{
int NE = dom.Elements();
#pragma omp parallel for
for (int i = 0; i < NE; ++i)
{
FESolidElement& el = dom.Element(i);
Expand Down

0 comments on commit 46d70f6

Please # to comment.