A scheme for general purposed FDTD visual scientific computing software is introduced in this paper using object-oriented design (OOD) method. By abstracting the parameters of FDTD grids to an individual class and sep...A scheme for general purposed FDTD visual scientific computing software is introduced in this paper using object-oriented design (OOD) method. By abstracting the parameters of FDTD grids to an individual class and separating from the iteration procedure, the visual software can be adapted to more comprehensive computing problems. Real-time gray degree graphic and wave curve of the results can be achieved using DirectX technique. The special difference equation and data structure in dispersive medium are considered, and the peculiarity of parameters in perfectly matched layer are also discussed.展开更多
传统的面向对象设计方法在某些方面还存在着不足,如高耦合、低内聚、适应需求变化能力差等问题。设计模式理论提出软件系统的质量可以客观地衡量,优秀设计之间存在相似之处,即所谓的模式。设计模式更好地展现了面向对象设计原则,是更为...传统的面向对象设计方法在某些方面还存在着不足,如高耦合、低内聚、适应需求变化能力差等问题。设计模式理论提出软件系统的质量可以客观地衡量,优秀设计之间存在相似之处,即所谓的模式。设计模式更好地展现了面向对象设计原则,是更为优秀的面向对象设计方法。具体论述了我们在面向对象的矿产资源评价专家系统结构设计中所采用的几种主要设计模式及其优点,如适用于不同资源评价体系接口的Temp late M ethod模式,适用于不同资源量计算方法的Strategy模式和适用于兼容不同专家系统的B ridge模式等,同时指出不同的设计模式适用于不同的场合。展开更多
基金This project was supported by the National Natural Science Foundation (No. 69831020).
文摘A scheme for general purposed FDTD visual scientific computing software is introduced in this paper using object-oriented design (OOD) method. By abstracting the parameters of FDTD grids to an individual class and separating from the iteration procedure, the visual software can be adapted to more comprehensive computing problems. Real-time gray degree graphic and wave curve of the results can be achieved using DirectX technique. The special difference equation and data structure in dispersive medium are considered, and the peculiarity of parameters in perfectly matched layer are also discussed.
文摘传统的面向对象设计方法在某些方面还存在着不足,如高耦合、低内聚、适应需求变化能力差等问题。设计模式理论提出软件系统的质量可以客观地衡量,优秀设计之间存在相似之处,即所谓的模式。设计模式更好地展现了面向对象设计原则,是更为优秀的面向对象设计方法。具体论述了我们在面向对象的矿产资源评价专家系统结构设计中所采用的几种主要设计模式及其优点,如适用于不同资源评价体系接口的Temp late M ethod模式,适用于不同资源量计算方法的Strategy模式和适用于兼容不同专家系统的B ridge模式等,同时指出不同的设计模式适用于不同的场合。