nuclear-verification-and-disarmament / miso_enrichment Goto Github PK
View Code? Open in Web Editor NEWA multi isotope enrichment module for the nuclear fuel cycle simulator Cyclus
License: BSD 3-Clause "New" or "Revised" License
A multi isotope enrichment module for the nuclear fuel cycle simulator Cyclus
License: BSD 3-Clause "New" or "Revised" License
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.
Change flexible_input.cc
to flexible_input.tpp
to clearly mark it as a template implementation. Then place #include "flexible_input.tpp"
at the end of the header file and import said header file in, e.g., miso_enrich.h
etc.
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...
Currently missing are:
current_swu_capacity
FlexibleInput
and related stuff (e.g., swu_capacity_times
and so on)and maybe others
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.