def adaptic_print(self): if self.softening: line = utils.str_joint([ self.ID, 'stl1', self.E1, self.fy, self.mu, self.epsilon_u, self.E3 ]) else: line = utils.str_joint( [self.ID, 'stl1', self.E1, self.fy, self.mu]) return line
def adaptic_print(self, rawNr=False): if rawNr: return self.ID, 'con1', self.Ec1, self.fc1, self.Ec2, self.fc2, self.Et1, self.ft, self.Et2 elif self.rev17: line = utils.str_joint([ self.ID, 'con1', self.Ec1, self.fc1, self.Ec2, self.fc2, self.Et1, self.ft, self.Et2, -self.alpha, -1 ]) else: line = utils.str_joint([ self.ID, 'con1', self.Ec1, self.fc1, self.Ec2, self.fc2, self.Et1, self.ft, self.Et2, self.alpha ]) return line
def adaptic_print(self): # convert dictionary values of different dimensionality to a flatten list dict0 = self.__dict__ dict1 = np.array(list(dict0.values())[0:12]) dict2 = np.array(list(dict0.values())[12]) dict2 = [val for sublist in dict2 for val in sublist] line = np.hstack((dict1, dict2)) return utils.str_joint(line)
def adaptic_print(self): s_e = 0.5 * self.s_1 return utils.str_joint([ self.ID, 'bond', s_e, self.s_1, self.s_2, self.s_3, self.slip2tau(s_e), self.slip2tau(self.s_1), self.slip2tau(self.s_3) ])
def adaptic_print(self): # convert dictionary values of different dimensionality to a flatten list line = self.__dict__ line = np.array(list(line.values())[0:4]) return utils.str_joint(line)
def adaptic_print(self): return utils.str_joint([self.ID, 'stl1', self.E1, self.fy])
def adaptic_print(self): line = utils.str_joint( [self.ID, 'con2', self.fc1, self.ft, self.epsilon_1c, self.k]) return line
def adaptic_print(self, rawNr=False): return utils.str_joint([ self.ID, 'con1', self.Ec1, self.fc1, self.Ec2, self.fc2, self.Et1, self.ft, self.Et2, self.alphaC, self.alphaT ])
def adaptic_print(self): line = utils.str_joint([self.ID, 'stl1', self.E1, self.fy, self.mu]) return line