UQTk: Uncertainty Quantification Toolkit  3.1.1
Macros | Functions
pce_sens.cpp File Reference

Command-line utility for Sobol sensitivity index computation given PC. More...

#include "PCSet.h"
#include "tools.h"
#include "arrayio.h"
#include <unistd.h>

Macros

#define CHAOS   "LU"
 default PC type More...
 
#define MINDEX_FILE   "mindex.dat"
 default multiindex file More...
 
#define COEF_FILE   "PCcoeff.dat"
 default coefficient file More...
 
#define ALPHA   0.0
 default alpha parameter for PC More...
 
#define BETA   1.0
 default beta parameter for PC More...
 

Functions

int usage ()
 Displays information about this program. More...
 
int main (int argc, char *argv[])
 Main program: parses the information contained in given multiindices and corresponding coefficients. More...
 

Detailed Description

Command-line utility for Sobol sensitivity index computation given PC.

Author
K. Sargsyan 2014 -

Macro Definition Documentation

◆ ALPHA

#define ALPHA   0.0

default alpha parameter for PC

◆ BETA

#define BETA   1.0

default beta parameter for PC

◆ CHAOS

#define CHAOS   "LU"

default PC type

◆ COEF_FILE

#define COEF_FILE   "PCcoeff.dat"

default coefficient file

◆ MINDEX_FILE

#define MINDEX_FILE   "mindex.dat"

default multiindex file

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Main program: parses the information contained in given multiindices and corresponding coefficients.

Set the defaults and parse the input arguments

Print out input information

Read the multiindex and coefficients' files

Declare PC in NISP formulation with no quadrature

Encode the multiindex in a sparse format and print to files

Compute mean and variance of PC and variance fractions for each term

Compute main sensitivities

Compute total sensitivities

Compute joint sensitivities

◆ usage()

int usage ( )

Displays information about this program.