XC Open source finite element analysis program
|
"Tritriz" de pointers to objetos. More...
#include <TritrizPtrBase.h>
Public Types | |
typedef MatrizPtr::value_type | value_type |
typedef MatrizPtr::reference | reference |
typedef MatrizPtr::const_reference | const_reference |
typedef std::vector< MatrizPtr >::iterator | iterator |
typedef std::vector< MatrizPtr >::const_iterator | const_iterator |
typedef ConstRefCajaTritriz< TritrizPtrBase< MatrizPtr > > | const_ref_caja |
typedef ConstRefCapaICte< TritrizPtrBase< MatrizPtr > > | const_ref_capa_i_cte |
typedef ConstRefCapaJCte< TritrizPtrBase< MatrizPtr > > | const_ref_capa_j_cte |
typedef ConstRefCapaKCte< TritrizPtrBase< MatrizPtr > > | const_ref_capa_k_cte |
typedef ConstRefFilaI< TritrizPtrBase< MatrizPtr > > | const_ref_fila_i |
typedef ConstRefFilaJ< TritrizPtrBase< MatrizPtr > > | const_ref_fila_j |
typedef ConstRefFilaK< TritrizPtrBase< MatrizPtr > > | const_ref_fila_k |
typedef VarRefCajaTritriz< TritrizPtrBase< MatrizPtr > > | var_ref_caja |
typedef VarRefCapaICte< TritrizPtrBase< MatrizPtr > > | var_ref_capa_i_cte |
typedef VarRefCapaJCte< TritrizPtrBase< MatrizPtr > > | var_ref_capa_j_cte |
typedef VarRefCapaKCte< TritrizPtrBase< MatrizPtr > > | var_ref_capa_k_cte |
typedef VarRefFilaI< TritrizPtrBase< MatrizPtr > > | var_ref_fila_i |
typedef VarRefFilaJ< TritrizPtrBase< MatrizPtr > > | var_ref_fila_j |
typedef VarRefFilaK< TritrizPtrBase< MatrizPtr > > | var_ref_fila_k |
Public Member Functions | |
TritrizPtrBase (const size_t &capas=0) | |
Default constructor. | |
TritrizPtrBase (const size_t &capas, const MatrizPtr &) | |
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 MatrizPtr & | operator() (const size_t &capa) const |
Return the capa which index is being passed as parameter. | |
MatrizPtr & | 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< MatrizPtr > &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. | |
Protected Member Functions | |
void | set_owner_matrices (void) |
Asigna el propietario a las matrices del contenedor. | |
"Tritriz" de pointers to objetos.