public void PerformIteration(IParticle particle, IProblem problem) { VelocityProvider.UpdateVelocity(particle); particle.UpdatePreviousPosition(); PositionProvider.UpdatePosition(particle); BoundaryConstraint.Enforce(particle, problem); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BoundaryConstraint obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BoundaryConstraint obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }