Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Namespaces | Functions
app-radu/postprocFcts.hh File Reference
#include <memory>
#include "basics/typedefs.hh"
Include dependency graph for postprocFcts.hh:

Go to the source code of this file.

Namespaces

namespace  concepts
 

Geometries and material constants for eddy current problems.


Functions

void autocorrelation (concepts::Vector< Real > &C, const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &sol, concepts::Array< uint > r, const uint M, const uint start_sol, const uint end_sol)
 Computes the autocorrelation of u in every mesh point.
void expectedValue (concepts::Vector< Real > &E, const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &sol, const concepts::Array< concepts::Array< Real > > &intPalpha, concepts::Array< uint > r, const uint M, const uint start_sol, const uint end_sol)
 Computes the expected value of u in every mesh point.
void expectedValue1 (concepts::Vector< Real > &E, const concepts::Vector< Real > &sol, const Real intPalphaComp)
 Adds solution sol with intPalphaComp into expected value E.
void expectedValueMC (concepts::Vector< Real > &E, const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &sol, const uint M, const uint from, const uint end, const uint n)
 Computes the expected value of u in every mesh point from a Monte Carlo computation.
void maximalValue (concepts::Vector< Real > &max, const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &sol, concepts::Array< uint > r, const uint M, const uint start_sol, const uint end_sol)
 Computes the maximal value of u in every mesh point.
void minimalValue (concepts::Vector< Real > &min, const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &sol, concepts::Array< uint > r, const uint M, const uint start_sol, const uint end_sol)
 Computes the minimal value of u in every mesh point.
void stdDeviation (concepts::Vector< Real > &S, const concepts::Vector< Real > &V)
 Computes the standard deviation of u in every mesh point by taking the square root of the variance.
void variance (concepts::Vector< Real > &V, const concepts::Vector< Real > &C, const concepts::Vector< Real > &E)
 Computes the variance of u in every mesh point.
void varianceMC (concepts::Vector< Real > &V, const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &sol, const concepts::Vector< Real > &E, const uint from, const uint end, const uint n)
 Computes the variance of u in every mesh point from a Monte Carlo computation.

Function Documentation

void autocorrelation ( concepts::Vector< Real > &  C,
const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &  sol,
concepts::Array< uint >  r,
const uint  M,
const uint  start_sol,
const uint  end_sol 
)

Computes the autocorrelation of u in every mesh point.

Parameters:
CAutocorrelation of u
solSolutions of all deterministic problems, index by a global index i
rApproximation orders
MKarhunen-Loeve number
start_solIndex in sol at which the post processing should start
end_solIndex in sol at which the post processing should stop
Author:
Radu Todor, 2003
void expectedValue ( concepts::Vector< Real > &  E,
const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &  sol,
const concepts::Array< concepts::Array< Real > > &  intPalpha,
concepts::Array< uint >  r,
const uint  M,
const uint  start_sol,
const uint  end_sol 
)

Computes the expected value of u in every mesh point.

Parameters:
EExpected value of u
solSolutions of all deterministic problems, index by a global index i
intPalphaIntegrals of the expansion polynomials
rApproximation orders
MKarhunen-Loeve number
start_solIndex in sol at which the post processing should start
end_solIndex in sol at which the post processing should stop
Author:
Philipp Frauenfelder, 2002
void expectedValue1 ( concepts::Vector< Real > &  E,
const concepts::Vector< Real > &  sol,
const Real  intPalphaComp 
)

Adds solution sol with intPalphaComp into expected value E.

This is used by expectedValue and can be used to succesively add computed solutions into the expected value. Portions of the expected value that have been computed in parallel need only be sumed up to give the correct result.

void expectedValueMC ( concepts::Vector< Real > &  E,
const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &  sol,
const uint  M,
const uint  from,
const uint  end,
const uint  n 
)

Computes the expected value of u in every mesh point from a Monte Carlo computation.

Parameters:
EExpected value of u
solSolutions of all deterministic problems, index by a global index i
MKarhunen-Loeve number
fromStarting index in sol to add into E
endEnding index in sol to add into E
nTotal number of problems
Author:
Philipp Frauenfelder, 2004
void maximalValue ( concepts::Vector< Real > &  max,
const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &  sol,
concepts::Array< uint >  r,
const uint  M,
const uint  start_sol,
const uint  end_sol 
)

Computes the maximal value of u in every mesh point.

Author:
Philipp Frauenfelder, 2002
Parameters:
maxMaximal value of u
solSolutions of all deterministic problems, index by a global index i
rApproximation orders
MKarhunen-Loeve number
start_solIndex in sol at which the post processing should start
end_solIndex in sol at which the post processing should stop
Author:
Philipp Frauenfelder, 2002
void minimalValue ( concepts::Vector< Real > &  min,
const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &  sol,
concepts::Array< uint >  r,
const uint  M,
const uint  start_sol,
const uint  end_sol 
)

Computes the minimal value of u in every mesh point.

Parameters:
minMinimal value of u
solSolutions of all deterministic problems, index by a global index i
rApproximation orders
MKarhunen-Loeve number
start_solIndex in sol at which the post processing should start
end_solIndex in sol at which the post processing should stop
Author:
Philipp Frauenfelder, 2002
void stdDeviation ( concepts::Vector< Real > &  S,
const concepts::Vector< Real > &  V 
)

Computes the standard deviation of u in every mesh point by taking the square root of the variance.

Parameters:
SStandard deviation of u
VVariance of u
Author:
Philipp Frauenfelder, 2003
void variance ( concepts::Vector< Real > &  V,
const concepts::Vector< Real > &  C,
const concepts::Vector< Real > &  E 
)

Computes the variance of u in every mesh point.

Parameters:
VVariance of u
CAutocorrelation of u
EExpected value of u
Author:
Radu Todor, 2003
void varianceMC ( concepts::Vector< Real > &  V,
const concepts::Array< std::auto_ptr< concepts::Vector< Real > > > &  sol,
const concepts::Vector< Real > &  E,
const uint  from,
const uint  end,
const uint  n 
)

Computes the variance of u in every mesh point from a Monte Carlo computation.

Parameters:
VVariance of u
solSolutions of all deterministic problems, index by a global index i
EExpected value of u
fromStarting index in sol to add into V
endEnding index in sol to add into V
nTotal number of problems
Author:
Philipp Frauenfelder, 2004

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)