Git Product home page Git Product logo

pystreamline's People

Contributors

chrisk314 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

scottfux

pystreamline's Issues

Implement ODE integrator

Enable integration of streamline for chosen vector variable through the dataset

  • Allows arbitrary location of seed point for streamline
  • Allows arbitrary collection of named datasets to be chosen for streamline calculation
  • Streamline integration terminates in the following cases with a flag stored to indicate the reason:
    1. reached dataset limits
    2. reached termination speed threshold
    3. reached maximum integration time

Add vector variables to StreamlineIntegrator

Enable addition of variables to StreamlineIntegrator which can be chosen for calculating the path of the streamline. All variables added to the integrator will be interpolated at each point along the streamline.

  • Enable addition of scalar variables to StreamlineIntegrator
  • Enable setting of 3 scalar variables to use as x, y, z components in streamline integration
  • Enable querying of variable metadata from Python layer

Weighted interpolation of variables

Enable weighted interpolation of any variables stored in the integrator at arbitrary points within the domain covered by the point data set.

  • Arbitrary point and named dataset can be specified with interpolated value returned

Bug segfault occurs during tests

Segfault occurs when running pytest. This may be due to sharing arrays between numpy and c++ class.

python -m pytest

The below is included in the stacktrace:

*** Error in `python': malloc(): smallbin double linked list corrupted: 0x00000000027d2a90 ***
  • Try to reproduce the issue outside of pytest
  • Identify source of memory issue and fix

Streamline object

Implement the Streamline object which will store the coordinates of the points along the streamline and the interpolated values of all variable fields added to the StreamlineIntegrator

  • stores ordered list of coordinates along streamline
  • stores ordered list of integrated values for all variables in StreamlineIntegrator
  • stores integration time variable
  • stores reason for termination
  • provides method to determine if the streamline is still "alive" during integration

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.