Package gov.nist.microanalysis.EPQLibrary

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass


        if (phDets.isEmpty())
            return;

        // Generation
        AlgorithmClass classFluo = strategy.getAlgorithm(FluorescenceMC.class);
        boolean hasFluo =
                classFluo == FluorescenceMC.Fluorescence ||
                        classFluo == FluorescenceMC.FluorescenceCompton;

        CharacteristicXRayGeneration3 characGen =
View Full Code Here


        // Extrator
        Strategy strategy = ModelExtractorFactory.REGISTERED.extract(element);

        // Test
        AlgorithmClass alg =
                strategy.getAlgorithm(RandomizedScatterFactory.class);
        assertEquals(NISTMottScatteringAngle.Factory, alg);
    }
View Full Code Here

        // Extrator
        Strategy strategy = ModelExtractorFactory.REGISTERED.extract(element);

        // Test
        AlgorithmClass alg =
                strategy.getAlgorithm(IonizationCrossSection.class);
        assertEquals(AbsoluteIonizationCrossSection.BoteSalvat2008, alg);
    }
View Full Code Here

        // Extrator
        Strategy strategy = ModelExtractorFactory.REGISTERED.extract(element);

        // Test
        AlgorithmClass alg =
                strategy.getAlgorithm(MeanIonizationPotential.class);
        assertEquals(MeanIonizationPotential.Sternheimer64, alg);
    }
View Full Code Here

        // Extrator
        Strategy strategy = ModelExtractorFactory.REGISTERED.extract(element);

        // Test
        AlgorithmClass alg =
                strategy.getAlgorithm(BetheElectronEnergyLoss.class);
        assertEquals(BetheElectronEnergyLoss.JoyLuo1989, alg);
    }
View Full Code Here

        // Extrator
        Strategy strategy = ModelExtractorFactory.REGISTERED.extract(element);

        // Test
        AlgorithmClass alg =
                strategy.getAlgorithm(MassAbsorptionCoefficient.class);
        assertEquals(MassAbsorptionCoefficient.Null, alg);
    }
View Full Code Here

        // Extrator
        Strategy strategy = ModelExtractorFactory.REGISTERED.extract(element);

        // Test
        AlgorithmClass alg =
                strategy.getAlgorithm(FluorescenceMC.class);
        assertEquals(FluorescenceMC.FluorescenceCompton, alg);
    }
View Full Code Here

    @Test
    public void testGetStrategy() {
        Strategy strategy = extractor.getStrategy();

        AlgorithmClass alg =
                strategy.getAlgorithm(RandomizedScatterFactory.class);
        assertEquals(NISTMottScatteringAngle.Factory, alg);

        alg = strategy.getAlgorithm(IonizationCrossSection.class);
        assertEquals(AbsoluteIonizationCrossSection.BoteSalvat2008, alg);
View Full Code Here

TOP

Related Classes of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.