CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: D_Drmmr

Search: Search took 0.47 seconds.

  1. Re: Need Variable Time Step to Avert Unstable Numerical Integ. Exceeding Limits of Do

    In C++, there is no situation in which using 'goto' makes code more readable. There's always a better alternative.
    What you describe is exactly what the 'continue' keyword does. However, I find that...
  2. Re: Need Variable Time Step to Avert Unstable Numerical Integ. Exceeding Limits of Do

    Not with an exception, this is C++. Compare the value with std::numeric_limits<double>::infinity().
  3. Re: Need Variable Time Step to Avert Unstable Numerical Integ. Exceeding Limits of Do

    Can't you reduce the time step after the result goes to infinity and roll back the last computation, or redo the whole computation?
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured