def __init__(self, exefile, **options):
     if 'community_interface' in options:
         interface = options['community_interface']
     else:
         interface = ForTestingInterface
     self.stopping_conditions = stopping_conditions.StoppingConditions(self)
     InCodeComponentImplementation.__init__(self, interface(exefile, **options), **options)
     self.my_particles = datamodel.Particles()
Ejemplo n.º 2
0
 def __init__(self, exefile, **options):
     if 'community_interface' in options:
         interface = options['community_interface']
     else:
         interface = ForTestingInterface
     self.stopping_conditions = stopping_conditions.StoppingConditions(self)
     InCodeComponentImplementation.__init__(self, interface(exefile, **options), **options)
     self.my_particles = datamodel.Particles()
Ejemplo n.º 3
0
 def __init__(self, **options):
     interface = DistributedParticlesInterface(
         implementation_factory = DistributedParticlesImplementation,
         **options
     )
     
     InCodeComponentImplementation.__init__(
         self,
         interface,
         **options
     )
Ejemplo n.º 4
0
 def __init__(self, **options):
     InCodeComponentImplementation.__init__(self, iemicInterface(**options),
                                            **options)
 def __init__(self, **options):
       InCodeComponentImplementation.__init__(self, TestInterface(), **options)
 def __init__(self, exefile, **options):
     InCodeComponentImplementation.__init__(self, ForTestingInterface(exefile, **options), **options)
 def __init__(self, exefile, **options):
     InCodeComponentImplementation.__init__(
         self, ForTestingInterface(exefile, **options), **options)
Ejemplo n.º 8
0
 def __init__(self, **options):
     InCodeComponentImplementation.__init__(self,
                                            EVtwinInterface(**options),
                                            **options)
     self.model_time = 0.0 | units.yr
Ejemplo n.º 9
0
 def __init__(self, **options):
     InCodeComponentImplementation.__init__(self, EVtwinInterface(**options), **options)
     self.model_time = 0.0 | units.yr
Ejemplo n.º 10
0
    def __init__(self, **options):
        interface = DistributedParticlesInterface(implementation_factory=DistributedParticlesImplementation, **options)

        InCodeComponentImplementation.__init__(self, interface, **options)