simucal的个人博客分享 http://blog.sciencenet.cn/u/simucal

博文

《仿真分析小技巧4》---print_step语句的巧妙运用

已有 1583 次阅读 2020-3-5 12:45 |系统分类:科研笔记


很高兴再一次见到大家,我是小赛!今天我们闲话不多说,立即切入主题来介绍本期要分享给大家的小技巧。

这次要给大家介绍的是scan语句下的子语句print_step。首先来看一下《General Manual》中对该语句进行的解释:

print_step is the interval used to print additional structural data during this

bias scan. By default, structural data is automatically output at the end of the

scan but print_step can be used to print additional data at specific intervals.


根据上图和以上相应叙述我们可以知道,print_step是指在扫描电压过程中我们所设置的printed data的间隔。缺省情况下,电压扫描到value_to后程序进行printed data的保存,当设置print_step=V0后,电压值每扫描V0都会进行一次printed data的保存,即printed data的保存周期为V0

下面在以0.5V为数据保存步长,扫描电压最大值为2.0V的情况下,我们举例说明print_step语句的用法:

未使用print_step语句时,需要以如下方式编辑代码:

在使用print_step语句后,我们就可以将程序中冗长scan语句进行极大的简化:

可见print_step语句的灵活运用将对我们的仿真工作起到极大的便利。那么本期的仿真小技巧就介绍到这里啦


 




https://blog.sciencenet.cn/blog-3425371-1221906.html

上一篇:助力发表世界顶级科研期刊 Nature Nanotechnology
下一篇:《涨知识啦4-金属半导体接触系列》---镜像力
收藏 IP: 60.24.12.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-27 07:16

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部