Science topic

C++ - Science topic

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.
Filters
All publications are displayed by default. Use this filter to view only publications with full-texts.
Publications related to C++ (10,000)
Sorted by most recent
Conference Paper
Full-text available
AI is demanding an evergrowing portion of environmental resources. Despite their potential impact on AI environmental sustainability, the role that programming languages play in AI (in)efficiency is to date still unknown. With this study, we aim to understand the impact that programming languages can have on AI environmental sustainability. To achi...
Article
Full-text available
We present HTMPC, a Heavily Templated C++ library for large-scale simulations implementing multi-particle collision dynamics (MPC), a particle-based mesoscale hydrodynamic simulation method. The implementation is plugin-based, and designed for distributed computing over an arbitrary number of MPI ranks. By abstracting the hardware-dependent parts o...
Method
Full-text available
Implementation of HF algorithm (C++lib for cluster)
Research
Full-text available
Pollution poses one of the most significant threats to our environment , with various types of pollution impacting the Earth's well-being. In the context of our project, we primarily address air pollution, which is a major concern. Air pollution is responsible for causing numerous health issues in both humans and animals, including respiratory prob...
Article
Full-text available
The tensor cross interpolation (TCI) algorithm is a rank-revealing algorithm for decomposing low-rank, high-dimensional tensors into tensor trains/matrix product states (MPS). TCI learns a compact MPS representation of the entire object from a tiny training data set. Once obtained, the large existing MPS toolbox provides exponentially fast algorith...
Preprint
Full-text available
We present the Python Tree Tensor Network package (pyTTN) for the evaluation of dynamical properties of closed and open quantum systems that makes use of Tree Tensor Network (TTN), or equivalently the multi-layer multiconfiguration time-dependent Hartree (ML-MCTDH), based representations of wavefunctions. This package includes several features allo...
Preprint
Full-text available
Efficient simulation of large-scale quantum algorithms is pivotal yet challenging due to the exponential growth of the state space inherent in both Sch\"odinger-based and Feynman-based methods. While Feynman-based simulators can be highly efficient when the quantum state is sparse, these simulators often do not fully support the simulation of large...
Preprint
Full-text available
Global hydrological models (GHMs) improve our understanding of water flows and storage on the continents and have undergone significant advancements in process representation over the past four decades. However, as research questions and GHMs become increasingly complex, maintaining and enhancing existing model codes efficiently has become challeng...
Article
Full-text available
The purpose of the Compiler is generally to translate the program from the source language into the target language, and the Compiler is going through several phases And one of these is a phase Lexical Analysis, and this phase is used in different types in computer applications, including processing important texts, extracting information and Ident...
Preprint
Full-text available
Large language models (LLMs) have demonstrated remarkable capabilities on a broad spectrum of downstream tasks. Within the realm of software engineering, specialized tasks on code, such as program repair, present unique challenges, necessitating fine-tuning to unlock state-of-the-art performance. Fine-tuning approaches proposed in the literature fo...
Presentation
Full-text available
Article
Full-text available
В статье рассматриваются методы оптимизации алгоритмов сортировки в языке программирования C++. Особое внимание уделяется анализу эффективности различных подходов и их применимости в реальных задачах программной разработки. Приводятся примеры современных методик оптимизации, включая параллельные вычисления и алгоритмы с учётом архитектуры современн...
Article
Full-text available
We introduce a tensor network library designed for classical and quantum physics simulations called Cytnx (pronounced as sci-tens). This library provides an almost identical interface and syntax for both C++ and Python, allowing users to effortlessly switch between the two languages. Aiming at a quick learning process for new users of tensor networ...
Preprint
Full-text available
We present compact two-loop QCD corrections in the leading-color approximation for the production of an electroweak vector boson, $V = \{W^{\pm}, Z,\gamma^\star\}$, in association with two light jets ($Vjj$) at hadron colliders. Leptonic decays of the electroweak boson are included at the amplitude level. Working in the analytic-reconstruction appr...
Preprint
Full-text available
We present Shamrock, a performance portable framework developed in C++17 with the SYCL programming standard, tailored for numerical astrophysics on Exascale architectures. The core of Shamrock is an accelerated parallel tree with negligible construction time, whose efficiency is based on binary algebra. The Smoothed Particle Hydrodynamics algorithm...
Preprint
Full-text available
It is often difficult to write code that you can ensure will be executed in the right order when programing for parallel compute tasks. Due to the way that today's parallel compute hardware, primarily Graphical Processing Units (GPUs), allows you to write code. It is easy to write code that may result in one thread reading or modifying data before...
Article
Full-text available
В наше время с развитием цифровых технологий появляется все больше различных языков программирования, что нашло отражение в множестве мемов. Анализ показал, что самой популярной тематикой мемов стало сравнение языков программирования (23%). Наиболее часто в 46% мемов встречаются языки программирования С++ и python. Самым рассматриваемым аспектом ст...
Preprint
Full-text available
Julia is a mature general-purpose programming language, with a large ecosystem of libraries and more than 12000 third-party packages, which specifically targets scientific computing. As a language, Julia is as dynamic, interactive, and accessible as Python with NumPy, but achieves run-time performance on par with C/C++. In this paper, we describe t...
Preprint
Full-text available
Jet reconstruction remains a critical task in the analysis of data from HEP colliders. We describe in this paper a new, highly performant, Julia package for jet reconstruction, JetReconstruction.jl, which integrates into the growing ecosystem of Julia packages for HEP. With this package users can run sequential reconstruction algorithms for jets. I...
Technical Report
Full-text available
Bench-marking Performance and Scalability of C++ Algorithms like sort() in different libraries like STL, oneAPI (& SYCL) & CUDA and with different execution policies like std::execution::seq, std::execution::par, std::execution::unseq & std::execution::par_unseq. In this technical report we run std::sort() oneapi::dpl::sort() thrust::sort() on CPU,...
Article
Full-text available
A bstract We present the double-virtual amplitudes contributing to the production of a Higgs boson in association with a $$ b\overline{b} $$ b b ¯ pair at the Large Hadron Collider. We perform the computation within the five-flavour scheme, which employs massless bottom quarks and finite bottom-Yukawa coupling, taking into account all the colour st...
Preprint
Full-text available
Program synthesis with Large Language Models (LLMs) suffers from a "near-miss syndrome": the generated code closely resembles a correct solution but fails unit tests due to minor errors. We address this with a multi-agent framework called Synthesize, Execute, Instruct, Debug, and Repair (SEIDR). Effectively applying SEIDR to instruction-tuned LLMs...
Article
Full-text available
This work aims to study and improve thermal efficiency of a parabolic dish collector (PDC) having a spiral tube heat receiver to produce hot water for several daily purposes. This study consists of two main steps. The first part contains the visual analysis of the parabolic center using the free SolTrace software. In the second part, we used the co...
Article
Full-text available
Ice-free land comprises 26 % of the Earth's surface and holds liquid water that delineates ecosystems, affects global geochemical cycling, and modulates sea levels. However, we currently lack the capacity to simulate and predict these terrestrial water changes across the full range of relevant spatial (watershed to global) and temporal (monthly to...
Preprint
Full-text available
Deep Learning (DL) has emerged as a powerful tool for vulnerability detection, often outperforming traditional solutions. However, developing effective DL models requires large amounts of real-world data, which can be difficult to obtain in sufficient quantities. To address this challenge, DiverseVul dataset has been curated as the largest dataset...
Article
Full-text available
This article provides an in-depth introduction to the concept of queues, one of the most essential data structures in computer science, and demonstrates its implementation using C++. Targeted at beginners, the guide covers the fundamental operations of a queue, including enqueue, dequeue, and size management. Through a practical example—a student m...
Article
Full-text available
Background Recent advancements in brachytherapy necessitate precise dose calculations, transitioning from the traditional TG43 planning methods to the more sophisticated TG186 recommendations. However, the availability of accessible and efficient Monte Carlo (MC) codes capable of interfacing with clinical data for these advanced calculations remain...
Article
Full-text available
This paper presents MultiGLICE (Multi class Graph Neural Network with Program Slice), a model for static code analysis to detect security vulnerabilities. MultiGLICE extends our previous GLICE model with multiclass detection for a large number of vulnerabilities across multiple programming languages. It builds upon the earlier SySeVR and FUNDED mod...
Article
Full-text available
This study introduces a computational framework for simulating the self-assembly of diblock copolymers using a novel peridynamic (PD)-enhanced Fourier spectral method (FSM). Diblock copolymers, composed of two distinct polymer blocks, are capable of forming nanostructured domains with applications in nanoelectronics, photonics, and advanced membran...
Article
Full-text available
APEIRON is a framework encompassing the general architecture of a distributed heterogeneous processing platform and the corresponding software stack, from the low level device drivers up to the high level programming model. Developers can define scalable applications that can be deployed on a multi-FPGA system coding at high level: the APEIRON comm...
Preprint
Full-text available
Low-luminosity Active Galactic Nuclei (AGN) are believed to be surrounded by a collisionless, highly magnetized accretion flow. As a result, Particle-in-Cell simulations are the best tools to study the immediate vicinity of the event horizons of these supermassive black holes. We present a GPU-based general relativistic particle-in-cell (GRPIC) cod...
Article
Full-text available
In the container loading problem (CLP), the construction of packing patterns is driven by the maximization of the volume occupied, and comprises several constraints such as loading feasibility, weight balance, cargo stability, operational safety, material handling, and the prevention of cargo damage during container shipping. Previous works introdu...
Research
Full-text available
Space, Earth, and Station (Instrument) fixed Coordinate systems have an important role in the field of Geodesy where celestial and terrestrial techniques are used. Space Fixed Coordinate Systems (SFCS), Earth Fixed Coordinate Systems (EFCS), and Instrument Fixed Coordinate Systems (IFCS) are called Celestial, Terrestrial, and Station CSs respective...
Preprint
Full-text available
We introduce QCLAB, an object-oriented MATLAB toolbox for constructing, representing, and simulating quantum circuits. Designed with an emphasis on numerical stability, efficiency, and performance, QCLAB provides a reliable platform for prototyping and testing quantum algorithms. For advanced performance needs, QCLAB++ serves as a complementary C++...
Preprint
Full-text available
This paper investigates whether a collective of large language models (LLMs), each guided by unique attention context prompts, can outperform an individual LLM at generating efficient C++ sorting algorithms. By assigning each 'single-perspective attention' LLM a specific sorting algorithm context and contrasting their outputs against 'blind' (no co...
Article
Full-text available
IntroductionThe absence of a unique patient identifier in the Brazilian hospital administrative database prevents the identification of hospital episodes with multiple hospitalisations of the same patient. Objectives This study aims to evaluate the information gain by using a computer routine to identify acute Obstetrics hospital episodes and its i...
Preprint
Full-text available
Factor graph optimization serves as a fundamental framework for robotic perception, enabling applications such as pose estimation, simultaneous localization and mapping (SLAM), structure-from-motion (SfM), and situational awareness. Traditionally, these methods solve unconstrained least squares problems using algorithms such as Gauss-Newton and Lev...
Preprint
Full-text available
DataPix4 (Data Acquisition for Timepix4 Applications) is a new C++ framework for the management of Timepix4 ASIC, a multi-purpose hybrid pixel detector designed at CERN. Timepix4 consists of a matrix of 448x512 pixels that can be connected to several types of sensors, to obtain a pixelated detector suitable for different applications. DataPix4 can...
Preprint
Full-text available
This study presents a comprehensive performance comparison between Rust (both safe and unsafe implementations) and C++ in system programming through real-world benchmarks of a key-value store implementation and server performance testing. We focus on critical metrics including execution speed, memory safety, scalability, and server response charact...
Article
Full-text available
Pollution poses one of the most significant threats to our environment, with various types of pollution impacting the Earth’s well-being. In the context of our project, we primarily address air pollution, which is a major concern. Air pollution is responsible for causing numerous health issues in both humans and animals, including respiratory probl...
Conference Paper
Full-text available
In shale reservoirs, the prevalent tight porosity induces significant capillary pressure (Pc), markedly altering fluid behavior from bulk conditions. Numerical convergence and methodologicalissues were reported for phase equilibrium calculations (PECs) incorporating Pc in nano-pore media. Thus, it is imperative to develop an efficient and robust PE...
Article
Full-text available
We present an automatic approach for generating learning problems for teaching introductory programming in different programming languages. The current implementation allows input and output in the three most popular programming languages for teaching introductory programming courses: C++, Java, and Python. The generator stores learning problems us...
Preprint
Full-text available
SISSO (sure-independence screening and sparsifying operator) is an artificial intelligence (AI) method based on symbolic regression and compressed sensing widely used in materials science research. SISSO++ is its C++ implementation that employs MPI and OpenMP for parallelization, rendering it well-suited for high-performance computing (HPC) environ...
Conference Paper
Full-text available
Resumen-Este artículo presenta los avances de la implementación de la homotopía de continuación con seguimiento hiperesférico en una sola dimensión, utilizando un microcontrolador PIC de ocho bits. El objetivo del estudio es la representación gráfica del seguimiento hiperesférico en una pantalla grafica de cuarzo líquido de 128x64 píxeles, junto co...
Article
Full-text available
Формулювання проблеми. Стаття описує практичний досвід впровадження авторської онлайн платформи VirtualLaboratories в освітній процес закладу загальної середньої освіти. VirtualLaboratories – це освітня платформа для навчання програмування, яка спрямована на використання штучного інтелекту для автоматизації окремих процесів написання коду, оцінюван...
Conference Paper
Full-text available
We propose backface distance functions, an implicit volume representation that improves the convergence rate of sphere tracing. We employ the closest signed distances to backfacing surface points, introducing a relaxed representation of signed distance functions. The backface and signed distance functions coincide within the volume. For external po...
Preprint
Full-text available
Formal program specifications in the form of preconditions, postconditions, and class invariants have several benefits for the construction and maintenance of programs. They not only aid in program understanding due to their unambiguous semantics but can also be enforced dynamically (or even statically when the language supports a formal verifier)....
Preprint
Full-text available
The goal of causal discovery is to learn a directed acyclic graph from data. One of the most well-known methods for this problem is Greedy Equivalence Search (GES). GES searches for the graph by incrementally and greedily adding or removing edges to maximize a model selection criterion. It has strong theoretical guarantees on infinite data but can...
Preprint
Full-text available
Code watermarking identifies AI-generated code by embedding patterns into the code during generation. Effective watermarking requires meeting two key conditions: the watermark should be reliably detectable, and the code should retain its original functionality. However, existing methods often modify tokens that are critical for program logic, such...
Preprint
Full-text available
There has been an increasing demand for longer-timescale molecular dynamics (MD) simulations of larger biomolecular systems. To meet these demands, using the C++ API of OpenMM, we developed a fast and flexible MD software, OpenCafeMol, for residue-resolution protein and lipid models that shows high performance on graphics processing unit (GPU) mach...
Article
Full-text available
Parallel and signal processing patterns for large-scale radio data applications have been captured with a new domain-specific language (DSL), OptiSDR. The intermediate representations (IR) of the code are optimized at the frontend with the Delite compiler targeted for heterogeneous computing architecture (HCA). The design flow begins at the abstrac...
Article
Full-text available
With ITER’s re-baseline, the Electron Cyclotron Heating system has become of even higher importance with the multiple purposes of plasma heating, current drive, and instability suppression. ITER’s Electron Cyclotron Heating system is based on several gyrotrons, such as radio-frequency sources supposed to provide on-demand power in the order of mega...
Conference Paper
Full-text available
This study presents a comprehensive performance comparison between Rust (both safe and unsafe implementations) and C++ in system programming through real-world benchmarks of a key-value store implementation and server performance testing. We focus on critical metrics including execution speed, memory safety, scalability, and server response charact...
Article
Full-text available
In 2021, a team of developers from the Deutscher Wetterdienst (DWD), the German Aerospace Center (Deutsches Zentrum für Luft- und Raumfahrt, DLR), the German Climate Computing Center (Deutsches Klimarechenzentrum, DKRZ), and the Forschungszentrum Jülich (FZJ) started the ICOsahedral Non-hydrostatic (ICON) model system Community Interface (ComIn) pr...
Preprint
Full-text available
We present a GPU-native mesh adaptation procedure that incorporates a complex geometry represented with a triangle mesh within a primary Cartesian computational grid organized as a forest of octrees. A C++/CUDA program implements the procedure for execution on a single GPU as part of a new module with the AGAL framework, which was originally develo...
Preprint
Full-text available
In this paper, we obtain various series and asymptotic expansions involving the modified Bessel function of the second kind for the normal inverse Gaussian cumulative distribution function. The new expansions accelerate computations, complementing the numerical integration methods implemented in statistical software packages. We also provide a deta...
Preprint
Full-text available
In digital timber construction, scanning technologies and point cloud data are widely used due to the accessibility of affordable 3D sensors, photogrammetry, and user-friendly CAD tools. While typically not employed for accuracy checks in timber fabrication due to the precision of standard machinery, experimental research and prototyping with joine...
Preprint
Full-text available
Parallel programming often requires developers to handle complex computational tasks that can yield many errors in its development cycle. Rust is a performant low-level language that promises memory safety guarantees with its compiler, making it an attractive option for HPC application developers. We identified that the Rust ecosystem could benefit...
Article
Full-text available
Cet article présente une approche d’optimisation des ressources et de répartition des tâches en utilisant la programmation linéaire dans divers processus industriels et de services. En analysant l’équilibre entre différentes catégories de travailleurs—superviseurs, réparateurs et livreurs, l’objectif est de maximiser le nombre de tâches accomplies...
Preprint
Full-text available
Voronoi diagrams are essential geometrical structures with numerous applications, particularly astrophysics-driven finite volume methods. While serial algorithms for constructing these entities are well-established, parallel construction remains challenging. This is especially true in distributed memory systems, where each host manages only a subse...
Article
Full-text available
This paper presents an approach to resource optimization and task distribution using linear programming in various industrial and service processes. By analyzing the balance between different categories of workers—supervisors, operators, and couriers, we aim to maximize the number of tasks completed daily while minimizing operational bottlenecks....
Preprint
Full-text available
This paper introduces madupite, a high-performance distributed solver for large-scale Markov Decision Processes (MDPs). MDPs are widely used to model complex dynamical systems in various fields, including finance, epidemiology, and traffic control. However, real-world applications often result in extremely high-dimensional MDPs, leading to the curs...
Article
Full-text available
We describe and evaluate custom static analyses to support transitioning existing C/C++ codebases to CHERI hardware. CHERI is a novel architectural extension, implemented for RISC-V and AArch64, that uses capabilities to provide fine-grained memory protection and scalable software compartmentalization. While the existing CHERI toolchain can recompi...
Article
Full-text available
In this work we present a simultaneous shape and topology optimization framework that generates large-scale 3D designs on unstructured grids. We consider a ''parameter-free'' shape optimization approach, wherein the nodal coordinates in the finite element mesh serve as design variables. To regularize the design changes we use a PDE-based filter, si...
Conference Paper
Full-text available
A major problem in modern systems are vulnerable application. With modern operating systems becoming more user friendly, a huge part of its users are inexperienced and are not trained to prevent the exploitation of their system from vulnerabilities. Many users do not update their system regularly, which makes them vulnerable to public vulnerabiliti...
Preprint
Full-text available
The rapid development of RISC-V instruction set architecture presents new opportunities and challenges for software developers. Is it sufficient to simply recompile high-performance software optimized for x86-64 onto RISC-V CPUs? Are current compilers capable of effectively optimizing C and C++ codes or is it necessary to use intrinsics or assemble...
Article
Full-text available
17 Для получения К > 3 необходимо использовать многокаскадные схемы умножителя (последовательное включение нескольких умножителей). Например, для получения К = 6 необходимо последовательно включить два умножителя с К = 2 и К = 3. Вывод. Проведено исследование умножение частоты на основе метода угла отсечки. Собрана схема на основе нелинейного элеме...
Preprint
Full-text available
Due to their high computational cost, geophysical applications are typically designed to run in large computing systems. Because of that, such applications must implement several high-performance techniques to use the computational resources better. In this paper, we present Mamute, a software that delivers wave equation-based geophysical methods....
Preprint
Full-text available
p>This paper introduces a unique implementation of Whis- per by OpenAI, intended primarily for Telco applications. Whisper, initially released with support for 98 languages, represents a significant stepping stone in the world of Natural Language Processing. In this paper, we outline a hybrid model approach that enables a more diverse and cost-...
Preprint
Full-text available
p>This paper introduces a unique implementation of Whis- per by OpenAI, intended primarily for Telco applications. Whisper, initially released with support for 98 languages, represents a significant stepping stone in the world of Natural Language Processing. In this paper, we outline a hybrid model approach that enables a more diverse and cost-...
Preprint
Full-text available
To turn environmentally derived metabarcoding data into community matrices for ecological analysis, sequences must first be clustered into operational taxonomic units (OTUs). This task is particularly complex for data including large numbers of taxa with incomplete reference libraries. OptimOTU offers a taxonomically aware approach to OTU clusterin...
Article
Full-text available
The extended UNIQUAC model is a thermodynamic model able to estimate thermodynamic properties of aqueous electrolyte solutions under a wide range of temperature, pressure, and composition conditions. Thermodynamic properties include species activity coefficients, excess molar Gibbs energy, excess molar enthalpy, excess molar heat capacity. These pr...
Article
Full-text available
In this paper, we propose a state decoupling strategy for Kalman filtering problems, when the dynamics of individual estimates are decoupled and their outputs are sparsely coupled. The algorithm is termed Isolated Kalman Filtering (IsoKF) and exploits the sparsity in the output coupling by applying approximations that mitigate the need for non-invo...
Article
Full-text available
This study examines the stability and performance of three types of boat models: stepless, wedge-mounted, and two-stepped, across different movement conditions—displacement, semi-planing, and planing (or skiing). Parameters like trim (the angle of the boat), rise-up (how the boat lifts out of the water), and resistance (drag) were experimentally me...
Conference Paper
Full-text available
The High-Level Architecture (HLA) provides the infrastructure for developing distributed simulations, but the Application Programming Interface (API) has until now been limited to two programming languages: C++ and Java. This limitation can be restrictive, especially when considering the integration of Commercial Off-The-Shelf (COTS) products, wher...
Preprint
Full-text available
Large Language Models (LLMs) are widely utilized in software engineering (SE) tasks, such as code generation and automated program repair. However, their reliance on extensive and often undisclosed pre-training datasets raises significant concerns about data leakage, where the evaluation benchmark data is unintentionally ``seen'' by LLMs during the...
Article
Full-text available
Stress has become a common mental health issue in modern society, causing individuals to experience acute behavioral changes. Exposure to prolonged stress without proper prevention and treatment may cause severe damage to one’s physiological and psychological health. Researchers around the world have been working to find and create solutions for ea...
Article
Full-text available
Minimizing fuel consumption has become a critical focus in marine vessel development to significantly lower environmental impact and operational costs. One promising approach involves minimizing vessel resistance by installing four hydrofoils—two parallel at the bow and two at the stern—on a trimaran hull. This study assesses the hydrodynamic perfo...
Preprint
Full-text available
This paper presents the analytic modeling of mobile heavy-duty manipulators with actively articulated suspension and its optimal control to maximize its static and dynamic stabilization. By adopting the screw theory formalism, we consider the suspension mechanism as a rigid multibody composed of two closed kinematic chains. This mechanical modeling...
Preprint
Full-text available
GDL, a free interpreter for the IDL language, continues to develop smoothly, driven by feedback and requests from an increasingly active and growing user base, especially since GDL was made available on GitHub. Among the most notable features introduced in recent years are stable Widgets; extensive testing on M1, M2, and M3 processors; excellent co...
Preprint
Full-text available
Sequence similarity estimation is essential for many bioinformatics tasks, including functional an- notation, phylogenetic analysis, and overlap graph construction. Alignment-free methods aim to solve large-scale sequence similarity estimation by mapping sequences to more easily comparable features that can approximate edit distances efficiently. S...
Preprint
Full-text available
Motivation: While there are a variety of file formats for storing reference-sequence-aligned genotype data, many are complex or inefficient. Programming language support for such formats is often limited. A file format that is simple to understand and implement - yet fast and small - is helpful for research on highly scalable bioinformatics. Result...
Preprint
Full-text available
Legacy codes are in ubiquitous use in scientific simulations; they are well-tested and there is significant time investment in their use. However, one challenge is the adoption of new, sometimes incompatible computing paradigms, such as GPU hardware. In this paper, we explore using automated code translation to enable execution of legacy multigrid...
Article
Full-text available
Android is a popular operating system based on the Linux kernel and has a Java-based framework. As it is built on Linux, it supports the development of applications written in C/C++, known as native applications. The Native Development Kit (NDK), along with the Java Native Interface (JNI), provides a solution for communication between Java applicat...
Preprint
Full-text available
VMEC++ is a Python-friendly, from-scratch reimplementation in C++ of the Variational Moments Equilibrium Code (VMEC), a fixed- and free-boundary ideal-MHD equilibrium solver for stellarators and tokamaks. The first VMEC implementation was written by Steven P. Hirshman and colleagues in the 1980s and 1990s and its latest Fortran incarnation (PARVMEC...
Article
Full-text available
The complexity of quantum many-body problems scales exponentially with the size of the system, rendering any finite-size scaling analysis a formidable challenge. This is particularly true for methods based on the full representation of the wave function, where one simply accepts the enormous Hilbert space dimensions and performs linear algebra oper...
Article
Full-text available
The multi objective shortest path problem is a cornerstone in multi objective optimization. It concerns the problem of optimal solutions that must simultaneously satisfy several conflicting criteria. This review appraises progress made on label-correcting algorithms, concentrating on strategies for node and label selection, and the new treedeletion...
Preprint
Full-text available
Rust supports type conversions and safe Rust guarantees the security of these conversions through robust static type checking and strict ownership guidelines. However, there are instances where programmers need to use unsafe Rust for certain type conversions, especially those involving pointers. Consequently, these conversions may cause severe memo...
Preprint
Full-text available
A major challenge in the deployment of scientific software solutions is the adaptation of research prototypes to production-grade code. While high-level languages like MATLAB are useful for rapid prototyping, they lack the resource efficiency required for scalable production applications, necessitating translation into lower level languages like C+...
Preprint
Full-text available
In this methods article, we provide a flexible but easy-to-use implementation of Direct Coupling Analysis (DCA) based on Boltzmann machine learning, together with a tutorial on how to use it. The package adabmDCA 2.0 is available in different programming languages (C++, Julia, Python) usable on different architectures (single-core and multi-core CP...
Article
Full-text available
The purpose of this research is to solve the Unit Commitment Problem (UCP), which is a critical task in power system optimization. The UCP involves determining the optimal scheduling of power generating units over a specified time horizon to meet the electricity demand while minimizing costs and satisfying operational constraints. In this study, a...
Preprint
Full-text available
Large language models (LLMs) are used in software development to assist in various tasks, e.g., code generation and code completion, but empirical evaluations of the quality of the results produced by these models focus on correctness and ignore other relevant aspects, such as their performance and energy efficiency. Studying the performance of LLM...
Preprint
Full-text available
The Tadah! code provides a versatile platform for developing and optimizing Machine Learning Interatomic Potentials (MLIPs). By integrating composite descriptors, it allows for a nuanced representation of system interactions, customized with unique cutoff functions and interaction distances. Tadah! supports Bayesian Linear Regression (BLR) and Kern...
Preprint
Full-text available
We show that contact-rich motion planning is also sparsity-rich when viewed as polynomial optimization (POP). We can exploit not only the correlative and term sparsity patterns that are general to all POPs, but also specialized sparsity patterns from the robot kinematic structure and the separability of contact modes. Such sparsity enables the desi...
Preprint
Full-text available
The increasing demand for electronics is driving shorter development cycles for application-specific integrated circuits (ASICs). To meet these constraints, hardware designers emphasize reusability and modularity of IP blocks, leveraging standard system-on-chip (SoC) architectures with integrated processors and common interconnects. While these arc...
Article
Full-text available
The knowledge of the exact thresholds of parameters in the diesel engines, during combustion, is essential to simulate the combustion process, establish parametric values, reduce cost and predict exhaust emissions. Accordingly, the present paper applies the grey wolf optimization method to determine the optimal threshold of parameters and engine re...
Article
Full-text available
The introduction of Transformer models has significantly advanced natural language processing, with the development of Large Language Models (LLMs) like GPT-4 and Gemini revolutionizing industries by automating programming tasks. However, challenges remain regarding their ability to fully replace human programmers, especially in terms of efficiency...
Preprint
Full-text available
Artificial Intelligence (AI)-driven code generation tools are increasingly used throughout the software development lifecycle to accelerate coding tasks. However, the security of AI-generated code using Large Language Models (LLMs) remains underexplored, with studies revealing various risks and weaknesses. This paper analyzes the security of code g...
Article
Full-text available
We show how to use field‐programmable gate arrays (FPGAs) and their associated high‐level synthesis (HLS) compilers to solve heterogeneous agent models with incomplete markets and aggregate uncertainty (Krusell and Smith (1998)). We document that the acceleration delivered by one single FPGA is comparable to that provided by using 69 CPU cores in a...