|
| Field () |
|
| Field (const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX) |
|
Field | clone () const |
|
void | reset (const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX) |
|
Field & | operator= (const Field &v) |
|
int | nin () const |
|
int | nvol () const |
|
int | nex () const |
|
element_type | field_element_type () const |
|
int | ntot () const |
|
int | size () const |
|
bool | check_size (const int nin, const int nvol, const int nex) const |
| checking size parameters. [23 May 2016 H.Matsufuru] More...
|
|
double | cmp (const int jin, const int site, const int jex) const |
|
double | cmp (const int i) const |
|
const double * | ptr (const int jin, const int site, const int jex) const |
|
double * | ptr (const int jin, const int site, const int jex) |
|
const double * | ptr (const int i) const |
|
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) |
|
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...
|
|
void | dot_and_norm2 (double &yx, double &y2, double &x2, const Field &y, const Field &x) |
| calculate <y|x>, <y|y> and <x|x> simultaneously More...
|
|
void | dot_and_norm2 (double &yx, double &y2, double &x2, const Field &y, const int exy, const Field &x, const int exx) |
|
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 | dotc_and_norm2 (double &yx, double &y2, double &x2, const Field &y, const Field &x) |
| calculate <y|x>, <y|y> and <x|x> simultaneously More...
|
|
void | dotc_and_norm2 (double &yx, double &y2, double &x2, const Field &y, const int exy, const Field &x, const int exx) |
|
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]
add dot_and_nomr2, dotc_and_norm2 [30 Sep 2019 I.Kanamori] change myindex from int to size_t [ 6 Jan 2020 I.Kanamori]
Definition at line 45 of file field.h.