Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mdp_complex_field Class Reference

field of complex numbers or vectors of complex numbers More...

#include <mdp_complex_field.h>

Inheritance diagram for mdp_complex_field:

mdp_field< mdp_complex > dwfermi_field em_field fermi_field fermi_propagator gauge_field sdwf_field staggered_field List of all members.

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)

Detailed Description

field of complex numbers or vectors of complex numbers

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;
    


The documentation for this class was generated from the following file:
Generated on Sun Feb 27 15:12:25 2005 by  doxygen 1.4.1