Files Classes Functions Hierarchy
#include <desystestspring2.h>
Public Member Functions | |
| desystestspring2 (doublec *xval_, doublec *wi_) | |
| integrator interface supported. | |
| void | kset (doublec *k) |
| Cleanup. | |
| void | equ01 (double &Dz, doublec z, doublec x) const |
| First mass offset's change in position. | |
| void | equ02 (double &Dz, doublec z, doublec x) const |
| Second mass offset's change in position. | |
| void | operator++ () |
| integrator supports change of equation pointed to. | |
| void | operator() (double &Dz, doublec z, doublec x) const |
| dy for associated equation. | |
Public Attributes | |
| doublec * | xval |
| x value | |
| doublec * | wi |
| (wi[0],wi[1],wi[2],wi[3]) corresponds with (w0,w0',w1,w1') | |
| double | ki [3] |
| Spring constants. | |
| uint | current |
| Current equation. | |
Definition at line 10 of file desystestspring2.h.
First mass offset's change in position.
Definition at line 21 of file desystestspring2.cpp.
Referenced by operator()().
00026 { 00027 // (wi[0],wi[1],wi[2],wi[3]) corresponds with (w0,w0',w1,w1') 00028 // w0'' = k1*w1 - k1*w0 - k0*w0 00029 Dz = ki[1]*wi[2]-ki[1]*wi[0]-ki[0]*wi[0]; 00030 }
Second mass offset's change in position.
Definition at line 33 of file desystestspring2.cpp.
Referenced by operator()().
00038 { 00039 // (wi[0],wi[1],wi[2],wi[3]) corresponds with (w0,w0',w1,w1') 00040 // w1'' = -k2*w1 - k1*w1 + k1*w0 00041 Dz = -ki[2]*wi[2]-ki[1]*wi[2]+ki[1]*wi[0]; 00042 }
| void desystestspring2::kset | ( | doublec * | k | ) |
| void desystestspring2::operator++ | ( | ) | [inline] |
integrator supports change of equation pointed to.
Definition at line 40 of file desystestspring2.h.
References current.
Current equation.
Definition at line 22 of file desystestspring2.h.
Referenced by operator()(), and operator++().
| double desystestspring2::ki[3] |
(wi[0],wi[1],wi[2],wi[3]) corresponds with (w0,w0',w1,w1')
Definition at line 18 of file desystestspring2.h.
1.5.8