Ejemplo n.º 1
0
    def collect_Structure(self, item, **kwargs):
        if self.echo:
            LOG.info("Defining Structure %s with %d elements." %
                     (item.name, len(item.elements)))
        self.set_current_structure(item)

        self.__collect_structure_header__(item)
        self.collect(item.elements, **kwargs)
        self.__collect_structure_footer__(item)
        return
Ejemplo n.º 2
0
 def __str_structure_header__(self, item):
     LOG.info("STRUCTURE: " + item.name)
     return self.__str_object__(item)
Ejemplo n.º 3
0
 def __scaleFluxplane(self, pFluxplane, pScalefactor):
     LOG.info("Scaling fluxplane with factor %f ...." % pScalefactor)
     pFluxplane.scale_dfts(pScalefactor)
     return None