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

mdp_vector_field Class Reference

a field of vectors of complex numbers More...

#include <mdp_vector_field.h>

Inheritance diagram for mdp_vector_field:

mdp_field< mdp_complex > List of all members.

Public Member Functions

 mdp_vector_field (mdp_vector_field &field)
 mdp_vector_field (mdp_lattice &a, int i)
void allocate_mdp_vector_field (mdp_lattice &a, int i)
mdp_matrix operator() (mdp_site x)
mdp_complexoperator() (mdp_site x, int i)
 returns component i of the vector of objects T stored at site x
const mdp_complexoperator() (mdp_site x, int i) const

Public Attributes

int rows
int columns
int imax

Detailed Description

a field of vectors of complex numbers

Example:

       int box[]={10,10,10};
       mdp_lattice lattice(3,box);
       mdp_vector_field h(lattice,10);
       mdp_site x(lattice);
       forallsites(x)
         h(x)=0.0+0.0*I;
    


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