Examples of AlgorithmClass


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

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

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

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

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

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

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

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

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

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

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

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

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

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

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

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

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

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

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

Examples of gov.nist.microanalysis.EPQLibrary.AlgorithmClass

    @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
Copyright © 2018 www.massapi.com. 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.