def set_thermal_properties( self, t_step=10, t_max=1000, t_min=0, cutoff_eigenvalue=None ): if self.__mesh==None: print "set_mesh has to be done before set_thermal_properties" sys.exit(1) tp = ThermalProperties( self.__mesh.get_eigenvalues(), weights=self.__mesh.get_weights(), factor=self.factor, cutoff_eigenvalue=cutoff_eigenvalue ) tp.set_thermal_properties( t_step, t_max, t_min ) self.__thermal_properties = tp
def set_thermal_properties(self, t_step=10, t_max=1000, t_min=0, is_projection=False, cutoff_frequency=None): if self._mesh == None: print "set_mesh has to be done before set_thermal_properties" sys.exit(1) tp = ThermalProperties(self._mesh.get_frequencies(), weights=self._mesh.get_weights(), eigenvectors=self._mesh.get_eigenvectors(), is_projection=is_projection, cutoff_frequency=cutoff_frequency) tp.set_thermal_properties(t_step, t_max, t_min) self._thermal_properties = tp
def set_thermal_properties(self, t_step=10, t_max=1000, t_min=0, is_projection=False, cutoff_frequency=None): if self._mesh==None: print "set_mesh has to be done before set_thermal_properties" sys.exit(1) tp = ThermalProperties(self._mesh.get_frequencies(), weights=self._mesh.get_weights(), eigenvectors=self._mesh.get_eigenvectors(), is_projection=is_projection, cutoff_frequency=cutoff_frequency) tp.set_thermal_properties(t_step, t_max, t_min) self._thermal_properties = tp
def set_thermal_properties(self, t_step=10, t_max=1000, t_min=0, is_projection=False, band_indices=None, cutoff_frequency=None): if self._mesh is None: print "set_mesh has to be done before set_thermal_properties" return False else: tp = ThermalProperties(self._mesh.get_frequencies(), weights=self._mesh.get_weights(), eigenvectors=self._mesh.get_eigenvectors(), is_projection=is_projection, band_indices=band_indices, cutoff_frequency=cutoff_frequency) tp.set_thermal_properties(t_step=t_step, t_max=t_max, t_min=t_min) self._thermal_properties = tp