ukaea / parallel-preprocessor

Parallel-preprocessor: a prototype of parallel CAE geometry preprocessing framework
Other
19 stars 10 forks source link

select multiple thread exectutor or serialExecutor by json config #27

Closed qingfengxia closed 3 years ago

qingfengxia commented 3 years ago

if the thread count is 1, then serialExecutor is used instead, useful in benchmarking and validation.

use thread pool, thread count == 1, it is not equal to use serialExecutor, there is tiny cost. NOTE imprinting is a coupled operation, not supported/code for serial single thread SerialExecutor.

qingfengxia commented 3 years ago

imprinting is a coupled operation, not supported/code for serial single thread executor.