ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
realArrayTest Class Reference
Inheritance diagram for realArrayTest:
Collaboration diagram for realArrayTest:

Protected Attributes

ModuleBase::realArray a3
ModuleBase::realArray a4
ModuleBase::realArray b3
ModuleBase::realArray b4
double aa = 11.0
double bb = 1.0
int count0 = 0
int count1 = 0
const double zero = 0.0

Detailed Description

  • Tested Functions:
    • GetArrayCount
      • get the total number of real array created
    • Construct
      • construct real arrays (3 or 4 dimensions)
    • Creat
      • create a real array (3 or 4 dimensions)
    • GetSize
      • get the total size of a real array
    • GetDim
      • get the dimension of a real array
    • ZeroOut
      • set all elements of a real array to zero
    • GetBound
      • get the size of each dimension of a real array
    • ArrayEqReal
      • set all value of an array to a double float
    • ArrayEqArray
      • equal a realarray to another one
    • Parentheses
      • access element by using operator"()"
    • ConstParentheses
      • access element by using "()" through pointer
      • without changing its elements
    • realArrayAlloc
      • output the warning message when allocation error for realArray
      • occurs
    • zeros
      • set all elements of a 1_d array to zero

Member Data Documentation

◆ a3

ModuleBase::realArray realArrayTest::a3
protected

◆ a4

ModuleBase::realArray realArrayTest::a4
protected

◆ aa

double realArrayTest::aa = 11.0
protected

◆ b3

ModuleBase::realArray realArrayTest::b3
protected

◆ b4

ModuleBase::realArray realArrayTest::b4
protected

◆ bb

double realArrayTest::bb = 1.0
protected

◆ count0

int realArrayTest::count0 = 0
protected

◆ count1

int realArrayTest::count1 = 0
protected

◆ zero

const double realArrayTest::zero = 0.0
protected

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