Greens-code
A modular quantum transport code
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
Bild Class Reference

Class to contain wave-function image data. More...

#include <generate_wavefunction.hpp>

Public Types

typedef std::vector< complex >::const_iterator const_iterator
 

Public Member Functions

double d () const
 length (in units of the Hamiltonian geometry) of one pixel
 
double width () const
 width of the image (in units of the Hamiltonian geometry
 
double length () const
 length of the image (in units of the Hamiltonian geometry
 
size_t nx () const
 number of pixels in x direction
 
size_t ny () const
 number of pixels in y direction
 
size_t size () const
 total number of pixels
 
const pointpos_0 () const
 position where to start drawing the image
 
double rotation () const
 rotation of the geometry
 
complex pixel (size_t ix, size_t iy) const
 value of wavefunction at pixel ix,iy
 
void set_pixel (size_t ix, size_t iy, complex v)
 change value of wavefunction at pixel ix,iy
 
void multiply_by_number (complex v)
 multiply whole image with complex number v; Added by AG
 
const_iterator begin () const
 
const_iterator end () const
 
std::unique_ptr< Bildidentical_image_from_vector (Vector &d) const
 
std::unique_ptr< std::vector< complex > > identical_vector_from_image (void) const
 Added by AG.
 

Static Public Member Functions

static std::unique_ptr< Bildimage_from_vector (Vector &data, double d, int nx, int ny)
 

Friends

class image_Factory
 
class image_slice_coloring
 

Detailed Description

Class to contain wave-function image data.

Bild stores a two-dimensional, complex wavefunction written by pencils. The pixels of Bild should be the complex values of psi at the respective points


The documentation for this class was generated from the following files: