McStas
   HOME
*





McStas
McStasWillendrup, P.; Farhi E.; Knudsen E.; Filges U.; Lefmann K; McStas: past, present and future. Journal of Neutron Research 17, 2014 pp. 35-43 is free and open-source (GNU General Public License) software simulator for neutron scattering experiments. McStas is an abbreviation for Monte carlo Simulation of triple axis spectrometers, but the software can be used to simulate all types of neutron scattering instruments. The software is based on both Monte Carlo methods and ray tracing. A special compiler translates a domain-specific language describing the neutron instrument geometry and component definitions (written in C) to a stand-alone C code. The basics of McStas was written in 1997 at Risø for simulation of their neutron experiments, that were based at the DR3 reactor that was shut down in year 2000. After the fusion of Risø with the Technical University of Denmark, McStas is currently developed at the Physics department of DTU and Institut Laue-Langevin, wit ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Neutron-acceptance Diagram Shading
{{Unreferenced, date=June 2019, bot=noref (GreenC bot) Neutron-acceptance diagram shading (NADS) is a beam simulation technique. Unlike Monte-Carlo simulation codes like McStas, NADS does not trace individual neutrons but traces linearly-related bunches in a reduced-dimensionality phase space. Bunches are subdivided where necessary to follow accurately a simplified surface reflectivity model. This makes jnads results equivalent to Monte-Carlo simulations but about 5 orders of magnitude faster for difficult modelling tasks. Speed The raw speed of NADS makes it a particularly attractive tool for beam modelling where evolutionary algorithms are used. Tests on the C++ prototype engine could calculate the on-sample flux of a SANS instrument in 55 milliseconds on a single 2 GHz intel core 2 core. The java release (jnads) performs the same calculation in 0.8 seconds on the same hardware. A Monte-Carlo simulation of the same instrument would take 25 hours to complete with 1% stat ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


McXtrace
{{unreferenced, date=October 2012 McXtrace is an open source software package for performing Monte Carlo simulations of X-ray scattering experiments. While its chief objective is to aid in the optimization of beamlines at e.g. synchrotrons, it may also be used for data analysis and at laboratory sources and beamlines. McXtrace is free software released under the GNU GPL. McXtrace was first spun off as a sister project to the well known and proven ''neutron'' ray-tracing package McStas McStasWillendrup, P.; Farhi E.; Knudsen E.; Filges U.; Lefmann K; McStas: past, present and future. Journal of Neutron Research 17, 2014 pp. 35-43 is free and open-source (GNU General Public License) software simulator for neutron scattering exp ... in a project funded jointly by: * DTU Physics at The Technical University of Denmark (DTU) * The European Synchrotron Radiation Facility (ESRF) (http://www.esrf.eu) * Niels Bohr Institute at University of Copenhagen (KU) * The Danish Strategic Resea ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Technical University Of Denmark
The Technical University of Denmark ( da, Danmarks Tekniske Universitet), often simply referred to as DTU, is a polytechnic university and school of engineering. It was founded in 1829 at the initiative of Hans Christian Ørsted as Denmark's first polytechnic, and it is today ranked among Europe's leading engineering institutions. It is located in the town Kongens Lyngby, north of central Copenhagen, Denmark. Along with École Polytechnique in Paris, École Polytechnique Fédérale de Lausanne, Eindhoven University of Technology, Technical University of Munich and Technion – Israel Institute of Technology, DTU is a member of EuroTech Universities Alliance. History DTU was founded in 1829 as the "College of Advanced Technology" (Danish: Den Polytekniske Læreanstalt). The Physicist Hans Christian Ørsted, at that time a professor at the University of Copenhagen, was one of the driving forces behind this initiative. He was inspired by the École Polytechnique in Paris, Fran ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Ray Tracing (physics)
In physics, ray tracing is a method for calculating the path of waves or particles through a system with regions of varying propagation velocity, absorption characteristics, and reflecting surfaces. Under these circumstances, wavefronts may bend, change direction, or reflect off surfaces, complicating analysis. Ray tracing solves the problem by repeatedly advancing idealized narrow beams called ''rays'' through the medium by discrete amounts. Simple problems can be analyzed by propagating a few rays using simple mathematics. More detailed analysis can be performed by using a computer to propagate many rays. When applied to problems of electromagnetic radiation, ray tracing often relies on approximate solutions to Maxwell's equations that are valid as long as the light waves propagate through and around objects whose dimensions are much greater than the light's wavelength. Ray theory does not describe phenomena such as interference and diffraction, which require wave theory (invo ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

European Spallation Source
The European Spallation Source ERIC (ESS) is a multi-disciplinary research facility based on the world's most powerful pulsed neutron source. It is currently under construction in Lund, Sweden. The ESS Data Management and Software Centre (DMSC) will be located in Copenhagen, Denmark. The 13 European member countries act as partners in the construction and operation of ESS. ESS will start the scientific user programme in 2023, and the construction phase will be complete by 2025. ESS is the world's most powerful next-generation neutron source, and will enable scientists to see and understand basic atomic structures and forces at length and time scales unachievable at other neutron sources. The research infrastructure, owned by 13 European nations, is built close to the Max IV Laboratory. The colocation of powerful neutron and x-ray facilities is a productive strategy (e.g. the Institut Laue–Langevin with the European Synchrotron Radiation Facility; the ISIS Neutron and Muon Sou ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Copenhagen
Copenhagen ( or .; da, København ) is the capital and most populous city of Denmark, with a proper population of around 815.000 in the last quarter of 2022; and some 1.370,000 in the urban area; and the wider Copenhagen metropolitan area has 2,057,142 people. Copenhagen is on the islands of Zealand and Amager, separated from Malmö, Sweden, by the Øresund strait. The Øresund Bridge connects the two cities by rail and road. Originally a Viking fishing village established in the 10th century in the vicinity of what is now Gammel Strand, Copenhagen became the capital of Denmark in the early 15th century. Beginning in the 17th century, it consolidated its position as a regional centre of power with its institutions, defences, and armed forces. During the Renaissance the city served as the de facto capital of the Kalmar Union, being the seat of monarchy, governing the majority of the present day Nordic region in a personal union with Sweden and Norway ruled by the Danis ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Paul Scherrer Institute
The Paul Scherrer Institute (PSI) is a multi-disciplinary research institute for natural and engineering sciences in Switzerland. It is located in the Canton of Aargau in the municipalities Villigen and Würenlingen on either side of the River Aare, and covers an area over 35 hectares in size. Like ETH Zurich and EPFL, PSI belongs to the Swiss Federal Institutes of Technology Domain of the Swiss Confederation. The PSI employs around 2,100 people. It conducts basic and applied research in the fields of matter and materials, human health, and energy and the environment. About 37% of PSI's research activities focus on material sciences, 24% on life sciences, 19% on general energy, 11% on nuclear energy and safety, and 9% on particle physics. PSI develops, builds and operates large and complex research facilities and makes them available to the national and international scientific communities. In 2017, for example, more than 2,500 researchers from 60 different countries came to PS ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Niels Bohr Institute
The Niels Bohr Institute (Danish: ''Niels Bohr Institutet'') is a research institute of the University of Copenhagen. The research of the institute spans astronomy, geophysics, nanotechnology, particle physics, quantum mechanics and biophysics. Overview The institute was founded in 1921, as the Institute for Theoretical Physics of the University of Copenhagen, by the Danish theoretical physicist Niels Bohr, who had been on the staff of the University of Copenhagen since 1914, and who had been lobbying for its creation since his appointment as professor in 1916. On the 80th anniversary of Niels Bohr's birth – October 7, 1965 – the Institute officially became the Niels Bohr Institute. Much of its original funding came from the charitable foundation of the Carlsberg brewery, and later from the Rockefeller Foundation. During the 1920s, and 1930s, the institute was the center of the developing disciplines of atomic physics and quantum physics. Physicists from across Europe (and ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  




Domain-specific Language
A domain-specific language (DSL) is a computer language specialized to a particular application domain. This is in contrast to a general-purpose language (GPL), which is broadly applicable across domains. There are a wide variety of DSLs, ranging from widely used languages for common domains, such as HTML for web pages, down to languages used by only one or a few pieces of software, such as MUSH soft code. DSLs can be further subdivided by the kind of language, and include domain-specific ''markup'' languages, domain-specific ''modeling'' languages (more generally, specification languages), and domain-specific ''programming'' languages. Special-purpose computer languages have always existed in the computer age, but the term "domain-specific language" has become more popular due to the rise of domain-specific modeling. Simpler DSLs, particularly ones used by a single application, are sometimes informally called mini-languages. The line between general-purpose languages and domain ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Compiler
In computing, a compiler is a computer program that translates computer code written in one programming language (the ''source'' language) into another language (the ''target'' language). The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a low-level programming language (e.g. assembly language, object code, or machine code) to create an executable program. Compilers: Principles, Techniques, and Tools by Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman - Second Edition, 2007 There are many different types of compilers which produce output in different useful forms. A ''cross-compiler'' produces code for a different CPU or operating system than the one on which the cross-compiler itself runs. A ''bootstrap compiler'' is often a temporary compiler, used for compiling a more permanent or better optimised compiler for a language. Related software include, a program that translates from a low-level language to a h ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Monte Carlo Method
Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on Resampling (statistics), repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be deterministic system, deterministic in principle. The name comes from the Monte Carlo Casino in Monaco, where the primary developer of the method, physicist Stanisław Ulam, Stanislaw Ulam, was inspired by his uncle's gambling habits. Monte Carlo methods are mainly used in three distinct problem classes: optimization, numerical integration, and generating draws from a probability distribution. They can also be used to model phenomena with significant uncertainty in inputs, such as calculating the risk of a nuclear power plant failure. Monte Carlo methods are often implemented using computer simulations, and they can provide approximate solutions to problems that are otherwise intractable or too complex to analyze mathe ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]