Download presentation
Presentation is loading. Please wait.
Published byPenelope Ferguson Modified over 9 years ago
1
LLNL-PRES-?????? This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344. Lawrence Livermore National Security, LLC DAPI: an API for deterministic transport processing Presented to IAEA: Vienna Austria Bret Beck Oct 2015
2
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 2 This is an idea that I brought up at the SG38 meeting in Japan. I think that it would benefit all. This will just be a quick overview of the idea.
3
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 3 What is it? A definition of classes/methods, functions and input that define a common interface to deterministic processing codes Why DAPI? Would provides an common way for developers and users of processing codes to process data with any processing code that implements DAPI Simplifies comparison between processing codes DAPI
4
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 4 Wrapper for the many processing codes Others CALENDF NJOY GRUCON FUDGE AMPX DAPI
5
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 5 Wrapper for the many processing codes Others CALENDF NJOY GRUCON FUDGE AMPX DAPI Each processing group is responsible for writing interface for their processing package. FUDGE interface
6
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 6 Determine basic input needed by processing codes Example, group boundaries, flux, Legendre order,... Processing codes have many parameters that the user really does not care about Determine basic quantities returned by processing codes Example, cross section, transfer matrix Determine DAPI specific functionality Example, comparing and plotting quantities Needs
7
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 7 Keep user input to a minimum Choose Python as the language Use object oriented programming My desires from fudge.site_packages.LLNL import DAPI as FDAPI from NJOY import DAPI as NDAPI f = FDAPI.open( ‘n-008_O_016.endf’ ) n = NDAPI.open( ‘n-008_O_016.endf’ ) # set up input f.process( input ) n.process( input ) fXSec = f.readGroupedCrossSection( ) nXSec = f.readGroupedCrossSection( ) plot( fXSec, nXSec )
8
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 8 ADVANCE DAPI would be good for ADVANCE Comment format for reporting of errors, etc. would be nice Comments from talks during this meeting
9
Lawrence Livermore National Laboratory LLNL-PRES-xxxxxx 9 Do you like the idea? No — Let’s go get drinks Yes — How do we get it going? — What organization should the project be under? — Who should be on the design team? What about a Monte Carlo API? How do we get the ball rolling?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.