Open-Infra-Platform icon indicating copy to clipboard operation
Open-Infra-Platform copied to clipboard

[REQUEST] Linking inverses in parallel

Open pjanck opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. Current EXPRESSContainer implementation does not support consecutive addition of elements (push_back). This makes linking of inverses slower as a pragma omp for is not possible:

https://github.com/tumcms/Open-Infra-Platform/blob/c53759da8e525313edc2ea507624856f900318c6/ExpressBindingGenerator/src/Generator/GeneratorOIP.cpp#L2210-L2218

Describe the solution you'd like Expand EXPRESSContainer to allow for parallel execution. Idea:

  • std::mutex member

Additional context The reading of IFC content already happens in parallel:

https://github.com/tumcms/Open-Infra-Platform/blob/c53759da8e525313edc2ea507624856f900318c6/ExpressBindingGenerator/src/Generator/GeneratorOIP.cpp#L2187-L2208

pjanck avatar Jan 18 '21 07:01 pjanck