Giter Club home page Giter Club logo

Comments (1)

miekkasarki avatar miekkasarki commented on September 6, 2024

Just noting that (in case if you're in a hurry) rhoto5d is not needed to generate alpha particles. You can sample markers directly from the fusion distribution and, if you need importance sampling for the wall loads, just pick ones that have rho > some_value. For practical purposes this is quite close to what rhoto5d would provide.

In any case this segfault should be fixed. I'm fairly certain this is stellarator specific as it has not been tested for stellarators. My guess is that it is this line where the segfault is coming from (though this is the only part I'm fairly sure should work for stellarators):

rhorpz = self._ascot.input_eval(

Could you test that by replicating that function call in a separate script? Just replace self._ascot with the Ascot object (a5). You could also try running valgrind to locate the segfault, but that might mean you'd have to use smaller distribution grid resolution for it to complete within a reasonable time.

Can you confirm that the magnetic field data covers the entire (R,z) grid you are using in the distribution?

from ascot5.

Related Issues (20)

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.