text: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  """
  Created on Mon Mar 28 13:43:00 2022
  
  @author: sampasmann
  """
  
  # -*- coding: utf-8 -*-
  
  import numpy as np
  from src.functions.material import Material
  from src.functions.mesh import Mesh
  from src.init_files.reeds_solution import reeds_sol
  
  class ReedsInit:
      def __init__(self, N=2**12, Nx=180, generator="sobol"):
          self.N = N
          self.Nx = Nx
          self.generator = generator
          self.totalDim = 2
          self.RB = 8.0
          self.LB = -8.0
          self.G = 1
          self.right = False
          self.left = False
          self.material_code = "reeds_data"
          self.geometry = "slab"
          self.avg_scalar_flux = True
          self.edge_scalar_flux = False
          self.avg_angular_flux = False
          self.avg_current = False
          self.edge_current = False
          self.shannon_entropy = False
          self.save_data = True
          self.moment_match = False
          self.true_flux = reeds_sol(self.Nx)
          self.mesh = Mesh(self.LB, self.RB, self.Nx)
          self.material = Material(self.material_code, self.geometry, self.mesh)
          self.source = self.material.source
          
          