Search NASA⌕ Search

SEARCH · Search NASA

Results for “structural performance”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 919 records · Page 51

Solvent-free production of carbon materials with developed pore structure from biomass for high-performance supercapacitors

The study aimed at preparing porous carbon materials, with superhydrophilic characteristics and developed micro/mesoporous structure (CSB-800), from corn stover by a solvent-free method including pre-carbonization, ball milling, and activation. The effect of pre-carbonization, ball milling on the detailed structural composition and properties especially the hydrophilicity and porous structures were studied, and the potential application of CSB-800 as electrode in supercapacitors was also investigated. The results revealed that pre-carbonization increased the accessibility of raw materials as well as the efficiency of the ball milling with KOH, leading to small carbon particles with good dispersion behavior. Ball milling promoted the porosity, surface energy, hydrophilicity, crystallinity, and graphitization of the carbon materials. CSB-800 exhibited a high specific surface area of 2440.6 m 2 /g with developed micro and porous structures. The heteroatom nitrogen formed nitrogen-containing groups of N Q and N X, which provided faradaic pseudocapacitance when CSB-800 was used as an electrode material, and this material presented a specific capacitance of 398 F/g at 0.5 A/g in 1 M H 2 SO 4 electrolyte in a three-electrode system, while the value was 243 F/g in a two-electrode system, and the energy density reached 5.01 Wh/kg at a power density of 100 W/kg.

09 BIOMASS FUELS↗

Advantages gained by Optimized ZIRLO and AXIOM PWR cladding materials

In support of industry's demands for higher performance cladding alloy materials, the Optimized ZIRLO alloy was developed as an evolutionary improvement of the ZIRLO alloy to obtain a significant improvement in corrosion performance and hydrogen pickup while maintaining the overall robust performance of ZIRLO alloy. Currently with operating experience in over 40 plants and burnup reaching over 70 GWd/MTU, a majority of the Westinghouse-fueled US PWR fleet, covering almost all Westinghouse fuel designs, has adopted full regions of Optimized ZIRLO cladding. Across all of these applications, Optimized ZIRLO cladding has demonstrated greatly improved corrosion performance and structural stability. These demonstrated improvements offer increased operational margin and flexibility, in support of industry trends toward increased core operating fuel duties and evolving regulatory requirements such as accident scenarios. Underpinning these benefits are the extensive post irradiation exam (PIE) data obtained from both pool-side and hot-cell exams for Optimized ZIRLO cladding. Building on the successes of Optimized ZIRLO cladding, and in recognition of increasingly challenging fuel management practices, and revised LOCA regulatory rules restricting cladding hydrogen content, AXIOM cladding is being rolled out for full lead test assembly irradiation. The AXIOM alloy, Westinghouse's next generation robust alloy targeting very high fuel duties, is designed to provide improved corrosion resistance, lower hydrogen pick-up, and lower creep and growth compared to current Westinghouse products. AXIOM cladding has been irradiated in a variety of reactors worldwide, including both commercial and test reactors. Extensive PIE data is available for various burnup levels, with leading rods approaching 75 GWd/MTU. The AXIOM composition was selected to ensure enhanced operating performance on multiple fronts, including the optimum combination of corrosion resistance and wear resistance, reduced hydrogen pick-up, improved dimensional stability, and robustness in aggressive coolant chemistry conditions. The present paper provides high burnup performance data, capturing the advantages gained by introducing Optimized ZIRLO and AXIOM alloy as PWR cladding materials. (authors)

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Laser-IORT: a laser-driven source of relativistic electrons suitable for Intra-Operative Radiation Therapy of tumors

In a recent experiment [1] a high efficiency regime of stable electron acceleration to kinetic energies ranging from 10 to 40 MeV has been achieved. The main parameters of the electron bunches are comparable with those of bunches provided by commercial Radio-Frequency based Linacs currently used in Hospitals for Intra-Operative Radiation Therapy (IORT). IORT is an emerging technique applied in operating theaters during the surgical treatment of tumors. Performances and structure of a potential laser-driven Hospital accelerator are compared in detail with the ones of several commercial devices. A number of possible advantages of the laser based technique are also discussed.

43 PARTICLE ACCELERATORS↗

International X-Band Linear Collider Accelerator Structure R&D

For more than fifteen years before the International Technology Recommendation Panel (ITRP) decision in August, 2004, there were intensive R&D activities and broad international collaboration among the groups at SLAC, KEK, FNAL, LLNL and other labs for the room temperature X-Band accelerator structures. The goal was to provide an optimized design of the main linac structure for the NLC (Next Linear Collider) or GLC (Global Linear Collider). There have been two major challenges in developing X-band accelerator structures for the linear colliders. The first is to demonstrate stable, long-term operation at the high gradient (65 MV/m) that is required to optimize the machine cost. The second is to strongly suppress the beam induced long-range wakefields, which is required to achieve high luminosity. More than thirty X-band accelerator structures with various RF parameters, cavity shapes and coupler types have been fabricated and tested since 1989. A summary of the main achievements and experiences are presented in this talk including the structure design, manufacturing techniques, high power performance, and other structure related issues. Also, the new progress in collaborating with the CLIC, high gradient structures and X-Band structure applications for RF deflectors and others are briefly introduced.

43 PARTICLE ACCELERATORS↗

CHARACTERIZATION OF SPATIAL HETEROGENIETIES IN DETECTOR GRADE CDZNTE

Synthetic Cd{sub 1-x}Zn{sub x}Te or 'CZT' crystals are highly suitable for the room temperature-based spectroscopy of gamma radiation. Structural/morphological heterogeneities within CZT, such as secondary phases that are thought to consist of Te metal and have detrimental impacts on detector performance. In this study, we used electron and X-ray-based imaging techniques to examine heterogeneous properties of detector grade CZT. Using experimental analytical techniques rather than arbitrary theoretical definitions, our study identifies two dominant secondary phase morphologies. The first consists of numerous empty, 20 {micro} m wide, pyramidal bodies (tetrahedra) or 'negative' crystals with trace quantities of particulate residue that exist as 65 nm sized particles containing Si, Cd, Zn, and Te. The other consists of 20 {micro}m hexagonal-shaped bodies, which are composites of metallic Te layers that contain a teardrop-shaped core of amorphous and polycrystalline CdZnTe which finally surrounds an irregular-shaped void.

36 MATERIALS SCIENCE↗

Reducing Uncertainty in Hydrodynamic Modeling of ATR Experiments Via Flow Testing, Validation, and Optimization

The development, characterization, and qualification testing of nuclear fuel at Idaho National Laboratory’s Advanced Test Reactor (ATR) requires extensive design and analysis activities prior to the insertion of an irradiation experiment in-pile. Significant effort is made in the design and development phase of all in-pile experiments to ensure that the maximum feasible impacts of all necessary experimental requirements are satisfied. The advancement of fuel, cladding, and in-reactor materials technology in recent years has introduced complexities associated with the design and construct of in-pile experiments necessitating deeper understanding of boundary conditions and increasingly comprehensive observations resulting from the experiment. Each unique experiment must be assessed for neutronics response, thermal/hydraulic/hydrodynamic performance, and structural integrity. This is accomplished either analytically, computationally, or experimentally, or some combination thereof, prior to insertion into the ATR. The various effects are interrelated to various degrees, such as the case with the experiment temperature affecting the thermal cross section of the fuel or the increased temperature of the experiment’s materials reducing the mechanical strength of the assemblies. Additionally, the feedback between the experiment’s response to a reactor transient could alter the neutron flux profile of the reactor during the transient. Each experiment must therefore undergo a barrage of analyses to assure the ATR operational safety review committee that the insertion and irradiation of the experiment will not detrimentally affect the safe operational envelope of the reactor. In many cases, the nuclear fuel being tested can be double-encapsulated to ensure safety margins are adequately addressed, whereas failed fuel would be encased in a protective capsule. In other cases, the experiments can be inserted in a self-contained loop that passes through the reactor core, remaining isolated from the primary coolant. In the case of research reactor fuel, however, the fuel plates must be tested in direct contact with the reactor coolant, and being fuel designed for high neutron fluxes, they are inherently power-dense plates. The combination of plate geometry, high-power density, and direct contact with primary coolant creates a scenario where the neutronic/thermomechanic/hydrodynamic characteristics of the fuel plates are tightly coupled, necessitating as complete characterization as possible to support the safety and programmatic assessments, thus enabling a successful experiment. This paper explores the efforts of the U.S. High-Performance Research Reactor program to thermomechanically/hydromechanically characterize the program’s wide variety of experiments, which range from stacks of miniplate capsules to full-sized, geometrically representative curved plates. Special attention is given to instances where the combination of experimental characterization and analytical assessment has reduced uncertainties of the safety margins, allowing experiments to be irradiated that would otherwise not have passed the rigorous qualification process for irradiation in the ATR. In some cases, the combined processes have exposed flow and heat transfer characteristics that would have been missed using historical methods, which allows for more accurate and representative postirradiation assessments.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Giant piezoelectricity in oxide thin films with nanopillar structure

High-performance piezoelectric materials are critical components for electromechanical sensors and actuators. For more than 60 years, the main strategy for obtaining large piezoelectric response has been to construct multiphase boundaries, where nanoscale domains with local structural and polar heterogeneity are formed, by tuning complex chemical compositions. We used a different strategy to emulate such local heterogeneity by forming nanopillar regions in perovskite oxide thin films. We obtained a giant effective piezoelectric coefficient d 33 , f * of ~1098 picometers per volt with a high Curie temperature of ~450°C. Our lead-free composition of sodium-deficient sodium niobate contains only three elements (Na, Nb, and O). The formation of local heterogeneity with nanopillars in the perovskite structure could be the basis for a general approach to designing and optimizing various functional materials.

Science & Technology - Other Topics↗

Effects of rapid thermal annealing on the properties of HfO{sub 2}/La{sub 2}O{sub 3} nanolaminate films deposited by plasma enhanced atomic layer deposition

In this work, HfO{sub 2}/La{sub 2}O{sub 3} nanolaminate films were deposited on Si substrates by plasma enhanced atomic layer deposition with in situ plasma treatment. Different annealing treatments were adopted to change films structure and performance. The upper HfO{sub 2} layers in HfO{sub 2}/La{sub 2}O{sub 3} nanolaminates were easily crystallized after annealing at 800 °C, while all the La{sub 2}O{sub 3} layers kept amorphous. X-ray photoelectron spectroscopy results indicated that LaO(OH) and La(OH){sub 3} peaks became weak, H{sub 2}O molecules in laminates evaporated during high-temperature annealing. Band diagram analysis showed that valence band offset and band gap widened after 800 °C annealing. Annealing, especially 800 °C annealing, had gentle effect on leakage current, but could obviously change capacitance and permittivity due to tetragonal and cubic phase formed in the HfO{sub 2} film.

36 MATERIALS SCIENCE↗

FINITE ELEMENT SIMULATION FOR STRUCTURAL RESPONSE OF U7MO DISPERSION FUEL PLATES VIA FLUID-THERMAL-STRUCTURAL INTERACTION

This article presents numerical simulation of dispersion fuel mini plates via fluid–thermal–structural interaction performed by commercial finite element solver COMSOL Multiphysics to identify initial mechanical response under actual operating conditions. Since fuel particles are dispersed in Aluminum matrix, and temperatures during the fabrication process reach to the melting temperature of the Aluminum matrix, stress/strain characteristics of the domain cannot be reproduced by using simplified models and assumptions. Therefore, fabrication induced stresses were considered and simulated via image based modeling techniques with the consideration of the high temperature material data. In order to identify the residuals over the U7Mo particles and the Aluminum matrix, a representative SEM image was employed to construct a microstructure based thermo-elasto-plastic FE model. Once residuals and plastic strains were identified in micro-scale, solution was used as initial condition for subsequent multiphysics simulations at the continuum level. Furthermore, since solid, thermal and fluid properties are temperature dependent and temperature field is a function of the velocity field of the coolant, coupled multiphysics simulations were considered. First, velocity and pressure fields of the coolant were computed via fluidstructural interaction. Computed solution for velocity fields were used to identify the temperature distribution on the coolant and on the fuel plate via fluid-thermal interaction. Finally, temperature fields and residual stresses were used to obtain the stress field of the plates via fluid-thermal-structural interaction.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Microcoleus (Cyanobacteria) form watershed-wide populations without strong gradients in population structure

The relative importance of separation by distance and by environment to population genetic diversity can be conveniently tested in river networks, where these two drivers are often independently distributed over space. To evaluate the importance of dispersal and environmental conditions in shaping microbial population structures, we performed genome-resolved metagenomic analyses of benthic Microcoleus -dominated cyanobacterial mats collected in the Eel and Russian River networks (California, USA). The 64 Microcoleus genomes were clustered into three species that shared >96.5% average nucleotide identity (ANI). Most mats were dominated by one strain, but minor alleles within mats were often shared, even over large spatial distances (>300 km). Within the most common Microcoleus species, the ANI between the dominant strains within mats decreased with increasing spatial separation. However, over shorter spatial distances (tens of kilometres), mats from different subwatersheds had lower ANI than mats from the same subwatershed, suggesting that at shorter spatial distances environmental differences between subwatersheds in factors like canopy cover, conductivity, and mean annual temperature decreases ANI. Since mats in smaller creeks had similar levels of nucleotide diversity (π) as mats in larger downstream subwatersheds, within-mat genetic diversity does not appear to depend on the downstream accumulation of upstream-derived strains. The four-gamete test and sequence length bias suggest recombination occurs between almost all strains within each species, even between populations separated by large distances or living in different habitats. Overall, our results show that, despite some isolation by distance and environmental conditions, sufficient gene-flow occurs among cyanobacterial strains to prevent either driver from producing distinctive population structures across the watershed.

59 BASIC BIOLOGICAL SCIENCES↗

Improved cycle stability and high-rate capability of LiNbO 3 -coated Li 3 VO 4 as anode material for lithium-ion battery

Lithium vanadate (Li 3 VO 4 ) has garnered considerable attention as an alternative negative electrode material for non-aqueous lithium-ion batteries due to its high capacity, energy efficiency, and stable discharge voltage. Nonetheless, the Li 3 VO 4 material displays a low rate capability, attributed mainly to its poor intrinsic electronic conductivity. Here, in this study, we report the synthesis of lithium niobate LiNbO 3 -coated Li 3 VO 4 (LVO@LNO) using a one-pot sol-gel method. The resulting LVO@LNO demonstrates a high reversible capacity of approximately 530 mAh/g, which is more than double that of free Li 3 VO 4 . To explore the effect of the LNO coating process on the morphological and structural properties, Raman, XRD, operando XRD, XPS, SEM and HTEM analyses were conducted. To explain the enhancement of electronic conductivity in our modified material after a LiNbO 3 coating, we conducted an Ex-Situ electrochemical impedance (EIS) and Density Functional Theory (DFT) computational study. Additionally, we designed a full cell utilizing a 1 wt% LNO-coated LVO anode and NMC-811 cathode. The cell yielded an output voltage of approximately 2.8 V with a high initial specific capacity of 350 mAh/g versus to the anode, at 1C with a capacity retention of 85 % after 100 cycles.

25 ENERGY STORAGE↗

Nondestructive Measurement of Residual Strain in Connecting Rods Using Neutrons

Increasing the strength of materials is effective in reducing weight and boosting structural part performance, but there are cases where the residual strain generated during the process of manufacturing of high-strength materials results in a decline of durability. It is therefore important to understand how the residual strain in a manufactured component changes due to processing conditions. In the case of a connecting rod, because the strain load on the connecting rod rib sections is high, it is necessary to clearly understand the distribution of strain in the ribs. However, because residual strain is generally measured by using X-ray diffractometers or strain gauges, measurements are limited to the surface layer of the parts. Neutron beams, however, have a higher penetration depth than X-rays, allowing for strain measurement in the bulk material. The research discussed within this article consists of nondestructive residual strain measurements in the interior of connecting rods using the Second Generation Neutron Residual Stress Mapping Facility (NRSF2) at Oak Ridge National Laboratory (ORNL), measuring the Fe (211) diffraction peak position of the ferrite phase. The interior strain distribution of the connecting rod, which was prepared under different manufacturing processes, was revealed. By the visualization of interior strains, clear understandings of differences in various processing conditions were obtained. In addition, it is known that the peak width, which is also obtained during measurement, is suggestive of the size of crystallites in the structure; however, the peak width can additionally be caused by microstresses and material dislocations.

36 MATERIALS SCIENCE↗

Non-Destructive Measurement of Residual Strain in Connecting Rods Using Neutrons

Increasing the strength of materials is effective in reducing weight and boosting structural part performance, but there are cases in where the residual strain generated during the process of manufacturing of high-strength materials results in a decline of durability. It is therefore important to understand how the residual strain in a manufactured component changes due to processing conditions. In the case of a connecting rod, because the strain load on the connecting rod rib sections is high, it is necessary to clearly understand the distribution of strain in the ribs. However, because residual strain is generally measured by using X-ray diffractometers or strain gauges, measurements are limited to the surface layer of the parts. Neutron beams, however, have a higher penetration depth than X-rays, allowing for strain measurement in the bulk material. The research discussed within this paper consists of non-destructive residual strain measurements in the interior of connecting rods using the 2nd Generation Neutron Residual Stress Mapping Facility (NRSF2) at Oak Ridge National Laboratory, measuring the Fe (211) diffraction peak position of the ferrite phase. The interior strain distribution of connecting rod, which prepared under different manufacturing processes, was revealed. By the visualization of interior strains, clear understandings of differences in various processing conditions were obtained. In addition, it is known that the peak width, which is also obtained during measurement, is suggestive of the size of crystallites in the structure; however the peak width can additionally be caused by microstresses and material dislocations.

Ikeda, Tomohiro↗

Theoretical study of InN/GaN short period superlattices to mimic disordered alloys

We carried out ab initio calculations of the (InN){sub n}∕(GaN){sub m} short period superlattices using the LDA-1/2 method in order to obtain approximate quasiparticle electronic structures. We performed calculations for several short period superlattices respecting the concentrations of 33%, 50%, 66%, and 80% of InN, considering different straining possibilities due to lattice mismatches. For the majority of configurations, we find relevant changes on the valence and conduction profiles around bandgap with position plane-by-plane along the superlattices growth direction, with the presence of intrinsic electric fields in the materials, in the case, when strain is applied. Our results show that for small numbers n and m of layers, the band edge states extend over the entire superlattice. For larger n and/or m, the edge states tend to localise on particular subtype layers (InN or GaN). For the former cases, the bandgaps are very close to the random alloys with the same concentrations, providing potential good materials for optoelectronic devices based on nitrides.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Cost Efficient and Highly Weather-Resistant Solar Panel Backsheet Produced through Continuous Co-Extrusion Processing

The efficient generation and delivery of ‘clean energy” through photovoltaic (PV) technology relies heavily on the cost, performance and reliability of solar panels, along with the individual components used in assembly of those panels. In order to continue towards the Department of Energy’s (DOE) goals of driving costs down, the lifetime of high-output power generation equipment (i.e. solar modules) must be extended to reduce costs associated with power output degradation and replacement of failed or degraded panels. One of the major sources of module failures in the past 30 years has been the failure of the solar panel backsheet. Failure of this component causes severe output losses due to oxidation and yellowing of the module while creating safety concerns as the major electrical insulation of the module is compromised. Tomark-Worthen LLC was formed in 2012 with the goal of designing and manufacturing novel PV backsheets and encapsulants that would be produced in the United States of America and exceed expectations of domestic and international module producers. These backsheets would improve upon known backsheet design failures (i.e. Isovoltaic’s AAA backsheet) and create domestic manufacturing jobs in the PV sector. This goal became a reality with a first-generation product in 2018 and now, with the support of the DOE, Tomark-Worthen has launched a second-generation product known as PhotoMark® Reflections™ 205-3 and 360-3. This 2+ year effort began in late 2017 with a screening of potential polymeric materials and backsheet structural designs. Performance evaluations of each material provided the necessary data needed to select the proper material combinations and move forward into the design of the manufacturing process. These decisions were made by teaming with a local university, well-respected government laboratories, and private research organizations who provided the tools necessary to predict long-term performance of these materials in much shorter periods of time. Once the go/no-go criteria were met at the mid-point of the project, the effort transitioned to predicting 30+ year performance, achieving certifications, and improving manufacturing efficiencies designed to lower costs in order to be competitive in a cost-driven market. Major project accomplishments include recognition of the new backsheet by Underwriters Laboratories (UL) and international certification for 1000V and 1500V modules by TUV Sud. Both 1000V and 1500V products have been proven on several module manufacturing lines and initial customer orders have been received by both domestic and international module producers. Accelerated exposure testing has shown that the performance of this backsheet exceeds the prior polyamide-based backsheet known to fail in the field. Cost-models and initial customer orders have shown the ability to produce this backsheet at a cost acceptable to many domestic manufacturers, while International costs for standard backsheet remains extremely low. Tomark-Worthen remains one of the only U.S. companies manufacturing backsheet domestically and this has drawn interest from many domestic module manufacturers looking to improve their material supply logistics by avoiding long lead times and custom’s headaches while avoiding current tariffs on Chinese-made components. Along with the launch of a new PV backsheet, this project has provided a critical deliverable to the PV R&D community. This deliverable is the knowledge that not all polyamide-containing backsheets are doomed to failure as the earlier versions did. There has been a fear amongst the PV community to consider these materials due to the failure of one design. This effort has brought a new level of interest to the scientific community as it has been shown that polyamides can be used successfully in a well-designed backsheet. As we move forward from this project, we are excited to see how backsheet technology and manufacturing in the U.S. will continue to progress and grow.

14 SOLAR ENERGY↗

Control of hierarchical polymer mechanics with bioinspired metal-coordination dynamics

In conventional polymer materials, mechanical performance is traditionally engineered via material structure, using motifs such as polymer molecular weight, polymer branching, or copolymer-block design1. Here, by means of a model system of 4-arm poly(ethylene glycol) hydrogels crosslinked with multiple, kinetically distinct dynamic metal-ligand coordinate complexes, we show that polymer materials with decoupled spatial structure and mechanical performance can be designed. By tuning the relative concentration of two types of metal-ligand crosslinks, we demonstrate control over the material’s mechanical hierarchy of energy-dissipating modes under dynamic mechanical loading, and therefore the ability to engineer a priori the viscoelastic properties of these materials by controlling the types of crosslinks rather than by modifying the polymer itself. This strategy to decouple material mechanics from structure may inform the design of soft materials for use in complex mechanical environments.

36 MATERIALS SCIENCE↗

Thermal-Hydraulic Analysis of an Experimental Reactor Cavity Cooling System with Air. Part I: Experiments; Part II: Separate Effects Tests and Modeling

This experimental study investigates the thermal hydraulic behavior and the heat removal performance for a scaled Reactor Cavity Cooling System (RCCS) with air. A quarter-scale RCCS facility was designed and built based on a full-scale General Atomics (GA) RCCS design concept for the Modular High Temperature Gas Reactor (MHTGR). The GA RCCS is a passive cooling system that draws in air to use as the cooling fluid to remove heat radiated from the reactor pressure vessel to the air-cooled riser tubes and discharged the heated air into the atmosphere. Scaling laws were used to preserve key aspects and to maintain similarity. The scaled air RCCS facility at UW-Madison is a quarter-scale reduced length experiment housing six riser ducts that represent a 9.5° sector slice of the full-scale GA air RCCS concept. Radiant heaters were used to simulate the heat radiation from the reactor pressure vessel. The maximum power that can be achieved with the radiant heaters is 40 kW with a peak heat flux of 25 kW per meter squared. The quarter-scale RCCS was run under different heat loading cases and operated successfully. Instabilities were observed in some experiments in which one of the two exhaust ducts experienced a flow reversal for a period of time. The data and analysis presented show that the RCCS has promising potential to be a decay heat removal system during an accident scenario.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Teuchos C++ memory management classes, idioms, and related topics, the complete reference : a comprehensive strategy for safe and efficient memory management in C++ for high performance computing.

The ubiquitous use of raw pointers in higher-level code is the primary cause of all memory usage problems and memory leaks in C++ programs. This paper describes what might be considered a radical approach to the problem which is to encapsulate the use of all raw pointers and all raw calls to new and delete in higher-level C++ code. Instead, a set of cooperating template classes developed in the Trilinos package Teuchos are used to encapsulate every use of raw C++ pointers in every use case where it appears in high-level code. Included in the set of memory management classes is the typical reference-counted smart pointer class similar to boost::shared ptr (and therefore C++0x std::shared ptr). However, what is missing in boost and the new standard library are non-reference counted classes for remaining use cases where raw C++ pointers would need to be used. These classes have a debug build mode where nearly all programmer errors are caught and gracefully reported at runtime. The default optimized build mode strips all runtime checks and allows the code to perform as efficiently as raw C++ pointers with reasonable usage. Also included is a novel approach for dealing with the circular references problem that imparts little extra overhead and is almost completely invisible to most of the code (unlike the boost and therefore C++0x approach). Rather than being a radical approach, encapsulating all raw C++ pointers is simply the logical progression of a trend in the C++ development and standards community that started with std::auto ptr and is continued (but not finished) with std::shared ptr in C++0x. Using the Teuchos reference-counted memory management classes allows one to remove unnecessary constraints in the use of objects by removing arbitrary lifetime ordering constraints which are a type of unnecessary coupling [23]. The code one writes with these classes will be more likely to be correct on first writing, will be less likely to contain silent (but deadly) memory usage errors, and will be much more robust to later refactoring and maintenance. The level of debug-mode runtime checking provided by the Teuchos memory management classes is stronger in many respects than what is provided by memory checking tools like Valgrind and Purify while being much less expensive. However, tools like Valgrind and Purify perform a number of types of checks (like usage of uninitialized memory) that makes these tools very valuable and therefore complement the Teuchos memory management debug-mode runtime checking. The Teuchos memory management classes and idioms largely address the technical issues in resolving the fragile built-in C++ memory management model (with the exception of circular references which has no easy solution but can be managed as discussed). All that remains is to teach these classes and idioms and expand their usage in C++ codes. The long-term viability of C++ as a usable and productive language depends on it. Otherwise, if C++ is no safer than C, then is the greater complexity of C++ worth what one gets as extra features? Given that C is smaller and easier to learn than C++ and since most programmers don't know object-orientation (or templates or X, Y, and Z features of C++) all that well anyway, then what really are most programmers getting extra out of C++ that would outweigh the extra complexity of C++ over C? C++ zealots will argue this point but the reality is that C++ popularity has peaked and is becoming less popular while the popularity of C has remained fairly stable over the last decade22. Idioms like are advocated in this paper can help to avert this trend but it will require wide community buy-in and a change in the way C++ is taught in order to have the greatest impact. To make these programs more secure, compiler vendors or static analysis tools (e.g. klocwork23) could implement a preprocessor-like language similar to OpenMP24 that would allow the programmer to declare (in comments) that certain blocks of code should be ''pointer-free'' or allow smaller blocks to be 'pointers allowed'. This would significantly improve the robustness of code that uses the memory management classes described here.

99 GENERAL AND MISCELLANEOUS↗