rod_structure.cpp File Reference
#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)
 

Macro Definition Documentation

◆ bend_index

#define bend_index   0

Referenced by rod::Rod::do_timestep().

◆ odx

#define odx (   x)    x*3

Easy access to 1-d arrays

◆ ody

#define ody (   y)    (y*3)+1

◆ odz

#define odz (   z)    (z*3)+2

◆ stretch_index

#define stretch_index   1

Referenced by rod::Rod::do_timestep().

◆ twist_index

#define twist_index   2

Referenced by rod::Rod::do_timestep().