当前位置: 首页 > 工具软件 > Python Hyper > 使用案例 >

python调用hypermesh调用tcl_Python fc-hypermesh包_程序模块 - PyPI - Python中文网

仲浩旷
2023-12-01

importfc_hypermeshfc_hypermesh.bench_gen(3,'simplicial',[[-1,1],[-1,1],[-1,1]],range(20,170,20))

The output of this code is:# BENCH in dimension 3 with simplicial mesh

#d: 3

#type: simplicial

#box: [[-1, 1], [-1, 1], [-1, 1]]

#desc: N nq nme time(s)

20 9261 48000 0.214

40 68921 384000 0.211

60 226981 1296000 0.274

80 531441 3072000 0.363

100 1030301 6000000 0.492

120 1771561 10368000 0.679

140 2803221 16464000 0.951

160 4173281 24576000 1.323importfc_hypermeshfc_hypermesh.bench_gen(5,'orthotope',[[-1,1],[-1,1],[-1,1],[-1,1],[-1,1]],[5,10,15,20,25,27])

The output of this code is:# BENCH in dimension 5 with orthotope mesh

#d: 5

#type: orthotope

#box: [[-1, 1], [-1, 1], [-1, 1], [-1, 1], [-1, 1]]

#desc: N nq nme time(s)

5 7776 3125 0.468

10 161051 100000 0.512

15 1048576 759375 0.738

20 4084101 3200000 1.223

25 11881376 9765625 2.542

27 17210368 14348907 3.350

 类似资料: