XC Open source finite element analysis program
Public Member Functions | List of all members
XC::MovableBJTensor Class Reference

BJTensor that can move between processes. More...

#include <MovableBJTensor.h>

Inheritance diagram for XC::MovableBJTensor:
XC::BJtensor XC::MovableObject XC::nDarray XC::DistributedBase

Public Member Functions

 MovableBJTensor (const int &rank=1, const double &initval=0)
 Constructor.
 
 MovableBJTensor (const BJtensor &)
 Constructor.
 
void setBJTensor (const BJtensor &)
 Asigna el vector.
 
virtual int sendSelf (CommParameters &)
 Envia el vector through the channel being passed as parameter.
 
virtual int recvSelf (const CommParameters &)
 Recibe el vector through the channel being passed as parameter.
 
- Public Member Functions inherited from XC::BJtensor
 BJtensor (int rank_of_BJtensor=1, const double &initval=0)
 Default constructor.
 
 BJtensor (int rank_of_BJtensor, const int *pdim, double *values)
 Constructor.
 
 BJtensor (int rank_of_BJtensor, const int *pdim, const double &initvalue)
 Constructor.
 
 BJtensor (const std::string &flag, int rank_of_BJtensor, const int *pdim)
 Constructor.
 
 BJtensor (const std::string &flag)
 Constructor.
 
 BJtensor (const BJtensor &x)
 
 BJtensor (const nDarray &x)
 
BJtensoroperator= (const BJtensor &rval)
 
BJtensoroperator*= (const double &rval)
 
BJtensor operator* (const double &rval) const
 
BJtensor operator* (const BJtensor &rval) const
 
BJtensor operator/ (const BJtensor &rval) const
 
BJtensor transpose0110 () const
 
BJtensor transposeoverbar () const
 
BJtensor transpose0101 () const
 
BJtensor transpose0111 () const
 
BJtensor transposeunderbar () const
 
BJtensor transpose1100 () const
 
BJtensor transpose0011 () const
 
BJtensor transpose1001 () const
 
BJtensor transpose11 () const
 
BJtensor symmetrize11 () const
 
double determinant (void) const
 
BJmatrix BJtensor2BJmatrix_1 (void) const
 
BJmatrix BJtensor2BJmatrix_2 (void) const
 
BJmatrix BJtensor2BJmatrix_3 (void) const
 
BJtensor inverse (void) const
 
BJtensor inverse_2 (void) const
 
const BJtensoroperator() (const std::string &indices_from_user) const
 
void null_indices (void) const
 
const std::string & f_indices1 (void) const
 
const std::string & f_indices2 (void) const
 
- Public Member Functions inherited from XC::nDarray
 nDarray (int rank_of_nDarray=1, double initval=0.0)
 
 nDarray (int rank_of_nDarray, const int *pdim, double *values)
 
 nDarray (int rank_of_nDarray, const int *pdim, double initvalue)
 
 nDarray (int rank_of_nDarray, int rows, int cols, double *values)
 
 nDarray (int rank_of_nDarray, int rows, int cols, double initvalue)
 
 nDarray (const std::string &)
 
 nDarray (const std::string &flag, int rank_of_nDarray, const int *pdim)
 
 nDarray (const nDarray &x)
 
void Initialize (const nDarray &from)
 
void Initialize_all (const nDarray &from)
 
void Reset_to (double value)
 
const double & val (int subscript,...) const
 
double & val (int subscript,...)
 
const double & val4 (int first, int second, int third, int fourth) const
 
double & val4 (int first, int second, int third, int fourth)
 
double cval (int subscript,...) const
 
nDarrayoperator= (const nDarray &rval)
 
nDarrayoperator+= (const nDarray &)
 
nDarrayoperator-= (const nDarray &)
 
nDarray operator+ (double rval)
 
nDarray operator- (double rval)
 
nDarray operator* (const double rval) const
 
nDarray operator- ()
 
double sum (void) const
 
double trace (void) const
 
nDarray deep_copy (void)
 
bool operator== (const nDarray &rval)
 
nDarray eigenvalues (void)
 
nDarray eigenvectors (void)
 
nDarray nDsqrt (void)
 
void print (const std::string &name="t", const std::string &msg="Hi there#") const
 
void printshort (const std::string &msg="Hi there#") const
 
void mathprint (void) const
 
double Frobenius_norm (void)
 
double General_norm (double p)
 
int number_of_zeros (void) const
 
int rank (void) const
 
int dim (int which) const
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Additional Inherited Members

- Public Attributes inherited from XC::BJtensor
std::string indices1
 
std::string indices2
 

Detailed Description

BJTensor that can move between processes.


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