Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
test.py File Reference

Go to the source code of this file.

Namespaces

namespace  test

Variables

bool test.compute = True
 test.periodicImageMatrix = np.array([[0,0,0],[1,1,1],[2,2,2],[4,4,4]])
int test.EwaldLengthDivisions = 2
 test.curDir = os.getcwd()
 test.microstrucureFile = getStringInFile('inputFiles/initialMicrostructure.txt','microstructureFile')
str test.microstrucureFileName = curDir+'/inputFiles/'+microstrucureFile
str test.ddFileName = curDir+'/inputFiles/DD.txt'
 test.periodicImageSize = periodicImageMatrix[k]
 test.EwaldLengthFactors = np.linspace(0.0, 1.0, num=EwaldLengthDivisions)
 test.EwaldLengthFactor = EwaldLengthFactors[c];
float test.E = X*0.0;
float test.S11 = X*0.0;
float test.S12 = X*0.0;
float test.S13 = X*0.0;
float test.S22 = X*0.0;
float test.S23 = X*0.0;
float test.S33 = X*0.0;
 test.x = X[k]
 test.F
 test.Flabels
 test.aux = readAUXtxt('config/ddAux_0')
 test.data = np.empty([np.size(X),8])
str test.outFileName = 'data'+'_'+str(periodicImageSize[0])+'_'+str(periodicImageSize[1])+'_'+str(periodicImageSize[2])+'_'+str(EwaldLengthFactor)+'.txt'
 test.dataDict = dict()
 Load data into dictionary for plotting.
str test.key = str(periodicImageSize[0])+'_'+str(periodicImageSize[1])+'_'+str(periodicImageSize[2])+'_'+str(EwaldLengthFactor)
str test.FileName = 'data_'+key+'.txt'
list test.fields = ['energy','sigma11','sigma22','sigma33','sigma23','sigma13','sigma12']
list test.fieldLabels = ['elastic energy $[\mu b^3]$','$\sigma_{11}$ $[\mu]$','$\sigma_{22}$ $[\mu]$','$\sigma_{33}$ $[\mu]$','$\sigma_{23}$ $[\mu]$','$\sigma_{13}$ $[\mu]$','$\sigma_{12}$ $[\mu]$']
 test.bbox_inches