#include <spring.h>
|
| Spring () |
|
| Spring (Mass *left, Mass *right) |
|
| Spring (Mass *left, Mass *right, double k, double rest_length) |
|
| Spring (Mass *left, Mass *right, double k, double rest_length, SpringType type, double omega) |
|
void | update (const CUDA_SPRING &spr) |
|
void | setRestLength (double rest_length) |
|
void | defaultLength () |
|
void | changeType (SpringType type, double omega) |
|
void | addDamping (double constant) |
|
void | setLeft (Mass *left) |
|
void | setRight (Mass *right) |
|
void | setMasses (Mass *left, Mass *right) |
|
◆ Spring() [1/4]
titan::Spring::Spring |
( |
| ) |
|
|
inline |
◆ Spring() [2/4]
titan::Spring::Spring |
( |
Mass * |
left, |
|
|
Mass * |
right |
|
) |
| |
|
inline |
◆ Spring() [3/4]
titan::Spring::Spring |
( |
Mass * |
left, |
|
|
Mass * |
right, |
|
|
double |
k, |
|
|
double |
rest_length |
|
) |
| |
|
inline |
◆ Spring() [4/4]
titan::Spring::Spring |
( |
Mass * |
left, |
|
|
Mass * |
right, |
|
|
double |
k, |
|
|
double |
rest_length, |
|
|
SpringType |
type, |
|
|
double |
omega |
|
) |
| |
|
inline |
◆ addDamping()
void titan::Spring::addDamping |
( |
double |
constant | ) |
|
|
inline |
◆ changeType()
void titan::Spring::changeType |
( |
SpringType |
type, |
|
|
double |
omega |
|
) |
| |
|
inline |
◆ defaultLength()
void titan::Spring::defaultLength |
( |
| ) |
|
◆ setLeft()
void titan::Spring::setLeft |
( |
Mass * |
left | ) |
|
◆ setMasses()
void titan::Spring::setMasses |
( |
Mass * |
left, |
|
|
Mass * |
right |
|
) |
| |
|
inline |
◆ setRestLength()
void titan::Spring::setRestLength |
( |
double |
rest_length | ) |
|
|
inline |
◆ setRight()
void titan::Spring::setRight |
( |
Mass * |
right | ) |
|
◆ update()
◆ Beam
◆ Container
◆ Cube
◆ CUDA_SPRING
◆ Lattice
◆ Simulation
◆ _damping
double titan::Spring::_damping |
◆ _k
◆ _left
Mass* titan::Spring::_left |
◆ _omega
double titan::Spring::_omega |
◆ _rest
double titan::Spring::_rest |
◆ _right
Mass* titan::Spring::_right |
◆ _type
The documentation for this class was generated from the following file: