|
| Field () |
|
| Field (const int Nin, const int Nvol, const int Nex, const element_type cmpl=COMPLEX) |
|
Field | clone () const |
|
void | reset (const int Nin, const int Nvol, const int Nex, const element_type cmpl=COMPLEX) |
|
Field & | operator= (const double a) |
|
int | nin () const |
|
int | nvol () const |
|
int | nex () const |
|
element_type | field_element_type () const |
|
int | ntot () const |
|
int | size () const |
|
double | cmp (const int jin, const int site, const int jex) const |
|
double | cmp (const int i) const |
|
double * | ptr (const int jin, const int site, const int jex) |
|
double * | ptr (const int i) |
|
void | set (const int jin, const int site, const int jex, double v) |
|
void | set (const int i, double v) |
|
void | set (double a) |
|
void | add (const int jin, const int site, const int jex, double v) |
|
void | add (const int i, double v) |
|
void | setpart_ex (int ex, const Field &w, int exw) |
|
void | addpart_ex (int ex, const Field &w, int exw) |
|
void | addpart_ex (int ex, const Field &w, int exw, double prf) |
|
Field & | operator+= (const Field &v) |
|
Field & | operator-= (const Field &v) |
|
Field & | operator*= (const double a) |
|
Field & | operator/= (const double a) |
|
Field & | operator*= (const dcomplex a) |
|
double | operator* (const Field &rhs) |
|
double | norm2 () const |
|
double | norm () const |
|
void | stat (double &Fave, double &Fmax, double &Fdev) const |
| determines the statistics of the field. average, maximum value, and deviation is determined over global lattice. On-site degree of freedom is sumed over in quadrature, not averaged. This function works only on single node. More...
|
|
|
double | dot (const Field &y, const Field &x) |
|
double | dot (const Field &y, const int exy, const Field &x, const int exx) |
| dot(y[j], x[k]) := y[j]^T x[k] More...
|
|
dcomplex | dotc (const Field &y, const Field &x) |
|
dcomplex | dotc (const Field &y, const int exy, const Field &x, const int exx) |
| dotc(y, j, x, k) := y[j]^dag x[k] More...
|
|
void | axpy (Field &y, const double a, const Field &x) |
| axpy(y, a, x): y := a * x + y More...
|
|
void | axpy (Field &y, const int exy, const double a, const Field &x, const int exx) |
| axpy(y, j, a, x, k): y[j] := a * x[k] + y[j] More...
|
|
void | axpy (Field &y, const dcomplex a, const Field &x) |
|
void | axpy (Field &y, const int exy, const dcomplex a, const Field &x, const int exx) |
| axpy(y, j, a, x, k): y[j] := a * x[k] + y[j] More...
|
|
void | scal (Field &x, const double a) |
| scal(x, a): x = a * x More...
|
|
void | scal (Field &x, const int exx, const double a) |
| scal(x, k, a): x[k] = a * x[k] More...
|
|
void | scal (Field &x, const dcomplex a) |
|
void | scal (Field &x, const int exx, const dcomplex a) |
| scal(x, k, a): x[k] = a * x[k] More...
|
|
void | copy (Field &y, const Field &x) |
| copy(y, x): y = x More...
|
|
void | copy (Field &y, const int exy, const Field &x, const int exx) |
| copy(y, j, x, k): y[j] = x[k] More...
|
|
void | aypx (const double a, Field &y, const Field &x) |
| aypx(y, a, x): y := a * y + x More...
|
|
void | aypx (const dcomplex a, Field &y, const Field &x) |
|
Container of Field-type object.
This class defines field-type quantity which has three size parameters, Nin: on-site degree of freedom, Nvol: site d.o.f, Nex: extra d.o.f. The detailed structure of these degrees of freedom is not defined in this class but in subclasses. Expression template was implemented by J.Noaki. [28 Dec 2011 H.Matsufuru]
Definition at line 37 of file field.h.