XC Open source finite element analysis program
|
"Tritriz" of pointers to elements. More...
#include <TritrizPtrElem.h>
Public Member Functions | |
TritrizPtrElem (const size_t capas=0, const MatrizPtrElem &m=MatrizPtrElem()) | |
Default constructor. | |
TritrizPtrElem (const size_t, const size_t, const size_t) | |
Constructor. | |
Element * | findElement (const int &) |
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter. | |
const Element * | findElement (const int &) const |
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter. | |
Element * | getNearestElement (const Pos3d &p) |
Returns the element closest to the point being passed as parameter. | |
const Element * | getNearestElement (const Pos3d &p) const |
Returns the element closest to the point being passed as parameter. | |
Public Member Functions inherited from XC::TritrizPtrBase< MatrizPtrElem > | |
TritrizPtrBase (const size_t &capas=0) | |
Default constructor. | |
TritrizPtrBase (const size_t &capas, const MatrizPtrElem &) | |
Constructor. | |
TritrizPtrBase (const size_t &, const size_t &, const size_t &) | |
Constructor. | |
bool | check_range (const size_t &, const size_t &, const size_t &) const |
void | resize (const size_t &) |
Cambia el size of tritriz. | |
void | resize (const size_t &, const size_t &, const size_t &, const value_type &v=value_type()) |
Cambia el size of tritriz. | |
size_t | GetCapas (void) const |
size_t | getNumFilas (void) const |
size_t | getNumCols (void) const |
size_t | GetDim (void) const |
bool | EsFilaI (void) const |
Returns true if only index I varies. | |
bool | EsFilaJ (void) const |
Returns true if only index J varies. | |
bool | EsFilaK (void) const |
Returns true if only index K varies. | |
bool | EsCapaICte (void) const |
Returns true if the indexes that vary are los J y K. | |
bool | EsCapaJCte (void) const |
Returns true if the indexes that vary are los I y K. | |
bool | EsCapaKCte (void) const |
Returns true if the indexes that vary are los I y J. | |
size_t | NumPtrs (void) const |
Returns the number of elements de la tritriz. | |
bool | Null (void) const |
Returns true if it's empty or the pointers are null. | |
bool | HasNull (void) const |
Returns true if it's empty or some of the pointers are null. | |
void | clearAll (void) |
Clears all. | |
void | dim (const size_t &, const size_t &, const size_t &) |
Matrix dimensions. | |
const MatrizPtrElem & | operator() (const size_t &capa) const |
Return the capa which index is being passed as parameter. | |
MatrizPtrElem & | operator() (const size_t &capa) |
Return the capa which index is being passed as parameter. | |
const_reference | operator() (const size_t &i, const size_t &j, const size_t &k) const |
reference | operator() (const size_t &i, const size_t &j, const size_t &k) |
reference | getAtI (const size_t &i) |
const_reference | getAtI (const size_t &) const |
reference | getAtIJ (const size_t &, const size_t &) |
const_reference | getAtIJ (const size_t &, const size_t &) const |
value_type | getAtIJK (const size_t &, const size_t &, const size_t &) |
const_ref_caja | GetConstRefCaja (size_t capa=1, size_t f=1, size_t c=1) const |
const_ref_caja | GetConstRefCaja (const RangoTritriz &rango) const |
const_ref_capa_i_cte | GetConstRefCapaICte (size_t capa=1, size_t f=1, size_t c=1) const |
const_ref_capa_i_cte | GetConstRefCapaICte (size_t capa, const RangoIndice &, const RangoIndice &) const |
const_ref_capa_j_cte | GetConstRefCapaJCte (size_t f=1, size_t capa=1, size_t c=1) const |
const_ref_capa_j_cte | GetConstRefCapaJCte (const RangoIndice &, const size_t &f, const RangoIndice &) const |
const_ref_capa_k_cte | GetConstRefCapaKCte (size_t c=1, size_t capa=1, size_t f=1) const |
const_ref_capa_k_cte | GetConstRefCapaKCte (const RangoIndice &, const RangoIndice &, const size_t &) const |
const_ref_fila_i | GetConstRefFilaI (size_t f=1, size_t c=1) const |
const_ref_fila_i | GetConstRefFilaI (const RangoIndice &, const size_t &f, const size_t &c) const |
const_ref_fila_j | GetConstRefFilaJ (size_t capa=1, size_t c=1) const |
const_ref_fila_j | GetConstRefFilaJ (const size_t &capa, const RangoIndice &, const size_t &c) const |
const_ref_fila_k | GetConstRefFilaK (size_t capa=1, size_t f=1) const |
const_ref_fila_k | GetConstRefFilaK (const size_t &capa, const size_t &f, const RangoIndice &) const |
var_ref_caja | GetVarRefCaja (size_t capa=1, size_t f=1, size_t c=1) |
var_ref_caja | GetVarRefCaja (const RangoTritriz &) |
var_ref_capa_i_cte | GetVarRefCapaICte (size_t capa=1, size_t f=1, size_t c=1) |
var_ref_capa_i_cte | GetVarRefCapaICte (const size_t &capa, const RangoIndice &, const RangoIndice &) |
var_ref_capa_j_cte | GetVarRefCapaJCte (size_t f=1, size_t capa=1, size_t c=1) |
var_ref_capa_j_cte | GetVarRefCapaJCte (const RangoIndice &, const size_t &f, const RangoIndice &) |
var_ref_capa_k_cte | GetVarRefCapaKCte (size_t c=1, size_t capa=1, size_t f=1) |
var_ref_capa_k_cte | GetVarRefCapaKCte (const RangoIndice &, const RangoIndice &, const size_t &c) |
var_ref_fila_i | GetVarRefFilaI (size_t f=1, size_t c=1) |
var_ref_fila_i | GetVarRefFilaI (const RangoIndice &, const size_t &f, const size_t &c) |
var_ref_fila_j | GetVarRefFilaJ (size_t capa=1, size_t c=1) |
var_ref_fila_j | GetVarRefFilaJ (const size_t &capa, const RangoIndice &, const size_t &c) |
var_ref_fila_k | GetVarRefFilaK (size_t capa=1, size_t f=1) |
var_ref_fila_k | GetVarRefFilaK (const size_t &capa, const size_t &f, const RangoIndice &) |
void | PutCaja (size_t offset_capa, size_t offset_fila, size_t offset_col, const TritrizPtrBase< MatrizPtrElem > &otra) |
Coloca en la tritriz la being passed as parameter. | |
std::vector< int > | getTagsObjsCapa (const size_t &) |
Returns the identifiers of the objects in the layer. | |
std::vector< int > | getTagsObjsFila (const size_t &, const size_t &) |
Returns the identifiers of the objects in the row. | |
std::vector< int > | getTagsObjsFilas (const size_t &) |
Returns the identifiers of the objects in the f-th rows. | |
std::vector< int > | getTagsObjsColumna (const size_t &, const size_t &) |
Returns the identifiers of the objects in the column. | |
std::vector< int > | getTagsObjsColumnas (const size_t &) |
Returns the identifiers of the objects in the c-th columns. | |
std::vector< int > | getTagsObjsInterioresCapa (const size_t &) |
Returns the identifiers of the objects in the layer interior. | |
std::vector< int > | getTagsObjsInterioresFila (const size_t &, const size_t &) |
Returns the identifiers of the objects in the row interior. | |
std::vector< int > | getTagsObjsInterioresFilas (const size_t &) |
Returns the identifiers of the objects in the c-th rows interior. | |
std::vector< int > | getTagsObjsInterioresColumna (const size_t &, const size_t &) |
Returns the identifiers of the objects in the c-th column interior. | |
std::vector< int > | getTagsObjsInterioresColumnas (const size_t &) |
Returns the identifiers of the objects in the c-th columns interior. | |
std::vector< int > | getTagsInteriorObjs (void) |
Returns the tabs of the inerior elements. | |
Additional Inherited Members | |
Public Types inherited from XC::TritrizPtrBase< MatrizPtrElem > | |
typedef MatrizPtrElem::value_type | value_type |
typedef MatrizPtrElem::reference | reference |
typedef MatrizPtrElem::const_reference | const_reference |
typedef std::vector< MatrizPtrElem >::iterator | iterator |
typedef std::vector< MatrizPtrElem >::const_iterator | const_iterator |
typedef ConstRefCajaTritriz< TritrizPtrBase< MatrizPtrElem > > | const_ref_caja |
typedef ConstRefCapaICte< TritrizPtrBase< MatrizPtrElem > > | const_ref_capa_i_cte |
typedef ConstRefCapaJCte< TritrizPtrBase< MatrizPtrElem > > | const_ref_capa_j_cte |
typedef ConstRefCapaKCte< TritrizPtrBase< MatrizPtrElem > > | const_ref_capa_k_cte |
typedef ConstRefFilaI< TritrizPtrBase< MatrizPtrElem > > | const_ref_fila_i |
typedef ConstRefFilaJ< TritrizPtrBase< MatrizPtrElem > > | const_ref_fila_j |
typedef ConstRefFilaK< TritrizPtrBase< MatrizPtrElem > > | const_ref_fila_k |
typedef VarRefCajaTritriz< TritrizPtrBase< MatrizPtrElem > > | var_ref_caja |
typedef VarRefCapaICte< TritrizPtrBase< MatrizPtrElem > > | var_ref_capa_i_cte |
typedef VarRefCapaJCte< TritrizPtrBase< MatrizPtrElem > > | var_ref_capa_j_cte |
typedef VarRefCapaKCte< TritrizPtrBase< MatrizPtrElem > > | var_ref_capa_k_cte |
typedef VarRefFilaI< TritrizPtrBase< MatrizPtrElem > > | var_ref_fila_i |
typedef VarRefFilaJ< TritrizPtrBase< MatrizPtrElem > > | var_ref_fila_j |
typedef VarRefFilaK< TritrizPtrBase< MatrizPtrElem > > | var_ref_fila_k |
Protected Member Functions inherited from XC::TritrizPtrBase< MatrizPtrElem > | |
void | set_owner_matrices (void) |
Asigna el propietario a las matrices del contenedor. | |
"Tritriz" of pointers to elements.