SOFA API  73d8bb95
Open source framework for multi-physics simuation
sofa::component::topology::SparseGridRamificationTopology::Connexion Struct Reference

#include <SparseGridRamificationTopology.h>

a connexion corresponds to a connexe component in each regular hexa (each non-void hexa has at less one connexion) More...

Detailed Description

a connexion corresponds to a connexe component in each regular hexa (each non-void hexa has at less one connexion)

Public Attributes

helper::fixed_array< std::set< Connexion * >, NUM_CONNECTED_NODES_neighbors
 
std::list< Children_children
 
Connexion_parent
 
unsigned int _coarsestParent
 
index_type _hexaIdx
 
index_type _nonRamifiedHexaIdx
 
int _tmp
 

Public Member Functions

 Connexion ()
 
void propagateConnexionNumberToNeighbors (int connexionNumber, const helper::vector< Connexion * > &allFineConnexions)
 each similar connexion will have a number (saved in _tmp), this number must be given to all connected connexions) More...
 

Attribute details

std::list<Children> sofa::component::topology::SparseGridRamificationTopology::Connexion::_children
unsigned int sofa::component::topology::SparseGridRamificationTopology::Connexion::_coarsestParent
index_type sofa::component::topology::SparseGridRamificationTopology::Connexion::_hexaIdx
helper::fixed_array< std::set<Connexion*>,NUM_CONNECTED_NODES > sofa::component::topology::SparseGridRamificationTopology::Connexion::_neighbors
index_type sofa::component::topology::SparseGridRamificationTopology::Connexion::_nonRamifiedHexaIdx
Connexion* sofa::component::topology::SparseGridRamificationTopology::Connexion::_parent
int sofa::component::topology::SparseGridRamificationTopology::Connexion::_tmp

Constructor details

sofa::component::topology::SparseGridRamificationTopology::Connexion::Connexion ( )
inline

Function details

void sofa::component::topology::SparseGridRamificationTopology::Connexion::propagateConnexionNumberToNeighbors ( int  connexionNumber,
const helper::vector< Connexion * > &  allFineConnexions 
)
inline

each similar connexion will have a number (saved in _tmp), this number must be given to all connected connexions)