C++ and Fortran 90 are compared as object-oriented languages for use in scientific computing, C++ is a full-featured, object-oriented language that provides support for inheritance and polymorphism. Fortran 90 can mim...
详细信息
C++ and Fortran 90 are compared as object-oriented languages for use in scientific computing, C++ is a full-featured, object-oriented language that provides support for inheritance and polymorphism. Fortran 90 can mimic some object-oriented features through combinations of its TYPE and MODULE syntax elements, but it lacks inheritance and thus does not permit code reuse to the same extent as C++. Each language has other useful features unrelated to object-oriented programming, but the additional features of Fortran 90 can be included in C++ through the development of class libraries. in contrast, including the additional features of C++ in Fortran 90 would require further development of the Fortran 90 syntax. A critical feature missing in Fortran 90 is the template, which allows C++ programmers to build portable, reusable code and to dramatically improve the efficiency of the evaluation of complex expressions involving user-defined data types. (C) 1997 Elsevier Science B.V.
In object-oriented programs built in layers, an object at a higher level of abstraction is implemented by objects at lower levels of abstraction. It is usually crucial to correctness that a lower-level object not be s...
详细信息
In object-oriented programs built in layers, an object at a higher level of abstraction is implemented by objects at lower levels of abstraction. It is usually crucial to correctness that a lower-level object not be shared among several higher-level objects. This paper unveils some difficulties in writing procedure specifications strong enough to guarantee that a lower-level object can be used in the implementation of another object at a higher level of abstraction. To overcome these difficulties, the paper presents virginity, a convenient way of specifying that an object is not globally reachable and thus can safely be used in the implementation of a higher-level abstraction. (C) 1999 Elsevier Science B.V. All rights reserved.
This paper presents selective checkpointing and rollback schemes for MT-GO (multithreaded, object-oriented) programs. There is a need for checkpointing mechanisms that are more sophisticated than the traditional proce...
详细信息
This paper presents selective checkpointing and rollback schemes for MT-GO (multithreaded, object-oriented) programs. There is a need for checkpointing mechanisms that are more sophisticated than the traditional process-level checkpointing. The program model, theoretical foundations, and an implementation of the selective checkpointing & rollback schemes are described. The usefulness of the schemes is demonstrated by implementing a higher level fault-tolerance scheme of conversations using them. The performance implications are studied on a prototype internet e-commerce server. The use of the selective schemes in the prototype server showed an appreciable reduction in the loss of work in the presence of faults. Benefits are more pronounced for a larger level of concurrency in the server. The selective scheme usually outperforms the hypothetical zero-cost global scheme in the presence of faults, vis-a-vis completion times. The experiments also show the vast difference between the sizes of selective checkpoints and global checkpoints. The concurrent sessions scheme (based on the concept of relaxed conversations) required 160 checkpoints in less than an hour. Traditionally, such a scheme would be considered outrageous, but the selective schemes still improve performance in the presence of faults. The main contribution of this paper is that it brings forward an OO (object-oriented) approach to checkpointing. Not only does the program model separate program state from process state, but it allows one to identify the state associated with each individual thread of the MT program. The prototype showed that this abstract knowledge about the program state can be made available at runtime in the form of suitable data structures. The availability of this information at runtime fuels the design of selective schemes.
A node-based data structure is developed for use in either two-dimensional (2-D) or three-dimensional (3-D) finite element method (FEM) problems. This grid uses quadrilateral (2-D) or hexahedral (3-D) elements and is ...
详细信息
A node-based data structure is developed for use in either two-dimensional (2-D) or three-dimensional (3-D) finite element method (FEM) problems. This grid uses quadrilateral (2-D) or hexahedral (3-D) elements and is dynamically adaptive according to the 1-irregular requirement for refinement-derefinement. Implemented in C + +,the grid consists of node objects linked with pointers to neighboring node objects. The algorithm used to traverse the grid starts at the first node of the grid and constructs each FEM element by following the links of the nodes. This algorithm uses a stack to maintain the correct order of elements during the grid traversals. Because the elements and their connectivity are not permanently stored, the computer storage requirements for the grid are reduced significantly in 3-D compared with an element-based approach. Although the node-based approach may increase the CPU-time and complexity to access an element, it reduces the complexity and time required to refine and derefine an element. This implementation is applicable to many FEM domains. (C) 1998 Published by Elsevier Science Ltd. All rights reserved.
This research work aims to develop an intelligent constraint-based system that enables designers to consider at the early stages of the design process all activities associated with product's life cycle. One of th...
详细信息
This research work aims to develop an intelligent constraint-based system that enables designers to consider at the early stages of the design process all activities associated with product's life cycle. One of the most important aspects of these activities is the evaluation and optimisation of manufacturing processes that require various type of information from the different aspects of product's life cycle. This research article discusses the development of a prototype system for manufacturing process optimisation using a combination of both mathematical methods and constraint-programming techniques. This approach enables designers to evaluate and optimise feasible manufacturing professes in a consistent manner as early as possible during the design process. This helps in avoiding unexpected design iterations that wastage a great amount of time and effort, leading to longer lead-time. The development process has passed through the five major stages: Firstly, an intelligent constraint-based design system for concurrent product and process design has been developed. Secondly, a manufacturing process optimisation module has been constructed. Thirdly, the product features, processes, cost, time and constraints to be used for carrying out various design tasks has been represented in the format of constraints, frames, objects, and rules. Fourthly, the process optimisation and evaluation rules for the selection of feasible processes for complex features, and finally, the information management system that ensures consistency in information exchange and decision making activities have been developed. (C) 1999 Published by Elsevier Science Ltd. All rights reserved.
Minimum cost wavelength-path routing and wavelength allocation of multiwavelength alloptical transport networks using a genetic-algorithm (GA)/heuristic hybrid approach is described. A cost model is adopted which inco...
详细信息
Minimum cost wavelength-path routing and wavelength allocation of multiwavelength alloptical transport networks using a genetic-algorithm (GA)/heuristic hybrid approach is described. A cost model is adopted which incorporates a dependency on link wavelength requirements. The hybrid algorithm developed uses an object-oriented representation of networks, and incorporates four operators: path mutation, single-point crossover, reroute and shift-out. In addition, an operator-probability adaptation mechanism is employed to improve operator productivity. Experimental results from seven fifteen-node test networks, obtained using a tool for optical network optimisation, modelling and design (NOMaD), suggest the GA/heuristic hybrid approach provides superior results compared to three recent wavelength-allocation heuristics, except when the network cost depends most heavily on wavelength requirement.
The Common object Request Broker Architecture (CORBA), is a major industrial standard for distributed object-based applications. Today's large-scale CORBA applications have to deal with object crashes, node failur...
详细信息
The Common object Request Broker Architecture (CORBA), is a major industrial standard for distributed object-based applications. Today's large-scale CORBA applications have to deal with object crashes, node failures, networks partitioning and unpredictable communication delays. Existing efforts to enhance the CORBA reliability can be roughly categorized into three approaches: integration approach, interception approach and service approach. Each approach has its own merits and prices. In this paper, we propose a service approach solution called object Fault-tolerance Service (OFS). Solutions that adopt the service approach usually specify their service in terms of CORBA IDL interfaces. The implementations of such solutions in general do not modify the ORE infrastructure or IDL language mappings, and thus applications developed with those systems appear to be more portable. OFS differs from other service approach solutions in that OFS does not assume underlying support of reliable group communication. Applications with advance registration can rely on OFS for detection of object and node crashes, and for customized recovery. In this paper, we first present the service specification of OFS. We then give the system architecture of an OFS implementation. This OFS implementation is developed on the Solaris 2.5 platform and with IONA's Orbix 2.0. The performance evaluation of the OFS implementation is also presented. The preliminary experiments indicate that OFS overhead is minimal and client objects experience little response delay when a service object is under OFS surveillance. (C) 1999 Elsevier Science Inc. All rights reserved.
This paper describes the application of an object-oriented Paradigm (OOP) to the implementation of a hyperelastic constitutive e driver. The C++ programming language used in our implementation lends to an efficient an...
详细信息
This paper describes the application of an object-oriented Paradigm (OOP) to the implementation of a hyperelastic constitutive e driver. The C++ programming language used in our implementation lends to an efficient and readable program. It will be shown that object-oriented implementation naturally follows from analytical development in isotropic hyperelasticity. Examples of classes developed and results from a number of large deformation hyperelastic numerical test are presented.
In this paper, we present an object-oriented application framework to support the development of evolving distributed systems. The framework combines concepts of the object-oriented paradigm with those of architectura...
详细信息
In this paper, we present an object-oriented application framework to support the development of evolving distributed systems. The framework combines concepts of the object-oriented paradigm with those of architectural design. The result is a framework which supports extensible and reusable configurations of distributed components. The framework addresses the problem of evolution by allowing the addition, replacement and extension of components of a configuration, Evolution is also possible at run time, where a configuration can change dynamically depending on a particular event. The paper outlines the fundamental aspects of our framework and presents a case study, which illustrates its application. (C) 1999 Elsevier Science B.V. All rights reserved.
Monte Carlo simulation is a very powerful tool in understanding performances of positron tomographs as well as in assessing image reconstruction algorithms and their implementations. We present an object-oriented Mont...
详细信息
Monte Carlo simulation is a very powerful tool in understanding performances of positron tomographs as well as in assessing image reconstruction algorithms and their implementations. We present an object-oriented Monte Carlo simulator developed for 3D positron tomography. Results from phantom simulation studies including absorption and scattering of the photons in the field-of-view are presented. Scatter fractions determined from these studies are in good agreement with measured scatter fractions published in the literature. Limitations and future prospects are discussed. (C) 1999 Elsevier Science Ireland Ltd. All rights reserved.
暂无评论