code: def _fill_teffs(self, mesh=None, ignore_effects=False, **kwargs):
          r
          logger.debug("{}._fill_teffs".format(self.component))
  
          if mesh is None:
              mesh = self.mesh
  
          # Now we can compute the local temperatures.
          # see PHOEBE Legacy scientific reference eq 5.23
          teffs = self.instantaneous_tpole*mesh.gravs.for_computations**0.25
  
          if not ignore_effects:
              for feature in self.features:
                  if feature.proto_coords:
                      teffs = feature.process_teffs(teffs, mesh.roche_coords_for_computations, s=self.polar_direction_xyz, t=self.time)
                  else:
                      teffs = feature.process_teffs(teffs, mesh.coords_for_computations, s=self.polar_direction_xyz, t=self.time)
  
          mesh.update_columns(teffs=teffs)
  
          if not self.needs_recompute_instantaneous:
              logger.debug("{}._fill_teffs: copying teffs to standard mesh".format(self.component))
              theta = 0.0
              self._standard_meshes[theta].update_columns(teffs=teffs)
docs: r"""
  
          requires _fill_loggs and _fill_gravs to have been called
  
          Calculate local temperature of a Star.