def __init__(self, UI): # Class initialization self.UI = UI print 'Initializing Traction Force Reconstruction...' print('') print('Job Name: ' + self.UI['job_name']) # Save variable describing the path of the displacement vector data prepared # with the reference configuration reconstruction tool self.UI['Path_PreparedData'] = '../PreparedData/' # initialize an instance of the CAE class self.CAE = Classes.CAE_Container('../' + self.UI['BaseModelPath']) # set additional variables and the define predefined options (if not already defined in the user input UI) self.UI['substrate_thickness'] = self.CAE.thickness self.UI['mesh_growt'] = 0 self.UI['quadratic_formulation'] = 0 self.UI['BasisFunction'] = 'thin-plate' self.UI['IgnoreSwitchedTriangles'] = False UI['Interpolation'] = 'RBF'