⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dolfin_log_post.i

📁 利用C
💻 I
字号:
%pythoncode%{def debug(message):    import traceback    file, line, func, txt = traceback.extract_stack(None, 2)[0]    __debug(file, line, func, message)%}%extend dolfin::Progress {void __add(int incr) {    for (int j=0;j<incr; ++j)         (*self)++;}void __set(real value) {    *self = value;}%pythoncode%{def __iadd__(self, other):    if isinstance(other, int):        self.__add(other)    elif isinstance(other, float):        self.__set(other)    return selfdef update(self, other):    if isinstance(other, float):        self.__set(other)%}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -