JeffersonLab / coatjava

1 stars 17 forks source link

Neutral particles swimming #9

Open raffaelladevita opened 3 years ago

raffaelladevita commented 3 years ago

When neutral particles are swum with a plane stopper, the trajectory seems to be in the backward direction. For example

import org.jlab.clas.swimtools.Swim; Swim swim = new Swim(); swim.SetSwimParameters(0.0,0.0,0.0, 0.5,0.0,1.0, 0); double[] point = swim.SwimToPlaneBoundary(8,new Vector3D(0,0,1),1); System.out.println(new Point3D(point[0],point[1],point[2]));

gives: Point3D: -4.00000 0.00000 -8.00000

This doesn't happen with a spherical stopper

baltzell commented 2 years ago

ping

baltzell commented 1 year ago

@heddle Any news on this?