Class : BinaryThreeDConstantCellPotential

class deriving from ThreeDConstantCellPotential

BinaryThreeDConstantCellPotential :

prototype: BinaryThreeDConstantCellPotential (int , int , int numberZ )

description:constructor


input parameters:
numberX, numberY, numberZ = number of cells in X, Y and Z directions respectively



~BinaryThreeDConstantCellPotential :

prototype: virtual ~BinaryThreeDConstantCellPotential ()

description:destructor



SaveDiagram :

prototype: virtual void SaveDiagram (char* fileName )

description:save the diagram of atoms in a file


input parameters:
fileName = name of the file to stock the diagram



LoadDiagram :

prototype: virtual void LoadDiagram (char* fileName )

description:load the diagram of atoms from a file


input parameters:
fileName = name of the file in which the diagram is stocked



SetPotential :

prototype: virtual void SetPotential (int , int , int , double& value )

description:assign the potential a value at a given position


input parameters:
i = x coordinate of the considered cell
j = y coordinate of the considered cell
k = z coordinate of the considered cell
value = value of potential



GetPotential :

prototype: virtual double GetPotential (int , int , int k )

description:get the potential at a given position


input parameters:
i = x coordinate of the considered cell
j = y coordinate of the considered cell
k = z coordinate of the considered cell


return value: the potential in the cell



SaveBmpPicture :

prototype: virtual void SaveBmpPicture (char* fileName )

description:save the whole diagram presentation in a bitmap file


input parameters:
fileName = name of the file to stock the diagram presentation



SaveBmpPicture :

prototype: bool SaveBmpPicture (int , int , int , int , int , int , int , int , int , PicRGB& , PicRGB& , PicRGB& , int , char* fileName )

description:save the diagram to a bitmap file


input parameters:
under = the number of monolayers omitted under the considered structure
above = the number of monolayers omitted above the considered structure
startX = point to start in diagram in X direction
endX = point to end in diagram in X direction
startY = point to start in diagram in Y direction
endY = point to end in diagram in Y direction
choice = choice of orientation: 1 for XY, 2 for XZ, 3 for YZ
sizeX = the size in X direction of each cell in pixel
sizeY = the size in Y direction of each cell in pixel
InN = color (in RGB definition) of InN cell
GaN = color (in RGB definition) of GaN cell
background = color (in RGB definition) of background
NbrX = number of cell displayed in X direction
fileName = name of the file to store the picture
return = true if succeeded, false otherwise



Back to index.