Giter Site home page Giter Site logo

nuclear-verification-and-disarmament / miso_enrichment Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 795 KB

A multi isotope enrichment module for the nuclear fuel cycle simulator Cyclus

License: BSD 3-Clause "New" or "Revised" License

CMake 6.09% C++ 77.82% Python 16.09%
cyclus enrichment nuclear-reactor nuclear-engineering

miso_enrichment's People

Contributors

maxschalz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

miso_enrichment's Issues

Segmentation fault on Ubuntu and Fedora

When running the example simulation provided in miso_enrichment/input/, I receive the following error on Fedora33 (compiled using GNU 10.2.1):

malloc(): unaligned tcache chunk detected
Aborted (core dumped)

and on Ubuntu 18.04.5 LTS (compiled using GNU 7.5.0):

Segmentation fault (core dumped)

Both cyclus and misoenrichment unit tests run successfully.

I have narrowed down the problem to line 318 in enrichment_calculator.cc:
https://github.com/maxschalz/miso_enrichment/blob/9786245990680de269f6df81bc0ab4590066d363/src/enrichment_calculator.cc#L308-L320
The calculations work but assigning the result to s[i] fails for unknown reasons. All variables (alpha_star, isotopes, n_enriching and n_stripping) are initialised and have value(s) assigned to them.

nlohmann::json not working

I do not manage to correctly include the json package in the build process and always end up with a fatal error that #include <nlohmann/json.hpp> was not found...

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.