IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Public Member Functions | |
override double | ODE (double[] arg) |
Simple harmonic oscillator. The second derivative equals the function itself. More... | |
![]() | |
void | SolveNumerically () |
Solves the ODE by calling Solve() on the ODE solver. More... | |
void | CalculateErrors () |
Estimates errors by comparing the solution at current step size to the solution at half of the current step size. More... | |
void | PostProcessErrors (int forceTakeValue) |
Najprej izračuna absolutne vrednosti napak. Potem poskuša zgladiti krivuljo (uporabno če ta oscilira). More... | |
void | VerifyErrorsValidity (int nPoints) |
Only exposes the same method on the ODE solver. More... | |
![]() | |
PlotZedgraphCurve | NewCurveFromPlottableData (PlotterZedGraph plotter, int x, int y) |
Creates a new PlotZedgraphCurve object from the available plottable data. More... | |
void | LoadPlottableDataToCurve (PlotZedgraphCurve curve, int x, int y) |
Copies the calculated data to the existing PlotZedgraphCurve object. Enough space must be available on the curve object's list. More... | |
Additional Inherited Members | |
![]() | |
InitialProblemSolverRK4 | _solver |
double[] | _initialConditions |
![]() | |
string | _title |
![]() | |
InitialProblemSolverRK4 | Solver [get, set] |
An ODE solver object. More... | |
double[] | InitialConditions [get, set] |
User definable initial conditions which are passed to the ODE solver object. You must provide the correct number of initial conditions. For a II. order ODE they should be specified as: {x, f(x), f'(x), f''(x)}. The value of the highest derivative is deduced automatically and is only provided by the user as a placeholder. It does not need to be correct (can be any number). More... | |
![]() | |
string | Title [get, set] |
The plottable model's name. Also used as a plot title. More... | |
List< double[]> | PlottableData [get, set] |
The main solution array, which is used by the plotter. More... | |
|
inlinevirtual |
Simple harmonic oscillator. The second derivative equals the function itself.
Implements IG.MPetekLib.Algorithms.PlottableModels.PlottableODEModelBase.
Referenced by IG.MPetekLib.Application.Scripts.LinearOscillator._01NondrivenPrintSolution.ReturnSolver().