Class : EllipticalDotThreeDConstantCellPotential

class deriving from ThreeDConstantCellPotential

EllipticalDotThreeDConstantCellPotential :

prototype: EllipticalDotThreeDConstantCellPotential (int , int , int , int , int , int , int , int , double anisotropy )

description:constructor


input parameters:
numberX, numberY, numberZ = number of cells in X, Y and Z directions respectively
wettingWidth= width of wetting layers in cell unit
belowWettingLayer = height of the layer just under the wetting layer
baseRadius = base radius of the truncated cone
dotHeight = height of the dot
topRadius = base radius of the truncated cone
anisotropy = anisotropy factor



~EllipticalDotThreeDConstantCellPotential :

prototype: ~EllipticalDotThreeDConstantCellPotential ()

description:destructor



ConstructPotential :

prototype: void ConstructPotential (double dotPotential )

description:construct potential from physical parameters


input parameters:
dotPotential = potential in the dot (0 reference: potential in the bulk, outside the dot)



ShiftPotential :

prototype: virtual void ShiftPotential (double delta )

description:shift the potential with a given quantity


input parameters:
delta = shift value



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



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



Back to index.