Пример #1
0
 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);
 }
Пример #3
0
 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;
 }