def __init__(self):
     super(SimpleLatticeTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput(num_dimensions=3)
     self.num_polar = 4
     self.azim_spacing = 0.12
     self.z_spacing = 0.5
     self.tolerance = 1E-4
    def __init__(self):
        super(MeshReactionRateTallyTestHarness, self).__init__()
        self.input_set = SimpleLatticeInput()

        # Change spacing to avoid having rays start on lattice planes
        # Those rays are problematic because they cross through fuel pins
        # parallelly to sector planes.
        self.spacing = 0.12
    def __init__(self):
        super(SimpleLatticeAdjointTestHarness, self).__init__()
        self.input_set = SimpleLatticeInput()
        self.calculation_mode = openmoc.ADJOINT

        # Change spacing to avoid having rays start on lattice planes
        # Those rays are problematic because they cross through fuel pins
        # parallelly to sector planes.
        self.spacing = 0.12
    def __init__(self):
        super(RayTracingMethodTestHarness, self).__init__()
        self.input_set = SimpleLatticeInput(num_dimensions=3)
        self.num_polar = 4
        self.azim_spacing = 0.4
        self.z_spacing = 1.2
        self.tolerance = 1E-3

        # To store results
        self.num_iters = []
        self.keff = []
        self.fluxes = []
        self.num_fsrs = []
        self.num_tracks = []
        self.num_segments = []
Ejemplo n.º 5
0
 def __init__(self):
     super(PlotSpatialDataTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput()
Ejemplo n.º 6
0
 def __init__(self):
     super(SimpleLatticeTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput(num_dimensions=3)
     self.num_polar = 2
     self.azim_spacing = 2.1
     self.z_spacing = 2.8
Ejemplo n.º 7
0
 def __init__(self):
     super(FindCellTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput()
     self.dimensions = 2
Ejemplo n.º 8
0
 def __init__(self):
     super(PlotMaterialsTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput()
Ejemplo n.º 9
0
 def __init__(self):
     super(MeshTallyTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput()
Ejemplo n.º 10
0
 def __init__(self):
     super(SimulationStateTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput()
Ejemplo n.º 11
0
 def __init__(self):
     super(RuntimeTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput(3)
Ejemplo n.º 12
0
 def __init__(self):
     super(SimpleLatticeAdjointTestHarness, self).__init__()
     self.input_set = SimpleLatticeInput()
     self.calculation_mode = openmoc.ADJOINT