755 research outputs found

    A domain-specific language for the hybridization and static condensation of finite element methods

    Get PDF
    In this paper, we introduce a domain-specific language (DSL) for concisely expressing localized linear algebra on finite element tensors and its integration within a code-generation framework. This DSL is general enough to facilitate the automatic generation of element-based dense linear algebra kernels necessary for the implementation of static condensation methods and local solvers for a variety of problems. We demonstrate its use for the static condensation of continuous Galerkin problems, and systems arising from hybridizing finite element discretizations. We also describe how this DSL can be used to execute local post-processing procedures to construct superconvergent approximations to mixed problems. This work also features high-level implementations of static condensation and hybrid-mixed methods as preconditioners conforming to PETSc's interface for solving linear systems. These preconditioning interfaces provide reduced operators, which are obtained from locally assembled expressions, with the necessary context to specify full solver configurations on the resulting linear systems. We validate our implementations within the context of model second-order elliptic problems. Finally, we conclude with a performance comparison highlighting the use of a hybrid-mixed method as an efficient preconditioner in a semi-implicit method for the nonlinear rotating shallow water equations

    Spud 1.0: generalising and automating the user interfaces of scientific computer models

    No full text
    The interfaces by which users specify the scenarios to be simulated by scientific computer models are frequently primitive, under-documented and ad-hoc text files which make using the model in question difficult and error-prone and significantly increase the development cost of the model. In this paper, we present a model-independent system, Spud, which formalises the specification of model input formats in terms of formal grammars. This is combined with an automated graphical user interface which guides users to create valid model inputs based on the grammar provided, and a generic options reading module, libspud, which minimises the development cost of adding model options. <br><br> Together, this provides a user friendly, well documented, self validating user interface which is applicable to a wide range of scientific models and which minimises the developer input required to maintain and extend the model interface

    Besov priors for Bayesian inverse problems

    Get PDF
    We consider the inverse problem of estimating a function uu from noisy, possibly nonlinear, observations. We adopt a Bayesian approach to the problem. This approach has a long history for inversion, dating back to 1970, and has, over the last decade, gained importance as a practical tool. However most of the existing theory has been developed for Gaussian prior measures. Recently Lassas, Saksman and Siltanen (Inv. Prob. Imag. 2009) showed how to construct Besov prior measures, based on wavelet expansions with random coefficients, and used these prior measures to study linear inverse problems. In this paper we build on this development of Besov priors to include the case of nonlinear measurements. In doing so a key technical tool, established here, is a Fernique-like theorem for Besov measures. This theorem enables us to identify appropriate conditions on the forward solution operator which, when matched to properties of the prior Besov measure, imply the well-definedness and well-posedness of the posterior measure. We then consider the application of these results to the inverse problem of finding the diffusion coefficient of an elliptic partial differential equation, given noisy measurements of its solution.Comment: 18 page

    An exact expression to calculate the derivatives of position-dependent observables in molecular simulations with flexible constraints

    Get PDF
    In this work, we introduce an algorithm to compute the derivatives of physical observables along the constrained subspace when flexible constraints are imposed on the system (i.e., constraints in which the hard coordinates are fixed to configuration-dependent values). The presented scheme is exact, it does not contain any tunable parameter, and it only requires the calculation and inversion of a sub-block of the Hessian matrix of second derivatives of the function through which the constraints are defined. We also present a practical application to the case in which the sought observables are the Euclidean coordinates of complex molecular systems, and the function whose minimization defines the constraints is the potential energy. Finally, and in order to validate the method, which, as far as we are aware, is the first of its kind in the literature, we compare it to the natural and straightforward finite-differences approach in three molecules of biological relevance: methanol, N-methyl-acetamide and a tri-glycine peptideComment: 13 pages, 8 figures, published versio

    'Aspirin resistance' or treatment non-compliance: Which is to blame for cardiovascular complications?

    Get PDF
    Aspirin is one of the 'cornerstone' drugs in our current management of cardiovascular disorders. However, despite the prescription of aspirin recurrent vascular events still occur in 10–20% of patients. These, data together with the observations of diminished antiaggregatory response to aspirin in some subjects have provided the basis of the current debate on the existence of so-called "aspirin resistance". Unfortunately, many of the tests employed to define 'aspirin resistance' lack sufficient sensitivity, specificity, and reproducibility. The prevalence of 'aspirin resistance' as defined by each test varies widely, and furthermore, the value of a single point estimate measure of aspirin resistance is questionable. The rate of 'aspirin resistance' is law if patients observed to ingest aspirin, with large proportion of patients to be pseudo-'aspirin resistant', due to non-compliance. What are the implications for clinical practice? Possible non-adherence to aspirin prescription should also be carefully considered before changing to higher aspirin doses, other antiplatelet drugs (e.g. clopidogrel) or even combination antiplatelet drug therapy. Given the multifactorial nature of atherothrombotic disease, it is not surprising that only about 25% of all cardiovascular complications can usually be prevented by any single medication. We would advocate against routine testing of platelet sensitivity to aspirin (as an attempt to look for 'aspirin resistance') but rather, to highlight the importance of clinicians and public attention to the problem of treatment non-compliance

    Sarcopenia and atherosclerotic occlusive disease: how much we know and what we need to know about this association?

    Get PDF
    Purpose/Background: Sarcopenia (decrease of muscle mass and function) has been linked with atherosclerosis [1]. The EWGSOP2 updated consensus, uses low muscle strength as the primary indicator of sarcopenia [2]. It is acknowledged that strength is better than mass for predicting adverse outcomes [2]. Handgrip strength (HGS) is a simple assessment to estimate overall muscular strength [3]. and is associated with cardiovascular mortality [4]. Objective: Analyze the relationship between HGS and atherosclerotic disease (carotid artery disease + lower extremity artery disease). Methods: Prospective observation study was conducted from January to December 2019. The clinical and demographic data was recorded. Isometric HGS was measured with an adjustable handheld dynamometer (Jamar The higher value of each arm was used to classify the patient as sarcopenic or non-sarcopenic. Definition of sarcopenia: HGS <30 kgf in men and <20 kgf in women [5]. Results: 94 patients (aged 44–86 years) were analyzed: 64 sarcopenic and 30 non sarcopenic. Groups differed in the prevalence of diabetes and smoking status (Table 1). No differences were found in the carotid parameters analyzed (Table 1). There was, a difference in the prevalence of chronic limb-threatening ischemia (CLTI) in sarcopenic versus non-sarcopenic group (23.44% versus 6.67% p = 0.046). Importantly, binary logistic regression showed that diabetes (p = 0.014), and HGS (p = 0.027) have a significant effect on CLTI (Table 2). Conclusions: No relationship was found between sarcopenia (measured by HGS) and carotid atherosclerosis, differing from other authors [1,6]. In this study, sarcopenic had a higher incident of diabetes and CLTI. Sarcopenia and diabetes are reciprocally related and may share a similar pathogenetic pathway [7

    Enhanced virtual microscopy for collaborative education

    Get PDF
    <p>Abstract</p> <p>Background</p> <p>Curricular reform efforts and a desire to use novel educational strategies that foster student collaboration are challenging the traditional microscope-based teaching of histology. Computer-based histology teaching tools and Virtual Microscopes (VM), computer-based digital slide viewers, have been shown to be effective and efficient educational strategies. We developed an open-source VM system based on the Google Maps engine to transform our histology education and introduce new teaching methods. This VM allows students and faculty to collaboratively create content, annotate slides with markers, and it is enhanced with social networking features to give the community of learners more control over the system.</p> <p>Results</p> <p>We currently have 1,037 slides in our VM system comprised of 39,386,941 individual JPEG files that take up 349 gigabytes of server storage space. Of those slides 682 are for general teaching and available to our students and the public; the remaining 355 slides are used for practical exams and have restricted access. The system has seen extensive use with 289,352 unique slide views to date. Students viewed an average of 56.3 slides per month during the histology course and accessed the system at all hours of the day. Of the 621 annotations added to 126 slides 26.2% were added by faculty and 73.8% by students. The use of the VM system reduced the amount of time faculty spent administering the course by 210 hours, but did not reduce the number of laboratory sessions or the number of required faculty. Laboratory sessions were reduced from three hours to two hours each due to the efficiencies in the workflow of the VM system.</p> <p>Conclusions</p> <p>Our virtual microscope system has been an effective solution to the challenges facing traditional histopathology laboratories and the novel needs of our revised curriculum. The web-based system allowed us to empower learners to have greater control over their content, as well as the ability to work together in collaborative groups. The VM system saved faculty time and there was no significant difference in student performance on an identical practical exam before and after its adoption. We have made the source code of our VM freely available and encourage use of the publically available slides on our website.</p

    Ulcerative colitis in northern Portugal and Galicia in Spain

    Get PDF
    BACKGROUND: Clinical and therapeutic patterns of ulcerative colitis (UC) are variable in different world regions. The purpose of this study was to examine two close independent southern European UC populations from 2 bordering countries and observe how demographic and clinical characteristics of patients can influence the severity of UC. METHODS: A cross-sectional study was conducted during a 15-month period (September 2005 to December 2006) based on data of 2 Web registries of UC patients. Patients were stratified according to the Montreal Classification and disease severity was defined by the type of treatment taken. RESULTS: A total of 1549 UC patients were included, 1008 (65%) from northern Portugal and 541 (35%) from Galicia (northwest Spain). A female predominance (57%) was observed in Portuguese patients (P < 0.001). The median age at diagnosis was 35 years and median years of disease was 7. The majority of patients (53%) were treated only with mesalamine, while 15% had taken immunosuppressant drugs, and 3% biologic treatment. Most patients in both groups were not at risk for aggressive therapy. Extensive colitis was a predictive risk factor for immunosuppression in northern Portugal and Galicia (odds ratio [OR] 2.737, 95% confidence interval [CI]: 1.846-4.058; OR 5.799, 95% CI: 3.433-9.795, respectively) and biologic treatment in Galicia (OR 6.329, 95% CI: 2.641-15.166). Younger patients presented a severe course at onset with more frequent use of immunosuppressors in both countries. CONCLUSIONS: In a large population of UC patients from two independent southern European countries, most patients did not require aggressive therapy, but extensive colitis was a clear risk factor for more severe diseas

    Lack of phenotypic and evolutionary cross-resistance against parasitoids and pathogens in Drosophila melanogaster

    Get PDF
    BackgroundWhen organisms are attacked by multiple natural enemies, the evolution of a resistance mechanism to one natural enemy will be influenced by the degree of cross-resistance to another natural enemy. Cross-resistance can be positive, when a resistance mechanism against one natural enemy also offers resistance to another; or negative, in the form of a trade-off, when an increase in resistance against one natural enemy results in a decrease in resistance against another. Using Drosophila melanogaster, an important model system for the evolution of invertebrate immunity, we test for the existence of cross-resistance against parasites and pathogens, at both a phenotypic and evolutionary level.MethodsWe used a field strain of D. melanogaster to test whether surviving parasitism by the parasitoid Asobara tabida has an effect on the resistance against Beauveria bassiana, an entomopathogenic fungus; and whether infection with the microsporidian Tubulinosema kingi has an effect on the resistance against A. tabida. We used lines selected for increased resistance to A. tabida to test whether increased parasitoid resistance has an effect on resistance against B. bassiana and T. kingi. We used lines selected for increased tolerance against B. bassiana to test whether increased fungal resistance has an effect on resistance against A. tabida.Results/ConclusionsWe found no positive cross-resistance or trade-offs in the resistance to parasites and pathogens. This is an important finding, given the use of D. melanogaster as a model system for the evolution of invertebrate immunity. The lack of any cross-resistance to parasites and pathogens, at both the phenotypic and the evolutionary level, suggests that evolution of resistance against one class of natural enemies is largely independent of evolution of resistance against the other
    corecore