Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Oscillator. More...
#include <oscillator.h>
Inherits dsim_model.
Public Member Functions | |
void | initialize_data () |
Initialize outlets and output variables. | |
void | initialization_complete () |
Finish initialization. | |
void | initialize_timestep () |
Computation done prior to numerical integration. | |
void | complete_timestep () |
Computation done after numerical integration. | |
void | rhs (double t, double jd) |
Computation done during numerical integration. More... | |
Protected Attributes | |
Parameters | |
dsim_variable | omega_dsim |
Frequency (rad/s) | |
Integrated states | |
dsim_variable | x_dsim |
State vector. | |
Oscillator.
State space vehicle model
An oscillator.
void oscillator::rhs | ( | double | t, |
double | jd | ||
) |
Computation done during numerical integration.
Oscillator Right-Hand-Side.
References omega_dsim, and x_dsim.