xc
Public Member Functions | List of all members
XC::BodyMap Class Reference

Body container. More...

#include <BodyMap.h>

Inheritance diagram for XC::BodyMap:
XC::EntityMap< Body > XC::ModelComponentContainer< Body > XC::ModelComponentContainerBase

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 >
BodyNew (void)
 Creates a new cuerpo.
 
- Public Member Functions inherited from XC::EntityMap< Body >
 EntityMap (MultiBlockTopology *mbt=nullptr)
 Constructor.
 
BodygetNearest (const Pos3d &p)
 Returns the object closest to the position being passed as parameter.
 
const BodygetNearest (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.
 
- Public Member Functions inherited from XC::ModelComponentContainer< Body >
 ModelComponentContainer (MultiBlockTopology *mbt=nullptr)
 Constructor.
 
Bodybusca (const Indice &)
 Return a pointer to the geometry entity whose identifier is passed as parameter.
 
const Bodybusca (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.
 
Bodyget (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.
 
- Public Member Functions inherited from XC::ModelComponentContainerBase
 ModelComponentContainerBase (MultiBlockTopology *mbt=nullptr)
 Default identifier for new component. More...
 
const MultiBlockTopologygetMultiBlockTopology (void) const
 Return a pointer to MultiBlockTopology.
 
MultiBlockTopologygetMultiBlockTopology (void)
 Return a pointer to MultiBlockTopology.
 
const PreprocessorgetPreprocessor (void) const
 Return a pointer to preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return a pointer to preprocessor.
 
size_t getTag (void) const
 
void setTag (const size_t &t)
 

Additional Inherited Members

- Public Types inherited from XC::EntityMap< Body >
typedef ModelComponentContainer< Body >::iterator iterator
 
typedef ModelComponentContainer< Body >::const_iterator const_iterator
 
- Public Types inherited from XC::ModelComponentContainer< Body >
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
 
- Public Types inherited from XC::ModelComponentContainerBase
typedef size_t Indice
 
- Protected Attributes inherited from XC::ModelComponentContainerBase
Indice tag
 

Detailed Description

Body container.

Member Function Documentation

§ checkNDivs()

bool XC::BodyMap::checkNDivs ( void  ) const

Checks that the number of divisions of the edges are compatible.


The documentation for this class was generated from the following files: