An object-oriented approach is used to develop classes and frameworks for the implementation of distributed iterative equation solution. The software is implemented using the NET framework, and builds upon previous wo...
详细信息
An object-oriented approach is used to develop classes and frameworks for the implementation of distributed iterative equation solution. The software is implemented using the NET framework, and builds upon previous work by the author. Development of the framework for iterative Solution makes good use of interfaces to isolate sources of complexity. The framework is used for three different solution scenarios (i) conjugate gradient iteration oil a single matrix;(ii) conjugate gradient iteration when domain decomposition is used;and (iii) using the Schur complement approach. Moreover, the framework is used for both local and remote objects. The NET framework makes it very straightforward to program distributed applications, and the object-oriented approach greatly facilitates the software development. The framework was used in a finite element program and the speed-up results are shown. (C) 2007 Civil-Comp Ltd and Elsevier Ltd. All rights reserved.
object-oriented programming has already shown to provide numerical scientists with adequate means for improving modularity in basic linear finite element codes. It is demonstrated here that this holds for nonlinear an...
详细信息
object-oriented programming has already shown to provide numerical scientists with adequate means for improving modularity in basic linear finite element codes. It is demonstrated here that this holds for nonlinear analysis, provided that the right types of objects with adequate capabilities are defined for handling nonlinear behaviours. In order to implement nonlinear models together with alternative methods for solution control, for nonlinear equation solving and for linear equation solving, a set of three classes is introduced: Problem, Nonlinear-Solver and LinearSolver. C++ examples implementing advanced algorithms indicate that these classes achieve a fair degree of programming flexibility and reusability. They thus provide an appropriate basis for modular nonlinear finite element programming. (C) 1998 Elsevier Science Ltd. All rights reserved.
An object-oriented programming (OOP) for finite element analyses (FEA) applications to heat and mass transfer problems is described. The OOP programming approach is demonstrated by examples for three different types o...
详细信息
An object-oriented programming (OOP) for finite element analyses (FEA) applications to heat and mass transfer problems is described. The OOP programming approach is demonstrated by examples for three different types of partial different equations: Poisson equation (steady state heat transfer problem);heat conduction equation (transient problem);and Luikov equations (coupled heat and moisture transfer problems). All three FEA problems are programmed by the same two-step procedure based on a selected FEA package, DIFFPACK. Based on the OOP approach, computer programs for the above problems are systematic, brief and readable.
Using an object-oriented programming approach, ROBOOP, a robotic manipulator simulation package which is both platform and vendor independent, compares favorably against a package requiring similar coding effort, Perf...
详细信息
Using an object-oriented programming approach, ROBOOP, a robotic manipulator simulation package which is both platform and vendor independent, compares favorably against a package requiring similar coding effort, Performance tests show that with ROBOOP the class inverse dynamics of a 6 DOF robot can be computed in Less than 5ms with a Pentium 100Mhz computer.
This paper reviews some programming techniques in R that have proved useful, particularly for substantial projects. These include several versions of object-oriented programming, used in a large number of R packages. ...
详细信息
This paper reviews some programming techniques in R that have proved useful, particularly for substantial projects. These include several versions of object-oriented programming, used in a large number of R packages. The review tries to clarify the origins and ideas behind the various versions, each of which is valuable in the appropriate context. R has also been strongly influenced by the ideas of functional programming and, in particular, by the desire to combine functional with objectorientedprogramming. To clarify how this particular mix of ideas has turned out in the current R language and supporting software, the paper will first review the basic ideas behind object-oriented and functional programming, and then examine the evolution of R with these ideas providing context. Functional programming supports well-defined, defensible software giving reproducible results. object-oriented programming is the mechanism par excellence for managing complexity while keeping things simple for the user. The two paradigms have been valuable in supporting major software for fitting models to data and numerous other statistical applications. The paradigms have been adopted, and adapted, distinctively in R. Functional programming motivates much of R but R does not enforce the paradigm. object-oriented programming from a functional perspective differs from that used in non-functional languages, a distinction that needs to be emphasized to avoid confusion. R initially replicated the S language from Bell Labs, which in turn was strongly influenced by earlier program libraries. At each stage, new ideas have been added, but the previous software continues to show its influence in the design as well. Outlining the evolution will further clarify why we currently have this somewhat unusual combination of ideas.
This study explores the intricate nature of the teaching methods and instructional strategy in object-oriented programming (OOP) utilized by teachers in selected higher education institutions in the Philippines. Throu...
详细信息
ISBN:
(纸本)9798400717574
This study explores the intricate nature of the teaching methods and instructional strategy in object-oriented programming (OOP) utilized by teachers in selected higher education institutions in the Philippines. Through purposive sampling, the study includes 41 OOP teachers and offers an inquiry into their pedagogical approaches and strategies for instructing OOP to their students. The study also takes into account the resources and project requirements in OOP through an online survey. The study also looks at the student difficulties observed by the teachers while teaching OOP course. The data analysis utilized are descriptive statistics and Spearman correlation using Statistical Package for the Social Sciences and Google Colaboratory. The findings show that there is a wide range of instructional approaches, from conventional lectures to practical coding exercises. The results emphasize that hands-on coding is the preferred teaching method while giving hands-on activities is the preferred instructional strategy to develop and challenge the students' programming ability, both received an outstanding 100% response. The Spearman correlation between the used teaching methods and instructional strategies, rho (rho) of 0.42, p < 0.05, indicating a significant moderate positive relationship, suggesting that educators who utilized varied teaching methods also tend to use more instructional strategy in their teaching practices. Given the dynamic nature of programming paradigms and the wide range of student aptitudes, a customized approach to OOP teaching is necessary. The study provides practical insights to increase teaching effectiveness by highlighting important areas in the pedagogical environment that require adjustment. The study's findings have global significance in the rapidly evolving field of computer science and information technology education.
object-oriented programming has become a widely used, important programming paradigm that is supported in many different languages. C++ has become the most widely used object-oriented language and many C++ programmers...
详细信息
object-oriented programming has become a widely used, important programming paradigm that is supported in many different languages. C++ has become the most widely used object-oriented language and many C++ programmers are unfamiliar with the different approaches taken by other languages in the paradigm. This paper is intended as an introduction to a broad range of ideas in object-oriented programming. Specifically, we introduce four modern programming languages that support object-oriented programming (Oberon-2, Modula-3, Sather and Self), and show how a simple application is coded in these languages. While each of these programming languages provide support for inheritance, dynamic dispatch, code reuse, and information hiding, they do so in very different ways and with varying levels of efficiency and simplicity. The use of a simple example, based on a common programming problem, facilitates our comparison. We have coded the application in all of these languages, including C++, and we compare the compile times, object code sizes, and run times of the available implementations. Implementations of all the languages compared and all of the programs we measure are available on the Internet. Ultimately, our goal is to encourage and facilitate programmers in understanding and exploring a variety of object-oriented programming languages.
This paper exploits object-oriented implementation techniques to facilitate the development of computer codes for solving systems of coupled partial differential equations. We show how to build a simulator for equatio...
详细信息
This paper exploits object-oriented implementation techniques to facilitate the development of computer codes for solving systems of coupled partial differential equations. We show how to build a simulator for equation systems by merging independent solvers for each equation that enters the system. The main goal is to obtain a rapid, robust, and reliable software development process with extensive reuse of implemented code. Coupled heat and fluid flow in pipes is used as example for illustrating the implementation techniques. We also present some results for the particular case of temperature-dependent generalized Newtonian fluid flow between two nonconcentric cylinders. The general applicability of the approach is discussed.
There have been a number of models proposed for integrating concurrency and object-oriented programming. Unfortunately, there have been few criteria proposed for evaluating them. In focusing on issues of inheritance, ...
详细信息
There have been a number of models proposed for integrating concurrency and object-oriented programming. Unfortunately, there have been few criteria proposed for evaluating them. In focusing on issues of inheritance, designers of new concurrent object-oriented programming languages appear to have forgotten the experiences learned from over two decades of concurrent programming. In this paper we review Bloom's criteria for evaluating the expressive power of synchronisation primitives, and apply it in an object-oriented framework. We show that most of the available concurrent object-oriented programming languages lack expressive power, and that this contributes to the so-called inheritance anomaly. We then propose a new model which does address all of Bloom's criteria. Copyright (C) 1996 Elsevier Science Ltd
暂无评论