|
| | Field () |
| |
| | Field (const int Nin, const int Nvol, const int Nex, const complexness cmpl=COMPLEX) |
| |
| void | reset (const int Nin, const int Nvol, const int Nex, const complexness cmpl=COMPLEX) |
| |
| int | nin () const |
| |
| int | nex () const |
| |
| int | nvol () const |
| |
| int | ntot () const |
| |
| int | size () const |
| |
| complexness | field_complexness () const |
| |
| double | cmp (const int jin, const int site, const int jex) const |
| |
| double | cmp (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 | 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 | norm () const |
| |
| double | ddotc (const Field &x) const |
| |
| double | norm2 () const |
| |
| void | daxpy (double a, const Field &x) |
| |
| void | daxpy (dcomplex a, const Field &x) |
| |
| void | dscal (double a) |
| |
| void | dcopy (const Field &x) |
| |
| void | dcopy (double a, const Field &x) |
| |
| void | clear () |
| |
| void | stat (double &Fave, double &Fmax, double &Fdev) |
| | 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...
|
| |
| void | write_text (std::string) |
| | write field values to a text file. More...
|
| |
| void | read_text (std::string) |
| | read field values from text file. Assumes field size is already defined, and if it is inconsistent with the field in the file, aborted. This function works only on single node. More...
|
| |
| Field & | operator- () |
| |
| Field & | operator= (const double &) |
| |
| Field & | operator+= (const Field &) |
| |
| Field & | operator-= (const Field &) |
| |
| Field & | operator*= (const double &) |
| |
| Field & | operator/= (const double &) |
| |
| double | operator* (const Field &rhs) |
| |
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 39 of file field.h.