Feellgood
|
Classes | |
struct | dataNode |
struct | Node |
Enumerations | |
enum | step { CURRENT = 0 , NEXT = 1 } |
enum | index { IDX_UNDEF = -1 , IDX_X = 0 , IDX_Y = 1 , IDX_Z = 2 } |
Functions | |
double | sq (const double x) |
template<step K> | |
Eigen::Vector3d | get_u (Node const &n) |
template<step K> | |
Eigen::Vector3d | get_v (Node const &n) |
template<step K> | |
double | get_phi (Node const &n) |
template<step K> | |
double | get_phiv (Node const &n) |
double | get_u_comp (Node const &n, index idx) |
double | get_v_comp (Node const &n, index idx) |
void | set_phi (Node &n, double val) |
void | set_phiv (Node &n, double val) |
Variables | |
const int | DIM = 3 |
const int | NB_DATANODE = 2 |
to grab altogether some dedicated functions and data of the nodes
enum Nodes::index |
convenient enum to specify what coordinate in calculations
enum Nodes::step |
convenient enum to avoid direct index manipulation in the array of struct dataNode
double Nodes::get_phi | ( | Node const & | n | ) |
getter for phis
[in] | n |
double Nodes::get_phiv | ( | Node const & | n | ) |
getter for phivs
[in] | n |
Eigen::Vector3d Nodes::get_u | ( | Node const & | n | ) |
getter for magnetizations
[in] | n |
getter for u component
[in] | n | |
[in] | idx |
Eigen::Vector3d Nodes::get_v | ( | Node const & | n | ) |
getter for speed magnetizations
[in] | n |
getter for v component
[in] | n | |
[in] | idx |
|
inline |
setter for phi
|
inline |
setter for phi_v
|
inline |
const int Nodes::DIM = 3 |
space dimension
const int Nodes::NB_DATANODE = 2 |
size of the array of dataNode