Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create braid directly from ODE #126

Open
jeanluct opened this issue Jul 22, 2015 · 3 comments
Open

Create braid directly from ODE #126

jeanluct opened this issue Jul 22, 2015 · 3 comments

Comments

@jeanluct
Copy link
Owner

(Spinoff of #124.)

Have the braid constructor take a function handle as an argument, which could then be used to call ode45 and generate the braid.

Example:

b = braid(@func,tspan,XY0);  % create braid of trajectories starting at XY0

Syntax is meant to mimic ode45. Could even pass optional ode45 options at the end. The RHS function @func only takes one trajectory at a time, and XY0 is a set of n initial conditions. (XY0 should have dimension [2 n], to agree with the XY constructor.)

An implementation might involve going through by pairs of strings, and setting and @events function for when the x coordinates coincide.

@jeanluct jeanluct changed the title create braid directly from ODE Create braid directly from ODE Jul 22, 2015
@jeanluct jeanluct added this to the release-4.0 milestone Jul 22, 2015
@jeanluct jeanluct self-assigned this Jul 22, 2015
@jeanluct
Copy link
Owner Author

jeanluct commented Aug 4, 2015

Started implementing this on iss126-braid-from-ODE branch.

@jeanluct
Copy link
Owner Author

Some more thoughts about this:

  • Should the function create an XY array, then pass it to colobraiding? Or better, it could generate the crosscell object and pass it to the private function sortcross2gen.
  • Better to integrate pairwise or all the particles at ones? Pairwise then we generate crosscell. Otherwise we get an XY array. My feeling is that pairwise scales better. In fact I think that's what we'd found when MDF first developed the pairwise crossing method.

@jeanluct
Copy link
Owner Author

Continued to implement this. 2d721e4 is a reasonable prototype. It surprisingly slow, however, compared to equally-spaced sampling. Maybe that's a feature of the simple flow I'm using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant