DEVELOPMENT OF A SYNTACTIC VALIDATION CAPABILITY FOR THE USE OF MCNP

Peter J. Kowal, Jonathan A. Eugenio, Kurt A. Dominesey, Wei Ji, Robert A. Lefebvre, Forrest B. Brown

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Scopus citations

Abstract

MCNP has been widely used worldwide and has become an indispensable code to help solve challenging problems in many areas such as nuclear reactor analysis, medical physics, and criticality safety evaluation. MCNP provides a unique and rich syntax that allows users to model radiation transport problems with its capable geometry descriptors, flexible source definition, arbitrary material and nuclear data selection, and special tally (computation) options. MCNP's modeling flexibility comes from a myriad of cards, keywords, and operators which can be combined to describe geometry, set up physical conditions, or define quantities of interest (tallies). However, such a huge amount of syntax definitions presents challenges to MCNP beginners, or even intermediate-level users, to use them skillfully and correctly for problem definition and solution. Therefore, we have developed a syntactic validation capability for the use of MCNP. Such a capability can assist users to identify any syntax errors on-the-fly while preparing MCNP input files. It can also provide content assist, reference finding, and syntax highlighting functions for an accelerated user experience where error occurrence is proactively mitigated prior to input execution. This capability was implemented by developing a language server which can work with any Language Server Protocol-compatible text editor for MCNP input file development. In this paper, we describe the method development behind the language server and clarify how the syntactic validation works.

Original languageEnglish
Title of host publicationProceedings of the International Conference on Mathematics and Computational Methods Applied to Nuclear Science and Engineering, M and C 2021
PublisherAmerican Nuclear Society
Pages748-757
Number of pages10
ISBN (Electronic)9781713886310
DOIs
StatePublished - 2021
Event2021 International Conference on Mathematics and Computational Methods Applied to Nuclear Science and Engineering, M and C 2021 - Virtual, Online
Duration: Oct 3 2021Oct 7 2021

Publication series

NameProceedings of the International Conference on Mathematics and Computational Methods Applied to Nuclear Science and Engineering, M and C 2021

Conference

Conference2021 International Conference on Mathematics and Computational Methods Applied to Nuclear Science and Engineering, M and C 2021
CityVirtual, Online
Period10/3/2110/7/21

Funding

This material is based upon work supported by the Department of Energy Office of Nuclear Energy under Award Number DE-NE0008707. This research was performed under appointment of the third author to the Rickover Fellowship Program in Nuclear Engineering sponsored by the Naval Reactors Division of the National Nuclear Security Administration.

FundersFunder number
Naval Reactors Division
Office of Nuclear EnergyDE-NE0008707
National Nuclear Security Administration

    Keywords

    • API
    • Editor Services
    • Language Server
    • MCNP
    • NEAMS Workbench

    Fingerprint

    Dive into the research topics of 'DEVELOPMENT OF A SYNTACTIC VALIDATION CAPABILITY FOR THE USE OF MCNP'. Together they form a unique fingerprint.

    Cite this