414 research outputs found

    Static Analysis of Run-Time Errors in Embedded Real-Time Parallel C Programs

    Get PDF
    We present a static analysis by Abstract Interpretation to check for run-time errors in parallel and multi-threaded C programs. Following our work on Astr\'ee, we focus on embedded critical programs without recursion nor dynamic memory allocation, but extend the analysis to a static set of threads communicating implicitly through a shared memory and explicitly using a finite set of mutual exclusion locks, and scheduled according to a real-time scheduling policy and fixed priorities. Our method is thread-modular. It is based on a slightly modified non-parallel analysis that, when analyzing a thread, applies and enriches an abstract set of thread interferences. An iterator then re-analyzes each thread in turn until interferences stabilize. We prove the soundness of our method with respect to the sequential consistency semantics, but also with respect to a reasonable weakly consistent memory semantics. We also show how to take into account mutual exclusion and thread priorities through a partitioning over an abstraction of the scheduler state. We present preliminary experimental results analyzing an industrial program with our prototype, Th\'es\'ee, and demonstrate the scalability of our approach

    Effects of P-wave Annihilation on the Angular Power Spectrum of Extragalactic Gamma-rays from Dark Matter Annihilation

    Get PDF
    We present a formalism for estimating the angular power spectrum of extragalactic gamma-rays produced by dark matter annihilating with any general velocity-dependent cross section. The relevant density and velocity distribution of dark matter is modeled as an ensemble of smooth, universal, rigid, disjoint, spherical halos with distribution and universal properties constrained by simulation data. We apply this formalism to theories of dark matter with p-wave annihilation, for which the relative-velocity-weighted annihilation cross section is \sigma v=a+bv^2. We determine that this significantly increases the gamma-ray power if b/a >> 10^6. The effect of p-wave annihilation on the angular power spectrum is very similar for the sample of particle physics models we explored, suggesting that the important effect for a given b/a is largely determined by the cosmic dark matter distribution. If the dark matter relic from strong p-wave theories is thermally produced, the intensities of annihilation gamma-rays are strongly p-wave suppressed, making them difficult to observe. If an angular power spectrum consistent with a strong p-wave were to be observed, it would likely indicate non-thermal production of dark matter in the early Universe.Comment: 20 pages, 3 figure

    Increasing the Reliability of Adaptive Quadrature Using Explicit Interpolants

    Full text link
    We present two new adaptive quadrature routines. Both routines differ from previously published algorithms in many aspects, most significantly in how they represent the integrand, how they treat non-numerical values of the integrand, how they deal with improper divergent integrals and how they estimate the integration error. The main focus of these improvements is to increase the reliability of the algorithms without significantly impacting their efficiency. Both algorithms are implemented in Matlab and tested using both the "families" suggested by Lyness and Kaganove and the battery test used by Gander and Gautschi and Kahaner. They are shown to be more reliable, albeit in some cases less efficient, than other commonly-used adaptive integrators.Comment: 32 pages, submitted to ACM Transactions on Mathematical Softwar

    A hybrid memory kernel approach for condensed phase non-adiabatic dynamics

    Full text link
    The spin-boson model is a simplified Hamiltonian often used to study non-adiabatic dynamics in large condensed phase systems, even though it has not been solved in a fully analytic fashion. Herein, we present an exact analytic expression for the dynamics of the spin-boson model in the infinitely slow bath limit and generalize it to approximate dynamics for faster baths. We achieve the latter by developing a hybrid approach that combines the exact slow-bath result with the popular NIBA method to generate a memory kernel that is formally exact to second order in the diabatic coupling but also contains higher-order contributions approximated from the second order term alone. This kernel has the same computational complexity as NIBA, but is found to yield dramatically superior dynamics in regimes where NIBA breaks down---such as systems with large diabatic coupling or energy bias. This indicates that this hybrid approach could be used to cheaply incorporate higher order effects into second order methods, and could potentially be generalized to develop alternate kernel resummation schemes

    Numerically improved computational scheme for the optical conductivity tensor in layered systems

    Full text link
    The contour integration technique applied to calculate the optical conductivity tensor at finite temperatures in the case of layered systems within the framework of the spin-polarized relativistic screened Korringa-Kohn-Rostoker band structure method is improved from the computational point of view by applying the Gauss-Konrod quadrature for the integrals along the different parts of the contour and by designing a cumulative special points scheme for two-dimensional Brillouin zone integrals corresponding to cubic systems.Comment: 17 pages, LaTeX + 4 figures (Encapsulated PostScript), submitted to J. Phys.: Condensed Matter (19 Sept. 2000

    Typing Copyless Message Passing

    Get PDF
    We present a calculus that models a form of process interaction based on copyless message passing, in the style of Singularity OS. The calculus is equipped with a type system ensuring that well-typed processes are free from memory faults, memory leaks, and communication errors. The type system is essentially linear, but we show that linearity alone is inadequate, because it leaves room for scenarios where well-typed processes leak significant amounts of memory. We address these problems basing the type system upon an original variant of session types.Comment: 50 page

    Exact Analysis of Level-Crossing Statistics for (d+1)-Dimensional Fluctuating Surfaces

    Full text link
    We carry out an exact analysis of the average frequency ναxi+\nu_{\alpha x_i}^+ in the direction xix_i of positive-slope crossing of a given level α\alpha such that, h(x,t)hˉ=αh({\bf x},t)-\bar{h}=\alpha, of growing surfaces in spatial dimension dd. Here, h(x,t)h({\bf x},t) is the surface height at time tt, and hˉ\bar{h} is its mean value. We analyze the problem when the surface growth dynamics is governed by the Kardar-Parisi-Zhang (KPZ) equation without surface tension, in the time regime prior to appearance of cusp singularities (sharp valleys), as well as in the random deposition (RD) model. The total number N+N^+ of such level-crossings with positive slope in all the directions is then shown to scale with time as td/2t^{d/2} for both the KPZ equation and the RD model.Comment: 22 pages, 3 figure

    Ecdysteroid Hormones Link the Juvenile Environment to Alternative Adult Life Histories in a Seasonal Insect

    Get PDF
    The conditional expression of alternative life strategies is a widespread feature of animal life and a pivotal adaptation to life in seasonal environments. To optimally match suites of traits to seasonally changing ecological opportunities, animals living in seasonal environments need mechanisms linking information on environmental quality to resource allocation decisions. The butterfly Bicyclus anynana expresses alternative adult life histories in the alternating wet and dry seasons of its habitat as endpoints of divergent developmental pathways triggered by seasonal variation in preadult temperature. Pupal ecdysteroid hormone titers are correlated with the seasonal environment, but whether they play a functional role in coordinating the coupling of adult traits in the alternative life histories is unknown. Here, we show that manipulating pupal ecdysteroid levels is sufficient to mimic in direction and magnitude the shifts in adult reproductive resource allocation normally induced by seasonal temperature. Crucially, this allocation shift is accompanied by changes in ecologically relevant traits, including timing of reproduction, life span, and starvation resistance. Together, our results support a functional role for ecdysteroids during development in mediating strategic reproductive investment decisions in response to predictive indicators of environmental quality. This study provides a physiological mechanism for adaptive developmental plasticity, allowing organisms to cope with variable environments.European Union’s FP6 Programme (Network of Excellence LifeSpan FP6/036894), FCT fellowship (SFRH/BD/45486/2008)

    Recoil following Wiktor stent implantation for restenotic lesions of coronary arteries

    Get PDF
    The purpose of this study was to determine acute recoil of the vessel wall immediately after Wiktor stent implantation in native coronary arteries of 77 consecutive patients and to assess whether there was compression or “late recoil” of the stent itself at long-term follow-up. Furthermore, the relationship between recoil and a number of clinical, angiographic, and procedural variables was studied in addition to the relation between acute recoil renarrowing or restenosis was assessed. All angiograms were analyzed with the Cardiovascular Angiography Analysis System using automated edge detection. Acute recoil was defined by the difference between the mean diameter of the fully expanded balloon on which the stent was mounted and the mean diameter of the stented segment. Late recoil was calculated by comparing the mean diameter of the stent itself immediately after implantation and at follow-up without opacification of the vessel. Acute recoil amounted to 0.25 ± 0.32 mm or 8.2%. Multivariate analysis identified sex (coefficient = –0.20, p = 0.04) and stent/artery ratio (coefficient = 0.99, p = 0.0001) as the only independent predictors of acute recoil. “Late recoil” of the stent itself was not observed. The overall difference between the mean diameter of the stent itself immediately after implantation and at follow-up was –0.15 ± 0.33 mm, suggesting an overall increase in diameter of 5.0%. There was no relation between acute recoil and late restenosis. On the contrary, there was a trend towards a greater degree of recoil in patients without restenosis. Moreover, linear regression analysis disclosed a weak but negative correlation between acute recoil and a loss in minimal luminal diameter (coefficient: –0.55, p = 0.04). The Wiktor stent effectively scaffolds the instrumented vessel. Only a minimal amount of acute recoil was noted, which did not contribute to late luminal renarrowing or restenosis. In addition, no late compression of the stent itself was observed. These data suggest that tissue ingrowth into the lumen of the stented segment is the main cause of late luminal renarrowing after stent implantation. © 1994 Wiley-Liss,Inc.

    Angiographic predictors of recurrence of restenosis after Wiktor stent implantation in native coronary arteries

    Get PDF
    Intracoronary stenting has been proposed as an adjunct to balloon angioplasty to improve the immediate and long-term results. However, late luminal narrowing has been reported following the implantation of a variety of stents. One of the studies conducted with the Wiktor stent is a prospective registry designed to evaluate the feasibility, safety and efficacy of elective stent implantation in patients with documented restenosis of a native coronary artery. To identify angiographic variables predicting recurrence of restenosis, the angiograms of the first 91 patients with successful stent implantation and without clinical evidence of (sub)acute thrombotic stent occlusion were analyzed with the Computer Assisted Angiographic Analysis System using automated edge detection. The incidence of restenosis was 44% by patient and 45% by stent according to the 0.72 mm criterion, and 30% by patient and 29% by stent according to the 50% diameter stenosis criterion. The risk for restenosis for several angiographic variables was determined using an univariate analysis and is expressed as odds ratio with corresponding confidence interval. The only statistically significant predictor of restenosis was the relative gain when it exceeded 0.48 using the 0.72 mm criterion (odds ratio 2.7, 95% confidence interval 1.1-6.4). Furthermore, the relation between the relative gain (increase in minimal luminal diameter normalized to vessel size) as angiographic index of vessel wall injury and relative loss (decrease in minimal luminal diameter normalized to vessel size) as index of neointimal thickening was analyzed using a linear regression analysis. When using the categorical approach to address restenosis, there is an increased risk for recurrent restenosis when the relative gain exceeds 0.48. The continuous approach underscores this concept by indicating a weak but positive relation between the relative gain and relative loss
    corecore