The personal computer hardware marketplace has grown rapidly in recent years. Many software projects, as a cost-cutting measure, are buying "off-the-self" items to meet heir hardware requirements. Almost all...
详细信息
ISBN:
(纸本)9781581131277
The personal computer hardware marketplace has grown rapidly in recent years. Many software projects, as a cost-cutting measure, are buying "off-the-self" items to meet heir hardware requirements. Almost all of the device drivers for these devices are written in the cprogramminglanguage. However, the selection of the programminglanguage for the project does not need to be confined to c. This paper details the powerful tools in Ada 95, such as pragmas to interface code written in other programminglanguages to Ada 95 applications. An example of a generic real-time Ada 95 application interfacing with a low-level c serial device driver is used to aid the reader in the concepts and idea's discussed in the paper.
A tool for computing a jitter/stability metric used in NASA requirements statements is developed. An efficient algorithm is given for computing this metric. Two ways of implementing it an a computer are discussed. One...
详细信息
A tool for computing a jitter/stability metric used in NASA requirements statements is developed. An efficient algorithm is given for computing this metric. Two ways of implementing it an a computer are discussed. One is optimized for computational speed;the other sacrifices some speed to conserve memory. Timing studies are given to show that the improvement of computation times using the present algorithm over previously existing techniques can run to several orders of magnitude and that previous techniques were so costly that the present algorithm represents enabling technology. Further comparisons show that the memory-conservative implementation runs at about half the speed of the fast implementation but can cut the major data storage requirement of the fast implementation by 95-99%, making the algorithm implementable on much smaller computers, such as personal computers, than it would be otherwise. Software for both implementations is included in version 2.0 of the NASA time- and frequency-domain analysis program PLATSIM.
SimRoot, a geometric simulation model of plant root systems, is described. This model employs a data structure titled the Extensible Tree, which is well suited to the type of data required to model root systems. As im...
详细信息
SimRoot, a geometric simulation model of plant root systems, is described. This model employs a data structure titled the Extensible Tree, which is well suited to the type of data required to model root systems. As implemented on Silicon Graphics workstations, the data structure and visualization code provides for continuous viewing of the simulated root system during growth. SimRoot differs from existing models in the explicit treatment of spatial heterogeneity of physiological processes in the root system, and by inclusion of a kinematic treatment of root axes. Examples are provided of the utility of the model in estimating the fractal geometry of simulated root systems in 1, 2, and 3 dimensional space. We envision continued development of the model to incorporate competition from neighboring root systems, linkage with crop simulation models to simulate root-shoot interactions, explicit treatment of soil heterogeneity, and plasticity of root responses to soil factors such as presence of mycorrhizal associations.
A robust control strategy for a passive-jointed robot using sliding mode control is investigated. Instead of an actuator, the passive joint has a brake to reduce the weight and energy consumption of the robot. While t...
详细信息
A robust control strategy for a passive-jointed robot using sliding mode control is investigated. Instead of an actuator, the passive joint has a brake to reduce the weight and energy consumption of the robot. While the brake is released, the passive joint is indirectly controlled by the motion of the active joint using the dynamiccoupling of the robot manipulators, However, there are uncertainties associated with parameters in the links as well as in the operation of the actuator and the brake, To ensure minimum variation from the desired mode of operation in the presence of these uncertainties, a sliding mode control algorithm is developed and the performance evaluated. From simulation results, the sliding mode scheme is superior to a simple computed torque method in terms of passive-joint tracking performance and robustness. A two-link manipulator was designed and built to evaluate the proposed control scheme experimentally. The robot consists of one active joint and one passive joint and operates in a horizontal plane. The planar manipulator was controlled from a 32-bit 80486 microcomputer via DT2811 input/output board. The experimental results indicate that the sliding mode controller, when compared to the computed torque controller, reduces the tracking error by 50% and improves the robustness to variations in payloads.
Lisp, one of the oldest higher-level programminglanguages, has rarely been used for fast numerical (floating-point) computation We explore the benefits of common Lisp, an emerging new language standard with some exce...
详细信息
Lisp, one of the oldest higher-level programminglanguages, has rarely been used for fast numerical (floating-point) computation We explore the benefits of common Lisp, an emerging new language standard with some excellent implementations, for numerical computation. We compare it to Fortran in terms of the speed of efficiency of generated code, as well as the structure and convenience of the language. There are a surprising number of advantages to Lisp, especially in cases where a mixture of symbolic and numeric processing is needed.
A computer program has been developed for the Monte carlo simulation of molecular flux impingement on simple spacecraft surfaces due to self- and ambient scattering of outgassing molecules. The outgassing and ambient ...
详细信息
A computer program has been developed for the Monte carlo simulation of molecular flux impingement on simple spacecraft surfaces due to self- and ambient scattering of outgassing molecules. The outgassing and ambient molecules are assumed to be elastic spheres with a Maxwellian velocity distribution. Binary elasticcollision processes have been adopted in a hard-sphere collision model. A test-particle Monte carlo methodology is used to simulate sequentially the motions, collisions, and trajectories of the outgassing molecules inside a control volume by means of uniformly distributed random numbers. A unique Monte carlo computational scheme has been developed that reduces the computer processing time by three to four orders of magnitude for a typical outgassing problem without introducing additional assumptions or compromising the solution accuracy. Monte carlo results are obtained in the form of backscatter flux distribution and return flux ratios, for various sample sizes, control-volume sizes, and outgassing and ambient flow conditions. The cPU time for a typical run is about 2 to 4 min on a VAX-8700 computer, and less than about 2 to 4 s on a cray X-MP system.
Reactive systems are interactive programs that react continuously to sequences of activations coming from the external world. Reactive programming leads to a new programming style where one programs in terms of reacti...
详细信息
Reactive systems are interactive programs that react continuously to sequences of activations coming from the external world. Reactive programming leads to a new programming style where one programs in terms of reactions to activations and reasons in a logic of instants. This paper describes an extension of the cprogramminglanguagecalled Rc (for 'Reactive c') to program reactive systems. The language Rc is described, then some programming examples are given to illustrate the reactive approach. The main Rc notions come directly from the Esterel synchronous programminglanguage. Finally, the Esterel and Rclanguages are compared.
作者:
Wilmoth, Richard G.NASA
Langley Res Ctr Div Space Syst Aerothermodynam Branch Hampton VA 23665 USA
A method for executing a direct simulation Monte carlo (DSMc) analysis using parallel processing is described. The method is based on using domain decomposition to distribute the work load among multiple processors, a...
详细信息
A method for executing a direct simulation Monte carlo (DSMc) analysis using parallel processing is described. The method is based on using domain decomposition to distribute the work load among multiple processors, and the DSMc analysis is performed completely in parallel. Message passing is used to transfer molecules between processors and to provide the synchronization necessary for the correct physical simulation. Benchmark problems are described for testing the method, and results are presented that demonstrate the performance on two commercially available multicomputers. The results show that reasonable parallel speedup and efficiency can be obtained if the problem is sized properly to the number of processors. It is projected that, with a massively parallel system, performance exceeding that of current supercomputers is possible.
Theoretical methods in chemistry frequently involve the tedious solution of complex algebraic equations. Then the solutions, sometimes still quite complex, are usually hand-coded by a programmer into an efficient comp...
详细信息
Theoretical methods in chemistry frequently involve the tedious solution of complex algebraic equations. Then the solutions, sometimes still quite complex, are usually hand-coded by a programmer into an efficient computer language. During this procedure it is all too easy to make an error which will go undetected. A better approach would be to introduce the computer at an even earlier stage in the development of the theory by programming it to first solve the set of equations and then compile the solution into an efficient computer language. In this research a program has been written in the cprogramminglanguage which can efficiently compute the quasivacuum expectation value of a product of creation and annihilation operators and scalar arrays. The terms in the resulting expressions are then transformed into a canonical form so that all equivalent terms can be combined. Finally, the equations are compiled into a simple representation which can be rapidly interpreted by a Fortran program. This symbol manipulator has been applied to open-shell coupled cluster theory. Two coupled cluster methods using high-spin open-shell references are presented. In one of these methods, the cluster operator contains the unitary group generators, and products thereof, which generate all single and double excitations with respect to the reference. The other uses a simplified cluster operator which generates equations that must be spin-projected. These methods are compared to other descriptions of electron correlation for the cH2 singlet-triplet splitting and the NH2 potential energy surface.
Recognizing the growing popularity and demand for scientific or numerical libraries in the ccomputer language, and the shortage of systematic methods for the increasingly important non-linear stochastic systems, this...
详细信息
Recognizing the growing popularity and demand for scientific or numerical libraries in the ccomputer language, and the shortage of systematic methods for the increasingly important non-linear stochastic systems, this article attempts to present a method to approximate the solution of systems governed by non-linear stochastic differential equations and the corresponding algorithm and computer code in the clanguage. It was found that the clanguage offers promising possibilities for the stochastic systems modeler. It is hoped the use of c for the analysis of these type of problems will be encouraged.
暂无评论