#include <arrays.h>
Public Member Functions | |
Dvctr (void) | |
CONSTRUCTOR. More... | |
Dvctr (long s) | |
Dvctr (const Dvctr *src) | |
Dvctr (long s, const double *src) | |
Dvctr (const VectoR *src) | |
virtual | ~Dvctr () |
DESTRUCTOR. More... | |
arrayClassType | give_classid () const |
arrayTypedef | give_arrayTypedef (void) const |
double | operator[] (long i) const |
double & | operator[] (long i) |
Dvctr * | free (void) |
void | realloc (long newsize) |
reallocate up receiver More... | |
Dvctr * | resize_preserve_vals (long newsize) |
Dvctr * | resize_ignore_vals (long newsize) |
Dvctr * | resize_to_asize (void) |
Dvctr * | assign_array (double *array, long s) |
Dvctr * | assign_array (const double *array, long s) |
void | cpat (long i, const Xvctr *p, long j) |
void | shift (long val) |
bool | scan (const char *&src) |
double * | give_ptr2val (long i=0) |
return pointer to More... | |
const double * | give_ptr2val (long i=0) const |
double | give_lenght (void) const |
double | give_sum (void) const |
long | give_number_of_nonzeros (void) const |
void | zero (void) |
void | beCopyOf (const PoinT &src) |
void | beCopyOf (const double *src) |
void | beCopyOf (const double *src, long s) |
void | beCopyOf (const Dvctr &src) |
void | beCopyOf (const Dvctr *src) |
void | copy_to (double *dest) const |
void | append (const Dvctr *src) |
void | be_tnsr (const Dmtrx &src) |
void | be_vectproduct (const Dvctr &v1, const Dvctr &v2) |
void | be_mean_of (const Dmtrx *src) |
double | give_dotproduct (const Dvctr &v) |
void | add (const Dvctr &src) |
void | addtms (const Dvctr &src, double tms) |
void | sbt (const Dvctr &src) |
void | tmsby (double val) |
void | dvdby (double val) |
void | tnsrRotWith (const Dmtrx &rot) |
this = rot * this * rot^transp More... | |
void | tnsrRotWith1 (const Dmtrx &rot) |
void | tnsrRotWith2 (const Dmtrx &rot) |
void | tnsrRotAxisZangle (double a) |
rotate coord system around axis z by angle More... | |
void | normalize (void) |
double | give_zero (double abszero, double relzero) const |
int | length_printed (int precision) const |
void round2zero (double zero, double absZero); More... | |
int | length_printed_vector (int precision) const |
int | length_printed_tensor (int precision) const |
void | print (char *stream, int precision, double absZero=0.0) const |
void | print_vector (char *stream, int precision, double absZero=0.0, bool zerorest=false) const |
void | print_symtensor (char *stream, int precision, double absZero=0.0, bool zerorest=false) const |
void | print_symtensor (FILE *stream, int precision, double absZero=0.0, bool zerorest=false) const |
![]() | |
Xvctr (long s) | |
CONSTRUCTOR. More... | |
virtual | ~Xvctr () |
DESTRUCTOR. More... | |
void | deshift (void) |
virtual long | give_size (void) const |
double | give_zero (double abszero, double relzero) const |
![]() | |
Array1d () | |
CONSTRUCTOR. More... | |
virtual | ~Array1d () |
DESTRUCTOR. More... | |
![]() | |
Array () | |
CONSTRUCTOR. More... | |
virtual | ~Array () |
DESTRUCTOR. More... | |
Public Attributes | |
double * | a |
Additional Inherited Members | |
![]() | |
bool | exta |
bool | cnst |
long | shft |
long | size |
long | asize |
|
inline |
|
inline |
Definition at line 563 of file arrays.h.
References a, and midaspace::Xvctr::asize.
|
inline |
Definition at line 564 of file arrays.h.
References a, midaspace::Xvctr::asize, midaspace::Xvctr::size, and SRCCHCK.
|
inline |
Definition at line 565 of file arrays.h.
References a, midaspace::Xvctr::asize, midaspace::Xvctr::size, and SRCCHCK.
|
inline |
Definition at line 566 of file arrays.h.
References a, midaspace::Xvctr::asize, SRCCHCK, midaspace::Elem3D::x, midaspace::Elem3D::y, and midaspace::Elem3D::z.
|
inlinevirtual |
DESTRUCTOR.
Definition at line 568 of file arrays.h.
References a, midaspace::Xvctr::deshift(), and midaspace::Xvctr::exta.
void midaspace::Dvctr::add | ( | const Dvctr & | src | ) |
Definition at line 380 of file arrays.cpp.
References _errorr, a, AVOID_CNST, give_ptr2val(), midaspace::Xvctr::give_size(), and midaspace::Xvctr::size.
void midaspace::Dvctr::addtms | ( | const Dvctr & | src, |
double | tms | ||
) |
Definition at line 381 of file arrays.cpp.
References _errorr, a, AVOID_CNST, give_ptr2val(), midaspace::Xvctr::give_size(), and midaspace::Xvctr::size.
Referenced by midaspace::Node::give_ssstate().
|
inline |
Definition at line 641 of file arrays.h.
References a, AVOID_CNST, resize_preserve_vals(), and midaspace::Xvctr::size.
Dvctr * midaspace::Dvctr::assign_array | ( | double * | array, |
long | s | ||
) |
Definition at line 262 of file arrays.cpp.
References a, midaspace::Xvctr::asize, midaspace::Xvctr::cnst, errol, and midaspace::Xvctr::exta.
Dvctr * midaspace::Dvctr::assign_array | ( | const double * | array, |
long | s | ||
) |
Definition at line 272 of file arrays.cpp.
References a, midaspace::Xvctr::asize, midaspace::Xvctr::cnst, errol, and midaspace::Xvctr::exta.
void midaspace::Dvctr::be_mean_of | ( | const Dmtrx * | src | ) |
Definition at line 350 of file arrays.cpp.
References a, beCopyOf(), dvdby(), midaspace::Xmtrx::give_ccols(), midaspace::Xmtrx::give_crows(), and midaspace::Dmtrx::give_ptr2val().
Referenced by midaspace::Quadrangle::give_ssstate().
void midaspace::Dvctr::be_tnsr | ( | const Dmtrx & | src | ) |
Definition at line 315 of file arrays.cpp.
References _errorr, a, AVOID_CNST, midaspace::Xmtrx::give_ccols(), midaspace::Xmtrx::give_crows(), midaspace::Dmtrx::give_ptr2val(), and resize_ignore_vals().
Definition at line 333 of file arrays.cpp.
References _errorr, a, AVOID_CNST, give_ptr2val(), midaspace::Xvctr::give_size(), and resize_ignore_vals().
|
inline |
Definition at line 632 of file arrays.h.
References a, resize_ignore_vals(), midaspace::Elem3D::x, midaspace::Elem3D::y, and midaspace::Elem3D::z.
Referenced by be_mean_of(), midaspace::Triangle::give_ssstate(), midaspace::Brick::give_ssstate(), midaspace::ElemAttribs::set_MatStiffMtrx(), tnsrRotAxisZangle(), and tnsrRotWith().
|
inline |
Definition at line 633 of file arrays.h.
References a, AVOID_CNST, and midaspace::Xvctr::size.
|
inline |
Definition at line 634 of file arrays.h.
References a, resize_ignore_vals(), and midaspace::Xvctr::size.
|
inline |
Definition at line 635 of file arrays.h.
References a, resize_ignore_vals(), and midaspace::Xvctr::size.
|
inline |
Definition at line 636 of file arrays.h.
References a, resize_ignore_vals(), and midaspace::Xvctr::size.
|
inline |
Definition at line 638 of file arrays.h.
References a, and midaspace::Xvctr::size.
|
inlinevirtual |
void midaspace::Dvctr::dvdby | ( | double | val | ) |
Definition at line 384 of file arrays.cpp.
References a, AVOID_CNST, and midaspace::Xvctr::size.
Referenced by be_mean_of(), midaspace::Node::give_ssstate(), and normalize().
Dvctr * midaspace::Dvctr::free | ( | void | ) |
Definition at line 283 of file arrays.cpp.
References a, midaspace::Xvctr::asize, midaspace::Xvctr::cnst, midaspace::Xvctr::exta, and midaspace::Xvctr::shft.
|
inlinevirtual |
Implements midaspace::Array.
Definition at line 571 of file arrays.h.
References midaspace::ATdouble.
|
inlinevirtual |
Implements midaspace::Xvctr.
Definition at line 570 of file arrays.h.
References midaspace::DvctrClass.
double midaspace::Dvctr::give_dotproduct | ( | const Dvctr & | v | ) |
Definition at line 369 of file arrays.cpp.
References a, and midaspace::Xvctr::size.
|
virtual |
Implements midaspace::Xvctr.
Definition at line 292 of file arrays.cpp.
References _warningg, a, and midaspace::Xvctr::size.
Referenced by normalize().
long midaspace::Dvctr::give_number_of_nonzeros | ( | void | ) | const |
|
inline |
return pointer to
Definition at line 618 of file arrays.h.
References a, and AVOID_CNST.
Referenced by add(), addtms(), midaspace::Dmtrx::be_tnsr(), be_vectproduct(), midaspace::Dmtrx::copy_row(), midaspace::MatriX::rotate(), sbt(), and midaspace::SP_scan_Dvctr_exit().
|
inline |
double midaspace::Dvctr::give_sum | ( | void | ) | const |
Definition at line 304 of file arrays.cpp.
References a, and midaspace::Xvctr::size.
double midaspace::Dvctr::give_zero | ( | double | abszero, |
double | relzero | ||
) | const |
|
virtual |
void round2zero (double zero, double absZero);
Implements midaspace::Array1d.
Definition at line 510 of file arrays.cpp.
References NUM_DIGITS_IN_PRINTED_EXPONENT.
|
virtual |
Implements midaspace::Xvctr.
Definition at line 512 of file arrays.cpp.
References NUM_DIGITS_IN_PRINTED_EXPONENT.
|
virtual |
Implements midaspace::Xvctr.
Definition at line 511 of file arrays.cpp.
References NUM_DIGITS_IN_PRINTED_EXPONENT.
void midaspace::Dvctr::normalize | ( | void | ) |
Definition at line 466 of file arrays.cpp.
References AVOID_CNST, dvdby(), and give_lenght().
|
inline |
Definition at line 574 of file arrays.h.
References _errorr, a, and midaspace::Xvctr::size.
|
inline |
Definition at line 580 of file arrays.h.
References _errorr, a, and midaspace::Xvctr::size.
|
virtual |
Implements midaspace::Array1d.
Definition at line 530 of file arrays.cpp.
References a, errol, midaspace::give_copy_r2z(), NUM_DIGITS_IN_PRINTED_EXPONENT, and midaspace::Xvctr::size.
|
virtual |
Implements midaspace::Xvctr.
Definition at line 598 of file arrays.cpp.
References a, errol, midaspace::give_copy_r2z(), midaspace::pprint_symtensor(), and midaspace::pprint_tensor_zero().
|
virtual |
Implements midaspace::Xvctr.
Definition at line 611 of file arrays.cpp.
References a, errol, midaspace::give_copy_r2z(), midaspace::pprint_symtensor(), and midaspace::pprint_tensor_zero().
|
virtual |
Implements midaspace::Xvctr.
Definition at line 545 of file arrays.cpp.
References a, errol, and midaspace::give_copy_r2z().
void midaspace::Dvctr::realloc | ( | long | newsize | ) |
reallocate up receiver
Definition at line 248 of file arrays.cpp.
References a, midaspace::Xvctr::asize, and midaspace::Xvctr::size.
Referenced by resize_ignore_vals(), and resize_preserve_vals().
|
inline |
Definition at line 595 of file arrays.h.
References _errorr, AVOID_CNST, midaspace::Xvctr::exta, realloc(), and midaspace::Xvctr::size.
Referenced by be_tnsr(), be_vectproduct(), beCopyOf(), midaspace::FElement::fillupbyzero(), midaspace::Node::give_ssstate(), midaspace::Beam::give_ssstate(), midaspace::PointAttribs::setup_full_alloc_DOFvals(), midaspace::Node::setup_full_alloc_DOFvals_at(), and midaspace::SP_scan_Dvctr_exit().
|
inline |
Definition at line 593 of file arrays.h.
References AVOID_CNST, AVOID_EXTA, realloc(), and midaspace::Xvctr::size.
Referenced by append().
|
inline |
Definition at line 601 of file arrays.h.
References midaspace::Xvctr::asize, AVOID_CNST, AVOID_EXTA, and midaspace::Xvctr::size.
void midaspace::Dvctr::sbt | ( | const Dvctr & | src | ) |
Definition at line 382 of file arrays.cpp.
References _errorr, a, AVOID_CNST, give_ptr2val(), midaspace::Xvctr::give_size(), and midaspace::Xvctr::size.
|
inlinevirtual |
Implements midaspace::Xvctr.
Definition at line 614 of file arrays.h.
References a, midaspace::Xvctr::size, and midaspace::SP_scan_array().
|
inlinevirtual |
Implements midaspace::Xvctr.
Definition at line 613 of file arrays.h.
References a, AVOID_CNST, and midaspace::Xvctr::shft.
void midaspace::Dvctr::tmsby | ( | double | val | ) |
Definition at line 391 of file arrays.cpp.
References a, AVOID_CNST, and midaspace::Xvctr::size.
void midaspace::Dvctr::tnsrRotAxisZangle | ( | double | a | ) |
rotate coord system around axis z by angle
Definition at line 442 of file arrays.cpp.
References _errorr, a, AVOID_CNST, and beCopyOf().
Referenced by midaspace::Triangle::rotate2local().
void midaspace::Dvctr::tnsrRotWith | ( | const Dmtrx & | rot | ) |
this = rot * this * rot^transp
Definition at line 413 of file arrays.cpp.
References _errorr, a, AVOID_CNST, and beCopyOf().
void midaspace::Dvctr::tnsrRotWith1 | ( | const Dmtrx & | rot | ) |
void midaspace::Dvctr::tnsrRotWith2 | ( | const Dmtrx & | rot | ) |
|
inline |
Definition at line 630 of file arrays.h.
References a, AVOID_CNST, and midaspace::Xvctr::size.
Referenced by midaspace::FElement::fillupbyzero(), midaspace::Node::give_ssstate(), midaspace::Node::read_output_OOFEM(), midaspace::Node::read_output_SIFEL(), and midaspace::PointAttribs::setup_full_alloc_DOFvals().
double* midaspace::Dvctr::a |
Definition at line 559 of file arrays.h.
Referenced by add(), addtms(), append(), assign_array(), be_mean_of(), be_tnsr(), be_vectproduct(), beCopyOf(), copy_to(), cpat(), Dvctr(), dvdby(), free(), give_dotproduct(), give_lenght(), give_ptr2val(), give_sum(), operator[](), print(), print_symtensor(), print_vector(), realloc(), sbt(), scan(), shift(), tmsby(), tnsrRotAxisZangle(), tnsrRotWith(), zero(), and ~Dvctr().