你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
16 行
384 B
Python
16 行
384 B
Python
"""gprMax.__main__: executed when gprMax directory is called as script."""
|
|
|
|
from .gprMax import main
|
|
main()
|
|
|
|
# Code profiling
|
|
# Time profiling
|
|
#import cProfile, pstats
|
|
#cProfile.run('main()','stats')
|
|
#p = pstats.Stats('stats')
|
|
#p.sort_stats('time').print_stats(50)
|
|
|
|
# Memory profiling - use in gprMax.py
|
|
# from memory profiler import profile
|
|
# add @profile before function to profile
|