xc
|
#include <BodyMap.h>
Public Member Functions | |
BodyMap (MultiBlockTopology *mbt=nullptr) | |
Constructor. | |
bool | conciliaNDivs (void) |
Conciliates the number of divisions of the lines. | |
bool | checkNDivs (void) const |
Checks that the number of divisions of the edges are compatible. More... | |
template<class B > | |
Body * | New (void) |
Creates a new cuerpo. | |
![]() | |
EntityMap (MultiBlockTopology *mbt=nullptr) | |
Constructor. | |
Body * | getNearest (const Pos3d &p) |
Returns the object closest to the position being passed as parameter. | |
const Body * | getNearest (const Pos3d &p) const |
Returns the object closest to the position being passed as parameter. | |
void | numera (void) |
Set indices to the objects to allow its use in VTK. | |
![]() | |
ModelComponentContainer (MultiBlockTopology *mbt=nullptr) | |
Constructor. | |
Body * | busca (const Indice &) |
Return a pointer to the geometry entity whose identifier is passed as parameter. | |
const Body * | busca (const Indice &) const |
Return a pointer to the entity whose identifier is passed as parameter. | |
bool | exists (const Indice &) const |
Return true if the entity already exists. | |
Body * | get (const Indice &) |
Return the entity with tag iEnt. | |
boost::python::list | getKeys (void) const |
Return the container's keys. | |
void | clearAll (void) |
Erase all the entities. | |
virtual | ~ModelComponentContainer (void) |
Destructor. | |
![]() | |
ModelComponentContainerBase (MultiBlockTopology *mbt=nullptr) | |
Default identifier for new component. More... | |
const MultiBlockTopology * | getMultiBlockTopology (void) const |
Return a pointer to MultiBlockTopology. | |
MultiBlockTopology * | getMultiBlockTopology (void) |
Return a pointer to MultiBlockTopology. | |
const Preprocessor * | getPreprocessor (void) const |
Return a pointer to preprocessor. | |
Preprocessor * | getPreprocessor (void) |
Return a pointer to preprocessor. | |
size_t | getTag (void) const |
void | setTag (const size_t &t) |
Additional Inherited Members | |
![]() | |
typedef ModelComponentContainer< Body >::iterator | iterator |
typedef ModelComponentContainer< Body >::const_iterator | const_iterator |
![]() | |
typedef std::map< Indice, Body *> | map_base |
typedef std::pair< Indice, Body *> | pair |
typedef map_base::iterator | iterator |
typedef map_base::const_iterator | const_iterator |
![]() | |
typedef size_t | Indice |
![]() | |
Indice | tag |
Body container.
bool XC::BodyMap::checkNDivs | ( | void | ) | const |
Checks that the number of divisions of the edges are compatible.