|
Titan
v1.0
A high-performance CUDA-based physics simulation sandbox for robotics, physics, and reinforcement learning.
|
#include <mass.h>
Public Member Functions | |
| Mass (const Vec &position, double mass=0.1, bool fixed=false) | |
| void | setExternalForce (const Vec &v) |
| Vec | acceleration () |
Public Attributes | |
| double | m |
| double | T |
| Vec | pos |
| Vec | vel |
Friends | |
| class | Simulation |
| class | Spring |
| struct | CUDA_SPRING |
| struct | CUDA_MASS |
| class | Container |
| class | Lattice |
| class | Beam |
| class | Cube |
| titan::Mass::Mass | ( | const Vec & | position, |
| double | mass = 0.1, |
||
| bool | fixed = false |
||
| ) |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
| double titan::Mass::m |
| Vec titan::Mass::pos |
| double titan::Mass::T |
| Vec titan::Mass::vel |