Ejemplo n.º 1
0
 public KatayamaGeometry(CylinderReflector nozzle, CylinderReflector reflector, Shield shield, Shield target, CylinderReflector chamber, Shield chamberTop, Shield chamberBottom, int limit, double reflectionCoefficient, Atom.ReflectionPattern pattern)
     : base(limit, reflectionCoefficient, pattern, new Structure[7])
 {
     Nozzle        = nozzle;
     Reflector     = reflector;
     Shield        = shield;
     Target        = target;
     Chamber       = chamber;
     ChamberTop    = chamberTop;
     ChamberBottom = chamberBottom;
 }
Ejemplo n.º 2
0
        public CylinderGeometry(CylinderReflector cylinder, Shield bottom, double[] distribution, double time, double interval, double flux, double resolution, int count, int limit, Atom.ReflectionPattern pattern)
            : base(limit, 1, pattern, new Structure[2])
        {
            Cylinder = cylinder;
            Bottom   = bottom;

            Time       = time;
            Interval   = interval;
            Flux       = flux;
            Count      = count;
            Resolution = resolution;
            if (distribution != null)
            {
                Distribution = distribution;
            }
            else
            {
                Distribution = new double[(int)(Cylinder.Length / Resolution)];
            }
        }