#include "rod_structure.h"
Namespaces | |
rod | |
Macros | |
#define | odx(x) x*3 |
#define | ody(y) (y*3)+1 |
#define | odz(z) (z*3)+2 |
#define | bend_index 0 |
#define | stretch_index 1 |
#define | twist_index 2 |
Functions | |
std::vector< float > | rod::stof_vec (std::vector< std::string > vec_in) |
float | rod::random_number (float A, float B, RngStream rng[], int thread_id) |
#define bend_index 0 |
Referenced by rod::Rod::do_timestep().
#define odx | ( | x | ) | x*3 |
Easy access to 1-d arrays
#define ody | ( | y | ) | (y*3)+1 |
#define odz | ( | z | ) | (z*3)+2 |
#define stretch_index 1 |
Referenced by rod::Rod::do_timestep().
#define twist_index 2 |
Referenced by rod::Rod::do_timestep().