nDarray Class Reference#include <nDarray.h>
Inheritance diagram for nDarray:
List of all members.
|
Public Member Functions |
| 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 (char *) |
| nDarray (const char *flag, int rank_of_nDarray, const int *pdim) |
| nDarray (const nDarray &x) |
virtual | ~nDarray () |
void | Initialize (const nDarray &from) |
void | Initialize_all (const nDarray &from) |
void | Reset_to (double value) |
double & | val (int subscript,...) |
double & | val4 (int first, int second, int third, int fourth) |
double | cval (int subscript,...) const |
nDarray & | operator= (const nDarray &rval) |
nDarray & | operator+= (const nDarray &) |
nDarray & | operator-= (const nDarray &) |
nDarray | operator+ (double rval) |
nDarray | operator- (double rval) |
nDarray | operator * (const double rval) const |
nDarray | operator- () |
double | sum () const |
double | trace () const |
nDarray | deep_copy () |
int | operator== (nDarray &rval) |
nDarray | eigenvalues (void) |
nDarray | eigenvectors (void) |
nDarray | nDsqrt (void) |
void | print (char *name="t", char *msg="Hi there#") const |
void | printshort (char *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 |
Friends |
class | BJtensor |
class | BJmatrix |
class | BJvector |
class | stiffness_matrix |
class | stresstensor |
class | straintensor |
class | Cosseratstresstensor |
class | Cosseratstraintensor |
nDarray | operator+ (const nDarray &, const nDarray &) |
nDarray | operator- (const nDarray &, const nDarray &) |
Detailed Description
Definition at line 127 of file nDarray.h.
Constructor & Destructor Documentation
nDarray::nDarray |
( |
int |
rank_of_nDarray = 1 , |
|
|
double |
initval = 0.0 | |
|
) |
| | |
nDarray::nDarray |
( |
int |
rank_of_nDarray, |
|
|
const int * |
pdim, |
|
|
double * |
values | |
|
) |
| | |
nDarray::nDarray |
( |
int |
rank_of_nDarray, |
|
|
const int * |
pdim, |
|
|
double |
initvalue | |
|
) |
| | |
nDarray::nDarray |
( |
int |
rank_of_nDarray, |
|
|
int |
rows, |
|
|
int |
cols, |
|
|
double * |
values | |
|
) |
| | |
nDarray::nDarray |
( |
int |
rank_of_nDarray, |
|
|
int |
rows, |
|
|
int |
cols, |
|
|
double |
initvalue | |
|
) |
| | |
nDarray::nDarray |
( |
char * |
|
) |
[inline] |
nDarray::nDarray |
( |
const char * |
flag, |
|
|
int |
rank_of_nDarray, |
|
|
const int * |
pdim | |
|
) |
| | |
nDarray::nDarray |
( |
const nDarray & |
x |
) |
|
nDarray::~nDarray |
( |
|
) |
[virtual] |
Member Function Documentation
void nDarray::Initialize |
( |
const nDarray & |
from |
) |
|
void nDarray::Initialize_all |
( |
const nDarray & |
from |
) |
|
void nDarray::Reset_to |
( |
double |
value |
) |
|
double & nDarray::val |
( |
int |
subscript, |
|
|
|
... | |
|
) |
| | |
Reimplemented in BJvector.
Definition at line 574 of file nDarray.cpp.
References nDarray_rep::dim, nDarray_rep::nDarray_rank, and nDarray_rep::pd_nDdata.
Referenced by BJmatrix::BJmatrix(), BJmatrix::BJmatrix2BJtensor_2(), BJtensor::BJtensor2BJmatrix_1(), BJtensor::BJtensor2BJmatrix_2(), eigenvalues(), eigenvectors(), EvaluateElasticState(), EvaluateEPStateArgs(), EvaluateMaterialParameter(), Frobenius_norm(), General_norm(), main(), BJtensor::operator *(), operator+(), operator-(), BJtensor::operator/(), stresstensor::pqtheta2stress(), Cosseratstresstensor::pqtheta2stress(), stresstensor::principal(), Cosseratstresstensor::principal(), BJtensor::transpose0011(), BJtensor::transpose0101(), BJtensor::transpose0110(), BJtensor::transpose0111(), BJtensor::transpose1001(), BJtensor::transpose11(), BJtensor::transpose1100(), BJtensor::transposeoverbar(), and BJtensor::transposeunderbar().
double & nDarray::val4 |
( |
int |
first, |
|
|
int |
second, |
|
|
int |
third, |
|
|
int |
fourth | |
|
) |
| | |
double nDarray::cval |
( |
int |
subscript, |
|
|
|
... | |
|
) |
| | const |
Reimplemented in BJvector.
Definition at line 750 of file nDarray.cpp.
References nDarray_rep::dim, nDarray_rep::nDarray_rank, and nDarray_rep::pd_nDdata.
Referenced by BJtensor::BJtensor2BJmatrix_1(), BJtensor::BJtensor2BJmatrix_2(), TwentySevenNodeBrick::commitState(), TwentyNodeBrick::commitState(), BJtensor::determinant(), TwentyNodeBrick_u_p_U::getResponse(), EightNodeBrick_u_p_U::getResponse(), EightNode_LDBrick_u_p::getResponse(), EightNode_Brick_u_p::getResponse(), EightNodeBrick::getResponse(), TwentySevenNodeBrick::getResponse(), TwentyNodeBrick::getResponse(), NewTemplate3Dep::getStress(), NewTemplate3Dep::getTangent(), stresstensor::Iinvariant1(), Cosseratstresstensor::Iinvariant1(), stresstensor::Iinvariant2(), Cosseratstresstensor::Iinvariant2(), stresstensor::Iinvariant3(), Cosseratstresstensor::Iinvariant3(), mathprint(), print(), printshort(), stresstensor::reportTensor(), Cosseratstresstensor::reportTensor(), trace(), BJtensor::transpose0011(), BJtensor::transpose0101(), BJtensor::transpose0110(), BJtensor::transpose0111(), BJtensor::transpose1001(), BJtensor::transpose11(), BJtensor::transpose1100(), BJtensor::transposeoverbar(), and BJtensor::transposeunderbar().
nDarray nDarray::operator+ |
( |
double |
rval |
) |
|
nDarray nDarray::operator- |
( |
double |
rval |
) |
|
nDarray nDarray::operator * |
( |
const double |
rval |
) |
const |
double nDarray::sum |
( |
|
) |
const |
double nDarray::trace |
( |
|
) |
const |
Definition at line 1420 of file nDarray.cpp.
References cval(), dim(), exit(), and printf().
Referenced by stresstensor::deviator(), Cosseratstresstensor::deviator(), DPYieldSurface01::dFods(), DPYieldSurface::dFods(), DPPotentialSurface::dQods(), VMYieldSurface::f(), MDYieldSurface::f(), DPYieldSurface01::f(), DPYieldSurface::f(), MDEvolutionLaw::getKp(), EvolutionLaw_NL_EijMD::h_t(), BJtensor::operator/(), stresstensor::report(), Cosseratstresstensor::report(), MDEvolutionLaw::setInitD(), MDEvolutionLaw::UpdateAllVars(), EvolutionLaw_NL_EijMD::updateEeDm(), DPYieldSurface01::xi_t1(), and DPYieldSurface::xi_t1().
int nDarray::operator== |
( |
nDarray & |
rval |
) |
|
nDarray nDarray::eigenvalues |
( |
void |
|
) |
|
nDarray nDarray::eigenvectors |
( |
void |
|
) |
|
void nDarray::print |
( |
char * |
name = "t" , |
|
|
char * |
msg = "Hi there#" | |
|
) |
| | const |
Definition at line 1638 of file nDarray.cpp.
References cval(), nDarray_rep::dim, nDarray_rep::nDarray_rank, and printf().
Referenced by main(), stresstensor::report(), Cosseratstresstensor::report(), stresstensor::reportshort(), Cosseratstresstensor::reportshort(), stresstensor::reportSHORTs1s2s3(), Cosseratstresstensor::reportSHORTs1s2s3(), stresstensor::theta(), and Cosseratstresstensor::theta().
void nDarray::printshort |
( |
char * |
msg = "Hi there#" |
) |
const |
void nDarray::mathprint |
( |
void |
|
) |
const |
double nDarray::Frobenius_norm |
( |
void |
|
) |
|
double nDarray::General_norm |
( |
double |
p |
) |
|
int nDarray::number_of_zeros |
( |
void |
|
) |
const |
int nDarray::rank |
( |
void |
|
) |
const |
int nDarray::dim |
( |
int |
which |
) |
const |
Definition at line 2385 of file nDarray.cpp.
References nDarray_rep::dim, and dim().
Referenced by BJmatrix::BJmatrix(), BJmatrix::BJmatrix2BJtensor_2(), BJtensor::BJtensor2BJmatrix_1(), BJtensor::BJtensor2BJmatrix_2(), BJmatrix::cols(), BJtensor::determinant(), dim(), eigenvalues(), eigenvectors(), Initialize_all(), BJtensor::inverse(), mathprint(), BJtensor::operator/(), stresstensor::operator=(), Cosseratstresstensor::operator=(), BJvector::operator=(), BJtensor::operator=(), BJmatrix::operator=(), BJmatrix::rows(), trace(), BJtensor::transpose0011(), BJtensor::transpose0101(), BJtensor::transpose0110(), BJtensor::transpose0111(), BJtensor::transpose1001(), BJtensor::transpose11(), BJtensor::transpose1100(), BJtensor::transposeoverbar(), and BJtensor::transposeunderbar().
Friends And Related Function Documentation
friend class stiffness_matrix [friend] |
The documentation for this class was generated from the following files:
Generated on Mon Oct 23 15:05:46 2006 for OpenSees by 1.5.0
|