Presented to IAEA Vienna Austria Bret Beck Oct 2015 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 ID: 805437
Download The PPT/PDF document "DAPI: an API for deterministic transport..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
DAPI: an API for deterministic transport processing
Presented to IAEA: Vienna Austria
Bret Beck
Oct 2015
Slide2This 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.
Slide3What 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
Slide4Wrapper for the m
any processing codes
Others
CALENDF
NJOY
GRUCON
FUDGE
AMPX
DAPI
Slide5Wrapper for the m
any processing codes
Others
CALENDF
NJOY
GRUCON
FUDGE
AMPX
DAPI
Each processing group is responsible for writing interface for their processing package.
FUDGE interface
Slide6Determine basic input needed by processing codesExample, group boundaries, flux, Legendre order, ...
Processing codes have many parameters that the user really does not care aboutDetermine basic quantities returned by processing codesExample, cross section, transfer matrixDetermine DAPI specific functionalityExample, comparing and plotting quantities
Needs
Slide7Keep user input to a minimumChoose Python as the
languageUse object oriented programmingMy desires
from fudge.site_packages.LLNL import DAPI as FDAPIfrom 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 )
Slide8ADVANCEDAPI would be good for ADVANCE
Comment format for reporting of errors, etc. would be niceComments from talks during this meeting
Slide9Do you like the idea?NoLet’s go get drinks
YesHow 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?