いわて駐在研究日誌

OpenCAE、電子工作、R/C等、徒然なるままに

改良コードの計算時間の内訳

                                                                                                                                                              • +

[0:geometry] viewfactor preparation completed: total cpu = 1812.060

                                                                                                                                                              • +
                                                                                                                                                              • +

[1:isfaced] viewfactor preparation completed: total cpu = 16.15417

                                                                                                                                                              • +

Max. surface mesh edge length: 0.1216534522120750
Now searching obstacle mesh ...

                                                                                                                                                              • +

[2:isfinished/isobstacle] viewfactor preparation completed: total cpu = 36911.16 (x2.67)

                                                                                                                                                              • +
                                                                                                                                                              • +

[3:lwij] viewfactor preparation completed: total cpu = 1.10

                                                                                                                                                              • +
                                                                                                                                                              • +

[4] viewfactor completed: total cpu = 893.0664 (x1.92)

                                                                                                                                                              • +
                                                                                                                                                              • +

[5] viewfactor normalized: total cpu = 26.06641

                                                                                                                                                              • +

ということで、時間のかかっている

  1. メッシュGeomerty計算
  2. 障害物判定
  3. VF計算

の3つのサブルーチンを、アルゴリズムの見直しも含めて改善してみる。