jinnsjj / ARD-simulator

3D sound propagation simulator using adaptive rectangular decomposition method.
28 stars 9 forks source link

Updating of pml partition is slow. #1

Open jinnsjj opened 5 years ago

jinnsjj commented 5 years ago

The time cost on updating pml partition is more than it is supposed to be. Optimization may needed.

jinnsjj commented 5 years ago

For loop in PmlPartition::Update() includes lots of repeating computation. zetax, zetay, zetaz can be initialized only at the first time.

jinnsjj commented 5 years ago

For loop in PmlPartition::Update() includes lots of repeating computation. zetax, zetay, zetaz can be initialized only at the first time.

will be optimized at the next commit.