Feellgood
Public Member Functions | Public Attributes | List of all members
Nodes::Node Struct Reference

#include <node.h>

Public Member Functions

void setBasis (const double r)
 
void evolution (void)
 
void make_evol (const double vp, const double vq, const double dt)
 
double proj_ep (void) const
 
double proj_eq (void) const
 
const Eigen::Vector3d get_u (step k) const
 
const Eigen::Vector3d get_v (step k) const
 

Public Attributes

Eigen::Vector3d p
 
Eigen::Vector3d ep
 
Eigen::Vector3d eq
 
dataNode d [NB_DATANODE]
 

Detailed Description

Node is containing physical point of coordinates \( p = (x,y,z) \), magnetization value at \( m(p,t) \). Many other values for the computation of the scalar potential \( \phi \)

Member Function Documentation

◆ evolution()

void Nodes::Node::evolution ( void  )
inline

preparation of the quantities u0,v0,phi0,phiv0 for incomming time-step

◆ get_u()

const Eigen::Vector3d Nodes::Node::get_u ( step  k) const
inline

getter for u at step k

Parameters
[in]k

◆ get_v()

const Eigen::Vector3d Nodes::Node::get_v ( step  k) const
inline

getter for v at step k

Parameters
[in]k

◆ make_evol()

void Nodes::Node::make_evol ( const double  vp,
const double  vq,
const double  dt 
)
inline

integration of the evolution of the magnetization for time step dt in a base composed of u0,ep,eq = u0*ep we have \( v = v_p e_p + v_q e_q \) and new magnetization value is : \( u = u_0 + v dt \) after normalization

Parameters
[in]vp
[in]vq
[in]dt

◆ proj_ep()

double Nodes::Node::proj_ep ( void  ) const
inline

speed projection along ep

◆ proj_eq()

double Nodes::Node::proj_eq ( void  ) const
inline

speed projection along eq

◆ setBasis()

void Nodes::Node::setBasis ( const double  r)
inline

setter for the local basis vector

Member Data Documentation

◆ d

dataNode Nodes::Node::d[NB_DATANODE]

datas associated to position p step CURRENT (0) : start of the time step step NEXT (1) : after the current time step

◆ ep

Eigen::Vector3d Nodes::Node::ep

local vector basis : \( e_p = \vec{rand} \times u0 \) , then normalized

◆ eq

Eigen::Vector3d Nodes::Node::eq

local vector basis : \( e_q = u0 \times e_p \) , then normalized

◆ p

Eigen::Vector3d Nodes::Node::p

Physical position p=(x,y,z) of the node


The documentation for this struct was generated from the following file: