mistakenly committed table2ang in rev 2380, instead of vtk2ang. reverted changes in table2ang

This commit is contained in:
Christoph Kords 2013-05-08 15:58:17 +00:00
parent 85d4a37d95
commit bd33169118
1 changed files with 0 additions and 35 deletions

View File

@ -144,41 +144,6 @@ for file in files:
table = damask.ASCIItable(file['input']) # open ASCII_table for reading
table.head_read() # read ASCII header info
# read in original data as vectors:
# 1) deformed coordinates in x,y,z -> originalPoints
# 2) PER undeformed coordinates in x,y,z -> geomSize
# 3) PER deformation gradient -> defgrad
# 4) PER calc average deformation gradient -> avgDefgrad
# 5) corresponding data columns -> data
# generate target coordinates
# 1) bounding box from original coordinates
# 2) equally fill bounding box with points
# needs slicing direction, number of slices, point distance, and grid type (either hex or cube) -> targetPoints
# 3) NON find points that lie outside the original geometry and store in logical map -> phantomPointFlag
# get nearest neighbor mapping
# 1) PER map from math_nearestNeighbors(geomSize,avgDefgrad,targetPoints,originalPoints)
# NON map from math_nearestNeighbors(targetPoints,originalPoints)
# write out ang file
# 1) write header
# 2) loop over targetPoints
# a) if not phantomPointFlag then write orientation
# b) else then write fake orientation
# alternatively:
# 2) loop over targetPoints and write orientation
# 3) convert phantomPintFlag to image quality data
# --------------- figure out dimension and resolution
try: