Coder Social home page Coder Social logo

hutchinson-keely / libdetran Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meverson/libdetran

0.0 0.0 0.0 6.39 MB

deterministic transport utilities

License: MIT License

Python 0.31% C++ 89.45% CMake 4.22% C 2.93% Fortran 2.84% Batchfile 0.01% SWIG 0.23%

libdetran's Introduction

README - libdetran
------------------

Detran is a set of simple utilities for deterministic neutral particle 
transport, mostly with a focus on easy algorithm development for reactor 
physics and other transport applications.  Several aspects of the design 
are directly inspired by ORNL code Denovo, especially with respect to 
object-orientation.  

Current features:
  - Multigroup diffusion, discrete ordinates, and method of 
    characteristics
  - Various built-in fixed source and eigenvalue solvers that can be extended
    via use of PETSc and SLEPc
  - Initial support for time-dependent transport with time varying sources
    and materials as well as support for arbitrary state-dependent materials
    for modeling feedback
  - Executable input via HDF5 or a somewhat limited text-based input
  - Full access via a SWIG-generated Python front end
  - Output to Silo for visualization in Visit or Paraview


INSTALLATION
------------

The up-to-date source is available at github.com/robertsj/libdetran.  If 
you are using a binary distribution, follow the relevant directions below.

Windows Users
-------------

The installer is essentially self-contained.  Execute it and allow a short
cut to be put in the menu.  Two items are added "Detran" and a link to 
uninstall.  "Detran" opens up a command window with the appropriate paths
set for using either the executable (xdetran) or the Python libraries.

Linux and OS X
--------------

The tarball is a complete build.  Simply do

>>> cd /path/to/where/you/want/detran
>>> cp /path/to/Detran-X.Y.Z-Arch.tar.gz .
>>> tar -xf Detran-X.Y.Z-Arch.tar.gz

Before you can use Detran, make sure to set the environment variables.
On Linux, that means 

>>> export PATH=$PATH:/path/to/detran/bin
>>> export LD_LIBRARY_PATH:$LD_LIBRARY_PATH:/path/to/detran/lib
>>> export PYTHONPATH:/path/to/detran/python

and on OS X, do the same but with DYLD_LIBRARY_PATH in place of 
LD_LIBRARY_PATH.  Of course, to make these permanent, add the
above lines to your .bash_profile (in Linux), .profile (in OS X),
or some similar file.  These are located in /home/yourname
or /User/yourname.

libdetran's People

Contributors

relzohery avatar robertsj avatar rlreed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.