dronir / em Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
In material.f90 at line 352, shouldn't
mat % meanFreePath(j) = (1.0 / mat%muExtTotal(i))
be
mat % meanFreePath(j) = (1.0 / mat%muExtTotal(j))
There is something fishy going on with the xraylib wrapper.
Everything is compiled using CMake just fine, but when the material.f90 asks EdgeEnergy from xraylib the values are incorrect.
I explicitly set the correct modules and libraries in /src/lib/xr/CMakeLists, and after that the program started to give correct values.
it might just be the xraylib inside the Docker container, or there is something wrong with how the xraylib is called (newer version of the xraylib I presume, also some of the functions take real(8) instead of real(4))
CMake example:
ADD_LIBRARY(xr material.f90 bfdf.f90)
TARGET_INCLUDE_DIRECTORIES(xr PUBLIC /usr/include/xraylib/)
TARGET_LINK_LIBRARIES(xr core emrandom)
TARGET_LINK_LIBRARIES(xr PUBLIC /usr/lib/x86_64-linux-gnu/libxrlf03.so)
install(TARGETS xr LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/uhoem)
Also I totally passed the wrapper
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.