English Français

Documentation / Manuel utilisateur en C++ : PDF version

Chapter XIV. Use-cases in C++

Chapter XIV. Use-cases in C++

version v4.9.0

Table of Contents

XIV.1. Introduction
XIV.2. Macros DataServer
XIV.2.1. Macro "dataserverAttributes.C"
XIV.2.2. Macro "dataserverMerge.C"
XIV.2.3. Macro "dataserverLoadASCIIFilePasture.C"
XIV.2.4. Macro "dataserverLoadASCIIFile.C"
XIV.2.5. Macro "dataserverLoadASCIIFileYoungsModulus.C"
XIV.2.6. Macro "dataserverLoadASCIIFileIonosphere.C"
XIV.2.7. Macro "dataserverLoadASCIIFileCornell.C"
XIV.2.8. Macro "dataserverComputeQuantile.C"
XIV.2.9. Macro "dataserverGeyserStat.C"
XIV.2.10. Macro "dataserverGeyserRank.C"
XIV.2.11. Macro "dataserverNormaliseVector.C"
XIV.2.12. Macro "dataserverComputeStatVector.C"
XIV.2.13. Macro "dataserverComputeCorrelationMatrixVector.C"
XIV.2.14. Macro "dataserverComputeQuantileVec.C"
XIV.2.15. Macro "dataserverDrawQQPlot.C"
XIV.2.16. Macro "dataserverDrawPPPlot.C"
XIV.2.17. Macro "dataserverPCAExample.C"
XIV.3. Macros Sampler
XIV.3.1. Macro "samplingFlowrate.C"
XIV.3.2. Macro "samplingLHS.C"
XIV.3.3. Macro "samplingLHSCorrelation.C"
XIV.3.4. Macro "samplingQMC.C"
XIV.3.5. Macro "samplingBasicSampling.C"
XIV.3.6. Macro "samplingOATRegular.C"
XIV.3.7. Macro "samplingOATRandom.C"
XIV.3.8. Macro "samplingOATMulti.C"
XIV.3.9. Macro "samplingOATRange.C"
XIV.3.10. Macro "samplingSpaceFilling.C"
XIV.3.11. Macro "samplingMaxiMinLHSFromLHSGrid.C"
XIV.3.12. Macro "samplingConstrLHSLinear.C"
XIV.3.13. Macro "samplingConstrLHSEllipses.C"
XIV.3.14. Macro "samplerSingularCorrelationCase.C"
XIV.4. Macros Launcher
XIV.4.1. Macro "launchFunctionDataBase.C"
XIV.4.2. Macro "launchFunctionSampling.C"
XIV.4.3. Macro "launchFunctionSamplingGraphs.C"
XIV.4.4. Macro "launchCodeFlowrateKeyDataBase.C"
XIV.4.5. Macro "launchCodeFlowrateKeySampling.C"
XIV.4.6. Macro "launchCodeFlowrateXMLSampling.C"
XIV.4.7. Macro "launchCodeFlowrateKeySamplingKey.C"
XIV.4.8. Macro "launchCodeFlowrateKeyRecreateSampling.C"
XIV.4.9. Macro "launchCodeFlowrateKeyRecreateSamplingOutputDataServer.C"
XIV.4.10. Macro "launchCodeFlowrateRowRecreateSamplingOutputDataServer.C"
XIV.4.11. Macro "launchCodeFlowrateFlagSampling.C"
XIV.4.12. Macro "launchCodeFlowrateFlagSamplingKey.C"
XIV.4.13. Macro "launchCodeFlowrateKeyFlagSampling.C"
XIV.4.14. Macro "launchCodeFlowrateKeywithFlagSampling.C"
XIV.4.15. Macro "launchCodeFlowrateKeyFailure.C"
XIV.4.16. Macro "launchCodeFlowrateFlagFailure.C"
XIV.4.17. Macro "launchCodeFlowrateKeyOATMinMax.C"
XIV.4.18. Macro "launchCodeFlowrateFlagOATMinMax.C"
XIV.4.19. Macro "launchCodeLevelEOutputColumn.C"
XIV.4.20. Macro "launchCodeLevelEOutputRow.C"
XIV.4.21. Macro "launchCodeLevelEOutputKey.C"
XIV.4.22. Input/Output with vector and string: introduction to macros with multitype
XIV.4.23. Macro "launchCodeMultiTypeKey.C"
XIV.4.24. Macro "launchCodeMultiTypeKeyCondensate.C"
XIV.4.25. Macro "launchCodeMultiTypeDataServer.C"
XIV.4.26. Macro "launchCodeMultiTypeColumn.C"
XIV.4.27. Macro "launchCodeMultiTypeRow.C"
XIV.4.28. Macro "launchCodeMultiTypeXML.C"
XIV.4.29. Macro "launchCodeReadMultiTypeKey.C"
XIV.4.30. Macro "launchCodeReadMultiTypeDataServer.C"
XIV.4.31. Macro "launchCodeReadMultiTypeColumn.C"
XIV.4.32. Macro "launchCodeReadMultiTypeRow.C"
XIV.4.33. Macro "launchCodeReadMultiTypeXML.C"
XIV.4.34. Macro "launchCodeFilesWithBlank.C"
XIV.5. Macros Sensitivity
XIV.5.1. Macro "sensitivityBrutForceMethodFlowrate.C"
XIV.5.2. Macro "sensitivityFiniteDifferencesFunctionFlowrate.C"
XIV.5.3. Macro "sensitivityDataBaseFlowrate.C"
XIV.5.4. Macro "sensitivityFASTFunctionFlowrate.C"
XIV.5.5. Macro "sensitivityRBDFunctionFlowrate.C"
XIV.5.6. Macro "sensitivityMorrisFunctionFlowrate.C"
XIV.5.7. Macro "sensitivityMorrisFunctionFlowrateRunner.C"
XIV.5.8. Macro "sensitivityRegressionFunctionFlowrate.C"
XIV.5.9. Macro "sensitivitySobolFunctionFlowrate.C"
XIV.5.10. Macro "sensitivitySobolFunctionFlowrateRunner.C"
XIV.5.11. Macro "sensitivityRegressionLeveLE.C"
XIV.5.12. Macro "sensitivitySobolLeveLE.C"
XIV.5.13. Macro "sensitivitySobolRe-estimation.C"
XIV.5.14. Macro "sensitivitySobolWithData.C"
XIV.5.15. Macro "sensitivitySobolLoadFile.C"
XIV.5.16. Macro "sensitivityJohnsonRWFunctionFlowrate.C"
XIV.5.17. Macro "sensitivityJohnsonRWCorrelatedFunctionFlowrate.C"
XIV.5.18. Macro "sensitivityJohnsonRWJustCorrelationFakeFlowrate.C"
XIV.5.19. Macro "sensitivityHSICFunctionFlowrate.C"
XIV.5.20. Macro "sensitivitySobolRankFunctionFlowrate.C"
XIV.6. Macros Modeler
XIV.6.1. Macro "modelerCornellLinearRegression.C"
XIV.6.2. Macro "modelerFlowrateLinearRegression.C"
XIV.6.3. Macro "modelerFlowrateMultiLinearRegression.C"
XIV.6.4. Macro "modelerFlowrateNeuralNetworks.C"
XIV.6.5. Macro "modelerFlowrateNeuralNetworksLoadingPMML.C"
XIV.6.6. Macro "modelerClassificationNeuralNetworks.C"
XIV.6.7. Macro "modelerFlowratePolynChaosRegression.C"
XIV.6.8. Macro "modelerFlowratePolynChaosIntegration.C"
XIV.6.9. Macro "modelerbuildSimpleGP.C"
XIV.6.10. Macro "modelerbuildGPInitPoint.C"
XIV.6.11. Macro "modelerbuildGPWithAPriori.C"
XIV.6.12. Macro "modelerbuildSimpleGPEstim.C"
XIV.6.13. Macro "modelerbuildSimpleGPEstimWithCov.C"
XIV.6.14. Macro "modelerTestKriging.C"
XIV.7. Macros Optimizer
XIV.7.1. Macro "optimizeFunctionRosenbrock.C"
XIV.7.2. Macro "optimizeFunctionRosenbrockNewInputOutput.C"
XIV.7.3. Macro "optimizeCodeRosenbrockKey.C"
XIV.7.4. Macro "optimizeCodeRosenbrockKeyNewInputOutput.C"
XIV.7.5. Macro "optimizeCodeRosenbrockRow.C"
XIV.7.6. Macro "optimizeCodeRosenbrockKeyRowRecreate.C"
XIV.7.7. Macro "optimizeCodeRosenbrockRowRecreate.C"
XIV.7.8. Macro "optimizeCodeRosenbrockRowRecreateOutputDataServer.C"
XIV.7.9. Example of optimisation with a code that can compute several values at each run
XIV.7.10. Macro "optimizeRosenbrockMulti.C"
XIV.7.11. Macro "optimizeRosenbrockError.C"
XIV.8. Macros Relauncher
XIV.8.1. Macro "relauncherFunctionFlowrateCInt.C"
XIV.8.2. Macro "relauncherFunctionFlowrateCJit.C"
XIV.8.3. Macro "relauncherCJitFunctionThreadTest.C"
XIV.8.4. Macro "relauncherCodeFlowrateSequential.C"
XIV.8.5. Macro "relauncherCodeFlowrateSequential_ConstantVar.C"
XIV.8.6. Macro "relauncherCodeFlowrateThreaded.C"
XIV.8.7. Macro "relauncherCodeFlowrateMPI.C"
XIV.8.8. Macro "relauncherCodeFlowrateMpiStandalone.C"
XIV.8.9. Macro "relauncherCodeFlowrateSequentialFailure.C"
XIV.8.10. Macro "relauncherCodeMultiTypeKey.C"
XIV.8.11. Macro "relauncherCodeMultiTypeKeyEmptyVectors.C"
XIV.8.12. Macro "relauncherCodeMultiTypeKeyEmptyVectorsAsFailure.C"
XIV.8.13. Macro "relauncherCodeReadMultiType.C"
XIV.8.14. Macro "relauncherComposeMultitypeAndReadMultiType.C"
XIV.8.15. Macro "relauncherCodeFlowrateSequential_TemporaryVar.C"
XIV.9. Macros Reoptimizer
XIV.9.1. Macro "reoptimizeHollowBarCode.C"
XIV.9.2. Macro "reoptimizeHollowBarCodeMultiStart.C"
XIV.9.3. Macro "reoptimizeHollowBarCodevizir.C"
XIV.9.4. Macro "reoptimizeHollowBarVizirMoead.C"
XIV.9.5. Macro "reoptimizeHollowBarVizirSplitRuns.C"
XIV.9.6. Macro "reoptimizeZoningBiSubMpi.C"
XIV.9.7. Macro "reoptimizeZoneBiFunMpi.C"
XIV.10. Macros MetaModelOptim
XIV.10.1. Macro "metamodoptEgoHimmel.C"
XIV.11. Macros Calibration
XIV.11.1. Macro "calibrationMinimisationFlowrate1D.C"
XIV.11.2. Macro "calibrationLinBayesFlowrate1D.C"
XIV.11.3. Macro "calibrationRejectionABCFlowrate1D.C"
XIV.11.4. Macro "calibrationMetropHastingFlowrate1D.C"
XIV.11.5. Macro "calibrationMetropHastingLinReg.C"
XIV.11.6. Macro "calibrationMinimisationFlowrate2DVizir.C"
XIV.12. Macros UncertModeler
XIV.12.1. Macro "uncertModelerTestsYoungsModulus.C"
XIV.12.2. Macro "uncertModelerCirce.C"
XIV.13. Macros Reliability
XIV.13.1. Macro "reliabilityFormSorm.C"
XIV.13.2. Macro "reliabilityFormSormBis.C"

XIV.1. Introduction

Several use-cases of Uranie are described in this chapter with a small description of the implemented methods in the Uranie platform. These macros are located in the sub-directory "/share/uranie/macros" of the installation folder of Uranie ($URANIESYS).

In this chapter, inside each macro, the Uranie specific namespaces might not always be specified anymore. These specifications are gathered in the rootlogon.C file, introduced in Section I.2.4, which is automatically loaded when executing root. An example would be:

using namespace URANIE::DataServer;
using namespace URANIE::Launcher;
using namespace URANIE::Sampler;
using namespace URANIE::Optimizer;
using namespace URANIE::Modeler;
using namespace URANIE::UncertModeler;
using namespace URANIE::Sensitivity;
using namespace URANIE::Relauncher;
using namespace URANIE::Reoptimizer;
using namespace URANIE::Calibration;
using namespace URANIE::Reliability;
// using namespace URANIE::XMLProblem;
// using namespace URANIE::MpiRelauncher;

void rootlogon()
{

    gStyle->SetPalette(1);
    gStyle->SetOptDate(21);

    //General graphical style
    // Default colors
    int white = 0;
    int color = 30;

    //Legend
    gStyle->SetLegendBorderSize(0);
    gStyle->SetFillStyle(0);

    // Pads
    gStyle->SetPadColor(white);
    gStyle->SetTitleFillColor(white);
    gStyle->SetStatColor(white);

}

/* ==================== Hint ====================
   
   Might be practical to store this in a convenient place (for instance
   your home directory) and to create an alias to make sure that you use
   only one rootlogon file independently of where you are.
  
   example : alias root="root -l ${HOME}/rootlogon.C"
   
   Many style issue can be set once and for all here.

   Warnings : 
    => The name of the main function (in between the void and the () part) 
    has to be the same as the name of the file (without extension).
    => If you intend to change this file name and make it a hidden file (let's 
    say  ${HOME}/.toto.C, the name of the main function would have to start with 
    an underscore, so here it would be "void _toto()".
*/

/language/en