#include <mdp_complex_field.h>
Inheritance diagram for mdp_complex_field:

Public Member Functions | |
| mdp_complex_field (mdp_lattice &lattice, int n=1) | |
| void | operator= (const mdp_complex_field &psi) |
| void | operator *= (const mdp_complex alpha) |
| void | operator/= (const mdp_complex alpha) |
| void | operator *= (const mdp_real alpha) |
| void | operator/= (const mdp_real alpha) |
| void | operator+= (mdp_complex_field &psi) |
| void | operator-= (mdp_complex_field &psi) |
| bool | save_as_float (string filename, int processIO=0, long max_buffer_size=1024, bool load_header=true, long skip_bytes=0) |
| bool | load_as_float (string filename, int processIO=0, long max_buffer_size=1024, bool load_header=true, long skip_bytes=0) |
| bool | load_as_double (string filename, int processIO=0, long max_buffer_size=1024, bool load_header=true, long skip_bytes=0) |
| bool | save_as_double (string filename, int processIO=0, long max_buffer_size=1024, bool load_header=true, long skip_bytes=0) |
Friends | |
| mdp_real | norm_square (mdp_complex_field &psi, int parity=EVENODD) |
| mdp_complex | scalar_product (mdp_complex_field &psi, mdp_complex_field &chi, int parity=EVENODD) |
| mdp_real | real_scalar_product (mdp_complex_field &psi, mdp_complex_field &chi, int parity=EVENODD) |
| mdp_real | imag_scalar_product (mdp_complex_field &psi, mdp_complex_field &chi, int parity=EVENODD) |
| void | mdp_add_scaled_field (mdp_complex_field &psi, mdp_real alpha, mdp_complex_field &chi, int parity=EVENODD) |
| void | mdp_add_scaled_field (mdp_complex_field &psi, mdp_complex alpha, mdp_complex_field &chi, int parity=EVENODD) |
| mdp_complex | operator * (mdp_complex_field &psi, mdp_complex_field &chi) |
| mdp_real | relative_residue (mdp_complex_field &p, mdp_complex_field &q, int parity=EVENODD) |
Example:
int box[]={10,10,10};
mdp_lattice lattice(3,box);
mdp_complex_field psi(lattice,10);
mdp_site x(lattice);
forallsites(x)
for(int i=0; i<10; i++)
psi(x,i)=0.0+0.0*I;
1.4.1