![]() |
GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
|
#include <Dof.hpp>
Public Types | |
typedef std::array< int, NUM > | DofArrayT |
typedef std::array< DOF::State, NUM > | DofStateArrayT |
Public Member Functions | |
Dof (const double *&) | |
Eigen::Map< Eigen::Matrix< double, NUM, 1 > > | array () const |
int | get_global_index_for_dof (unsigned int) const |
void | set_global_index_for_dof (unsigned int, unsigned int index) |
unsigned int | get_bc_state (unsigned int) const |
void | set_bc_state (unsigned int, DOF::State) |
void | set_bc_state (DOF::State) |
void | clear_bc () |
Static Public Attributes | |
static const int | N = NUM |
Private Attributes | |
const double *& | _ptr |
int | _global_index |
std::array< int, NUM > | _global_index_for_dof |
std::array< DOF::State,NUM > | _bc_state |
typedef std::array<int , NUM> GranOO3::Physic::Dof< NUM >::DofArrayT |
typedef std::array<DOF::State, NUM> GranOO3::Physic::Dof< NUM >::DofStateArrayT |
GranOO3::Physic::Dof< NUM >::Dof | ( | const double *& | p | ) |
Eigen::Map< Eigen::Matrix< double, NUM, 1 > > GranOO3::Physic::Dof< NUM >::array |
void GranOO3::Physic::Dof< NUM >::clear_bc |
unsigned int GranOO3::Physic::Dof< NUM >::get_bc_state | ( | unsigned int | d | ) | const |
int GranOO3::Physic::Dof< NUM >::get_global_index_for_dof | ( | unsigned int | d | ) | const |
void GranOO3::Physic::Dof< NUM >::set_bc_state | ( | DOF::State | s | ) |
void GranOO3::Physic::Dof< NUM >::set_bc_state | ( | unsigned int | d, |
DOF::State | s | ||
) |
void GranOO3::Physic::Dof< NUM >::set_global_index_for_dof | ( | unsigned int | d, |
unsigned int | index | ||
) |
|
private |
|
private |
|
private |
|
private |
|
static |