Class : HardBoxPyramidQuantumDotThreeDConstantCellPotential

class deriving from ThreeDConstantCellPotential

HardBoxPyramidQuantumDotThreeDConstantCellPotential :

prototype: HardBoxPyramidQuantumDotThreeDConstantCellPotential (int , int , int , int , int , int , int , int topRadius )

description:constructor from geometric parameters


input parameters:
numberX, numberY, numberZ = number of cells in X, Y and Z directions respectively
under = number of monolayers under the wetting layer
above = number of monolayers above the dot
wettingWidth= width of wetting layers in cell unit
baseRadius = base radius of the truncated pyramid
topRadius = base radius of the truncated pyramid



~HardBoxPyramidQuantumDotThreeDConstantCellPotential :

prototype: virtual ~HardBoxPyramidQuantumDotThreeDConstantCellPotential ()

description:destructor



GetUnder :

prototype: int GetUnder ()

description:get the number of monolayers under the wetting layer



GetUnderSize :

prototype: double GetUnderSize (int z )

description:get the height of one monolayer under the wetting layer


input parameters:
z = the indice of the monolayer



GetUnderPotentialValue :

prototype: double GetUnderPotentialValue (int z )

description:get the potential of one monolayer under the wetting layer


input parameters:
z = the indice of the monolayer



GetAbove :

prototype: int GetAbove ()

description:get the number of monolayers above the dot



GetAboveSize :

prototype: double GetAboveSize (int z )

description:get the height of one monolayer above the dot


input parameters:
z = the indice of the monolayer, which is counted from 0



GetAbovePotentialValue :

prototype: double GetAbovePotentialValue (int z )

description:get the potential of one monolayer above the dot


input parameters:
z = the indice of the monolayer, which is counted from 0



ConstructPotential :

prototype: void ConstructPotential (double , double , double , double , double , double , double , double , bool , char* fileName )

description:contruct the potential from electric fields


input parameters:
noInNProbability = probability for having InN without InN neighborhood
withInNProbability = probability for having InN with InN neighborhood
downField, wettingField, dotField, upField = the electric field in respective parts
offset = offset bulk-alloy material
cellSizeZ = height of a monolayer
scratch = true if constructed from nothing, else from existing Diagram
fileName = file to store parameters



ShiftPotential :

prototype: virtual void ShiftPotential (double delta )

description:shift the potential with a given quantity


input parameters:
delta = shift value



Neighborhood :

prototype: bool Neighborhood (int , int , int h )

description:determine if there is any In in the first neigbor region (6 possibilities)


input parameters:
m, n, h = three coordinations of the considered cell
return = true if there is any InN neighborhood, false otherwise



InTheDot :

prototype: bool InTheDot (int , int , int z )

description:determine if a cell is in the dot or wetting layer


input parameters:
x = x coordinate of the cell
y = y coordinate of the cell
z = z coordinate of the cell
return = true if the cell is in the dot, false otherwise



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



SavePotentialWithConstantField :

prototype: virtual void SavePotentialWithConstantField (char* fileName )

description:save the potential in a file as a reduced form


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



LoadPotentialWithConstantField :

prototype: virtual void LoadPotentialWithConstantField (char* fileName )

description:load the potential from a file as a reduced form


input parameters:
fileName = name of the potential file



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



GetConcentration :

prototype: double GetConcentration ()

description:get the concentration


input parameters:
return = concentration value, in ration of 1.0



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



Back to index.