New Features:
-
Periodic Shooting Method (
PS SHM):- A method solution vector is accepted as input for the initial condition (field
icof theopt_initstructure).
If its size does not match the defined number of shooting points (opt_approx_method.n_shoot), the vector is interpolated. - Integral phase condition added.
- The Jacobian pattern of implicit ODE solver is passed to the ODE solver to improve computation time.
- A method solution vector is accepted as input for the initial condition (field
-
Error control:
- "Problem handling" added: If a problem occurs within the error control, CoSTAR will automatically decide on the next steps based on the specific problem. Moreover, corresponding warnings and error messages are displayed in the command window, printed into the log file and also saved in the
Solutionobject.
- "Problem handling" added: If a problem occurs within the error control, CoSTAR will automatically decide on the next steps based on the specific problem. Moreover, corresponding warnings and error messages are displayed in the command window, printed into the log file and also saved in the
-
Right-hand side (
RHS):- Function for the mathematical pendulum (
math_pendulum.m) added. - Periodic Duffing oscillator (
duffing.m): Coefficient for linear stiffness added.
- Function for the mathematical pendulum (
-
Postprocessing (
contplot,solget,solplot):- Hyper-time plots/evaluations of quasi-periodic solutions (
QPS):
The option'resolution'can be set as a[1x2]vector to define individual resolutions for eachtheta-direction.
- Hyper-time plots/evaluations of quasi-periodic solutions (
Bugs Fixed:
- Error control for the (quasi-)periodic Fourier-Galerkin Method (
PS FGMandQPS FGM):
In- and decreasing of the number of harmonics as well as the automatic adaption of the number of FFT evaluation points now works correctly for periodic and quasi-periodic solutions. - Restored the live plot for MATLAB versions starting from R2025a.
- Several minor bug fixes.
Detailed information of the improvements and changes can be found in the version log file Version_Log_v3.1.x.txt.