XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | Friends | List of all members

"Tritriz" of elment pointers. More...

#include <TritrizPtrPnt.h>

Inheritance diagram for XC::TritrizPtrPnt:
XC::TritrizPtrBase< MatrizPtrPnt >

Public Member Functions

PntbuscaPunto (const int &tag)
 Returns (if it exists) a pointer to the point identified by the tag being passed as parameter.
 
const PntbuscaPunto (const int &tag) const
 Returns (if it exists) a pointer to the point identified by the tag being passed as parameter.
 
PntgetNearestPnt (const Pos3d &p)
 Returns the point closest to the one being passed as parameter.
 
const PntgetNearestPnt (const Pos3d &p) const
 Returns the point closest to the one being passed as parameter.
 
const CadgetCad (void) const
 Returns a pointer to objeto Cad.
 
CadgetCad (void)
 Returns a pointer to objeto Cad.
 
std::deque< size_t > CopiaPuntos (const RangoTritriz &, const std::vector< size_t > &, const Vector3d &)
 Copy the points from the range being passed as parameter, and places the at the positions of the matrix that result form adding to the (i,j,k) indexes of the point the values of the offsetIndices vector; i.e.: (i,j,k)->(i+offsetIndices[0],j+offsetIndices[1],k+offsetIndices[2]) and moving the by the vectorOffset vector.
 
TritrizPtrPnt getRangoPuntos (const RangoTritriz &)
 Returns the points del rango being passed as parameter.
 
PntgetPunto (const VIndices &i)
 Returns the points which indices are being passed as parameter.
 
TritrizPtrPnt getPuntos (const TritrizIndices &)
 Returns the points which indices are being passed as parameter.
 
MatrizPtrPnt getPuntos (const MatrizIndices &)
 Returns the points which indices are being passed as parameters.
 
TritrizPtrPnt getCeldaPuntos (const size_t &, const size_t &, const size_t &, const TritrizIndices &)
 Return the cell builded by the points obtained from the positions of the tritrix that result for adding to the indexex (i,j,k) of each point the values of the vector offsetIndices i. e.: Point (i,j,k): (i+offsetIndices(i,j,k)[0],j+offsetIndices(i,j,k)[1],k+offsetIndices(i,j,k)[2])
 
MatrizPtrPnt getCeldaPuntos (const size_t &, const size_t &, const MatrizIndices &)
 Return the cell builded by the points obtained from the positions of the tritrix that result for adding to the indexes (i,j) of each point the values of the vector offsetIndices i. e.: Point (i,j): (i+offsetIndices(i,j)[0],j+offsetIndices(i,j)[1])
 
Pos3d getCentroide (void) const
 Returns the centroide del esquema.
 
void setPnt (const size_t &, const size_t &, const size_t &, const int &)
 
PntgetPnt (const size_t &, const size_t &, const size_t &)
 
void Print (std::ostream &os) const
 
- Public Member Functions inherited from XC::TritrizPtrBase< MatrizPtrPnt >
 TritrizPtrBase (const size_t &capas=0)
 Default constructor.
 
 TritrizPtrBase (const size_t &capas, const MatrizPtrPnt &)
 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 MatrizPtrPntoperator() (const size_t &capa) const
 Return the capa which index is being passed as parameter.
 
MatrizPtrPntoperator() (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< MatrizPtrPnt > &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

 TritrizPtrPnt (const size_t capas=0)
 Default constructor.
 
 TritrizPtrPnt (const size_t, const size_t, const size_t)
 Constructor.
 
- Protected Member Functions inherited from XC::TritrizPtrBase< MatrizPtrPnt >
void set_owner_matrices (void)
 Asigna el propietario a las matrices del contenedor.
 

Friends

class MapEsquemas3d
 

Additional Inherited Members

- Public Types inherited from XC::TritrizPtrBase< MatrizPtrPnt >
typedef MatrizPtrPnt::value_type value_type
 
typedef MatrizPtrPnt::reference reference
 
typedef MatrizPtrPnt::const_reference const_reference
 
typedef std::vector< MatrizPtrPnt >::iterator iterator
 
typedef std::vector< MatrizPtrPnt >::const_iterator const_iterator
 
typedef ConstRefCajaTritriz< TritrizPtrBase< MatrizPtrPnt > > const_ref_caja
 
typedef ConstRefCapaICte< TritrizPtrBase< MatrizPtrPnt > > const_ref_capa_i_cte
 
typedef ConstRefCapaJCte< TritrizPtrBase< MatrizPtrPnt > > const_ref_capa_j_cte
 
typedef ConstRefCapaKCte< TritrizPtrBase< MatrizPtrPnt > > const_ref_capa_k_cte
 
typedef ConstRefFilaI< TritrizPtrBase< MatrizPtrPnt > > const_ref_fila_i
 
typedef ConstRefFilaJ< TritrizPtrBase< MatrizPtrPnt > > const_ref_fila_j
 
typedef ConstRefFilaK< TritrizPtrBase< MatrizPtrPnt > > const_ref_fila_k
 
typedef VarRefCajaTritriz< TritrizPtrBase< MatrizPtrPnt > > var_ref_caja
 
typedef VarRefCapaICte< TritrizPtrBase< MatrizPtrPnt > > var_ref_capa_i_cte
 
typedef VarRefCapaJCte< TritrizPtrBase< MatrizPtrPnt > > var_ref_capa_j_cte
 
typedef VarRefCapaKCte< TritrizPtrBase< MatrizPtrPnt > > var_ref_capa_k_cte
 
typedef VarRefFilaI< TritrizPtrBase< MatrizPtrPnt > > var_ref_fila_i
 
typedef VarRefFilaJ< TritrizPtrBase< MatrizPtrPnt > > var_ref_fila_j
 
typedef VarRefFilaK< TritrizPtrBase< MatrizPtrPnt > > var_ref_fila_k
 

Detailed Description

"Tritriz" of elment pointers.


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