Update DV_creator.py

parent 5d04def4
......@@ -62,15 +62,15 @@ DV_length = len(arr[0,:])
print('The number of DV components is: {0}'.format(DV_length))
#### Printing out results
#### bcc DV ##################################
print('Results are given in: bcc_vector.dat')
file_1 = open('bcc_vector.dat','w')
print('Results are given in: bcc_W_vector.dat')
file_1 = open('bcc_W_vector.dat','w')
for i in range(0,DV_length):
file_1.write("{0} \n".format(arr[0,i]))
#### interstitial DV ##################################
print('Results are given in: interstitial_vector.dat')
file_1 = open('interstitial_vector.dat','w')
print('Results are given in: interstitial_H_vector.dat')
file_1 = open('interstitial_H_vector.dat','w')
for i in range(0,DV_length):
file_1.write("{0} \n".format(arr[432,i]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment