XC Open source finite element analysis program
|
"Tritriz" of pointers to elements. More...
#include <TritrizPtrNod.h>
Public Member Functions | |
TritrizPtrNod (const size_t capas=0) | |
Default constructor. | |
TritrizPtrNod (const size_t, const size_t, const size_t) | |
Constructor. | |
Node * | buscaNodo (const int &tag) |
Returns (if it exists) a pointer to the node cuyo tag is being passed as parameter. | |
const Node * | buscaNodo (const int &tag) const |
Returns (if it exists) a pointer to the node cuyo tag is being passed as parameter. | |
Node * | getNearestNode (const Pos3d &p) |
Returns the node closest to the point being passed as parameter. | |
const Node * | getNearestNode (const Pos3d &p) const |
Returns the node closest to the point being passed as parameter. | |
ID | getNodeIndices (const Node *) const |
Returns the indexes of the node identified by the pointer being passed as parameter. | |
template<class F > | |
std::deque< double > | IntegSimpsonFila (const F &, const std::string &, const size_t &, const ExprAlgebra &, const size_t &) const |
Vector | IntegSimpsonFilaI (const size_t &, const size_t &, const ExprAlgebra &, const size_t &n=10) const |
Vector | IntegSimpsonFilaJ (const size_t &, const size_t &, const ExprAlgebra &, const size_t &n=10) const |
Vector | IntegSimpsonFilaK (const size_t &, const size_t &, const ExprAlgebra &, const size_t &n=10) const |
void | fix (const SFreedom_Constraint &) const |
Impone desplazamiento nulo en los nodos de this set. | |
std::vector< int > | getTags (void) const |
void | Print (std::ostream &os) const |
Public Member Functions inherited from XC::TritrizPtrBase< MatrizPtrNod > | |
TritrizPtrBase (const size_t &capas=0) | |
Default constructor. | |
TritrizPtrBase (const size_t &capas, const MatrizPtrNod &) | |
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 MatrizPtrNod & | operator() (const size_t &capa) const |
Return the capa which index is being passed as parameter. | |
MatrizPtrNod & | 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< MatrizPtrNod > &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< MatrizPtrNod > | |
typedef MatrizPtrNod::value_type | value_type |
typedef MatrizPtrNod::reference | reference |
typedef MatrizPtrNod::const_reference | const_reference |
typedef std::vector< MatrizPtrNod >::iterator | iterator |
typedef std::vector< MatrizPtrNod >::const_iterator | const_iterator |
typedef ConstRefCajaTritriz< TritrizPtrBase< MatrizPtrNod > > | const_ref_caja |
typedef ConstRefCapaICte< TritrizPtrBase< MatrizPtrNod > > | const_ref_capa_i_cte |
typedef ConstRefCapaJCte< TritrizPtrBase< MatrizPtrNod > > | const_ref_capa_j_cte |
typedef ConstRefCapaKCte< TritrizPtrBase< MatrizPtrNod > > | const_ref_capa_k_cte |
typedef ConstRefFilaI< TritrizPtrBase< MatrizPtrNod > > | const_ref_fila_i |
typedef ConstRefFilaJ< TritrizPtrBase< MatrizPtrNod > > | const_ref_fila_j |
typedef ConstRefFilaK< TritrizPtrBase< MatrizPtrNod > > | const_ref_fila_k |
typedef VarRefCajaTritriz< TritrizPtrBase< MatrizPtrNod > > | var_ref_caja |
typedef VarRefCapaICte< TritrizPtrBase< MatrizPtrNod > > | var_ref_capa_i_cte |
typedef VarRefCapaJCte< TritrizPtrBase< MatrizPtrNod > > | var_ref_capa_j_cte |
typedef VarRefCapaKCte< TritrizPtrBase< MatrizPtrNod > > | var_ref_capa_k_cte |
typedef VarRefFilaI< TritrizPtrBase< MatrizPtrNod > > | var_ref_fila_i |
typedef VarRefFilaJ< TritrizPtrBase< MatrizPtrNod > > | var_ref_fila_j |
typedef VarRefFilaK< TritrizPtrBase< MatrizPtrNod > > | var_ref_fila_k |
Protected Member Functions inherited from XC::TritrizPtrBase< MatrizPtrNod > | |
void | set_owner_matrices (void) |
Asigna el propietario a las matrices del contenedor. | |
"Tritriz" of pointers to elements.