English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Sensitivity: TFast.h Source File
Uranie / Sensitivity v4.9.0
/* @license-end */
TFast.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2024 CEA/DES
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as published
6// by the Free Software Foundation, either version 3 of the License, or any
7// later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
18// $Id$
19// $Author$
20// $Date$
21// $Revision$
22// $State$
24
41#ifndef TFAST_H
42#define TFAST_H
43
45#include "TSensitivity.h"
46#include "TSpaceFilling.h"
47
48#include <iostream>
49using std::cout;
50using std::endl;
51
52namespace URANIE
53{
54namespace Sensitivity
55{
56class TFast: public TSensitivity
57{
58public:
63
64 // Attributes
65public:
66 Int_t * _nValFreq;
67 Int_t _nM;
69private:
71
72 // constructor helpers
73 void stdInit();
74public:
75 //---------------------------------------------
79
82#ifdef ROOT5
83 TFast(URANIE::DataServer::TDataServer *tds, void *fcn, Int_t ns = 100,
84 const char *varexpinput = "", const char *varexpoutput = "");
85#else
86 TFast(URANIE::DataServer::TDataServer *tds, void (*fcn)(Double_t*,Double_t*),
87 const char *varexpinput, const char *varexpoutput, Int_t ns = 100);
88#endif
90 TFast(URANIE::DataServer::TDataServer *tds, const char* fcn, Int_t ns = 100,
91 const char *varexpinput = "", const char *varexpoutput = "");
93 TFast(URANIE::DataServer::TDataServer *tds, URANIE::Launcher::TCode *fcode,
94 Int_t ns);
96 TFast(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run,
97 Int_t ns);
99 virtual ~TFast();
101
102 //---------------------------------------------
107
108 void setFrequencies(Int_t nfreq, Int_t *valfreq);
111 {
112 _nFunction = ntype;
113 }
116 {
117 return _nFunction;
118 }
120 void setM(Int_t m)
121 {
122 _nM = m;
123 }
125 Int_t getM()
126 {
127 return _nM;
128 }
129
131
132 //---------------------------------------------
136
141 virtual void parseOption(Option_t *option = "");
143
144
145 //---------------------------------------------
149 virtual void generateSample(Option_t * option = "");
151
152 //---------------------------------------------
156
157 virtual void evaluateIndexes(Option_t * option = "");
159
160 //---------------------------------------------
164 virtual void printLog(Option_t *option = "");
166
167 ClassDef(URANIE::Sensitivity::TFast, ID_SENSITIVITY)
168 //Classe de
169};
170
171} // Fin du namespace Sensitivity
172} // Fin du namespace URANIE
173#endif
Interface of class URANIE::Sensitivity::TSensitivity.
Description of the class TFast.
Definition TFast.h:57
virtual ~TFast()
Default destructor.
void setTransformFunction(EFunction ntype)
Sets the Transform fonction.
Definition TFast.h:110
Int_t getM()
Returns the max number of harmonic to consider.
Definition TFast.h:125
TFast(URANIE::DataServer::TDataServer *tds, void(*fcn)(Double_t *, Double_t *), const char *varexpinput, const char *varexpoutput, Int_t ns=100)
Default constructor with a function.
virtual void parseOption(Option_t *option="")
Read option specific to TSobol.
TFast()
Default constructor.
bool b_plotgraph
Plot the graph.
Definition TFast.h:68
TFast(URANIE::DataServer::TDataServer *tds, const char *fcn, Int_t ns=100, const char *varexpinput="", const char *varexpoutput="")
Default constructor with a function name.
TFast(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, Int_t ns)
Default constructor with a trun.
EFunction getTransformFunction()
Gets the transform function.
Definition TFast.h:115
Int_t * _nValFreq
The array of frequences.
Definition TFast.h:66
EFunction
Definition TFast.h:60
@ kSaltelliB
Definition TFast.h:61
@ kCukier
Definition TFast.h:61
@ kSaltelliA
Definition TFast.h:61
Int_t _nM
The max harmonic to consider.
Definition TFast.h:67
void setFrequencies(Int_t nfreq, Int_t *valfreq)
Sets the frequencies array.
TFast(URANIE::DataServer::TDataServer *tds, URANIE::Launcher::TCode *fcode, Int_t ns)
Default constructor with a tcode.
void setM(Int_t m)
Sets the max number of harmonic.
Definition TFast.h:120
virtual void printLog(Option_t *option="")
EFunction _nFunction
The function G.
Definition TFast.h:70
virtual void evaluateIndexes(Option_t *option="")
Evaluates the index from the dataserver.
virtual void generateSample(Option_t *option="")
Description of the class TSensitivity.
Definition TSensitivity.h:112
ROOT.
Definition TCMN.h:45