Cannot find source code for Object: <function _addBC_Forc at 0x00000289F2EC44C0>, this is possibly because of you are running Taichi in an environment that Taichi’s own inspect module cannot find the source. Please report an issue to help us fix: Issues · taichi-dev/taichi · GitHub

import taichi as ti
ti.init(cpu_max_num_threads = 12,arch=ti.cpu,default_ip=ti.i32,device_memory_GB=4, default_fp=ti.f64,debug=True)#debug=True makes error can be reported when array index out of range
def _addBC_Forc():#将自定义能量场对应的有势力增加到总力,总力预先设为0了
print (“ok”)