EpetraExt_ModelEvaluatorScalingTools.cpp File Reference

#include "EpetraExt_ModelEvaluatorScalingTools.h"
#include "Teuchos_implicit_cast.hpp"
#include "Epetra_RowMatrix.h"

Include dependency graph for EpetraExt_ModelEvaluatorScalingTools.cpp:

Go to the source code of this file.

Functions

void assertModelVarScalings (const EpetraExt::ModelEvaluator::InArgs &varScalings)
template<class InArgsVectorGetterSetter>
void scaleModelVar (InArgsVectorGetterSetter vecGetterSetter, const EpetraExt::ModelEvaluator::InArgs &origVars, const EpetraExt::ModelEvaluator::InArgs &varScalings, EpetraExt::ModelEvaluator::InArgs *scaledVars, Teuchos::FancyOStream *out, Teuchos::EVerbosityLevel verbLevel)
template<class InArgsVectorGetterSetter>
void scaleModelBound (InArgsVectorGetterSetter vecGetterSetter, const EpetraExt::ModelEvaluator::InArgs &origLowerBounds, const EpetraExt::ModelEvaluator::InArgs &origUpperBounds, const double infBnd, const EpetraExt::ModelEvaluator::InArgs &varScalings, EpetraExt::ModelEvaluator::InArgs *scaledLowerBounds, EpetraExt::ModelEvaluator::InArgs *scaledUpperBounds, Teuchos::FancyOStream *out, Teuchos::EVerbosityLevel verbLevel)
template<class InArgsVectorGetterSetter>
void unscaleModelVar (InArgsVectorGetterSetter vecGetterSetter, const EpetraExt::ModelEvaluator::InArgs &scaledVars, const EpetraExt::ModelEvaluator::InArgs &varScalings, EpetraExt::ModelEvaluator::InArgs *origVars, Teuchos::FancyOStream *out, Teuchos::EVerbosityLevel verbLevel)
template<class OutArgsVectorGetterSetter>
void scaleModelFunc (OutArgsVectorGetterSetter vecGetterSetter, const EpetraExt::ModelEvaluator::OutArgs &origFuncs, const EpetraExt::ModelEvaluator::OutArgs &funcScalings, EpetraExt::ModelEvaluator::OutArgs *scaledFuncs, Teuchos::FancyOStream *out, Teuchos::EVerbosityLevel verbLevel)
void EpetraExt::gatherModelNominalValues (const ModelEvaluator &model, ModelEvaluator::InArgs *nominalValues)
 Gather the nominal values from a model evaluator.
void EpetraExt::gatherModelBounds (const ModelEvaluator &model, ModelEvaluator::InArgs *lowerBounds, ModelEvaluator::InArgs *upperBounds)
 Gather the lower and upper bounds from a model evaluator.
void EpetraExt::scaleModelVars (const ModelEvaluator::InArgs &origVars, const ModelEvaluator::InArgs &varScalings, ModelEvaluator::InArgs *scaledVars, Teuchos::FancyOStream *out=0, Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_LOW)
 Scale the original unscaled variables into the scaled variables.
void EpetraExt::scaleModelBounds (const ModelEvaluator::InArgs &origLowerBounds, const ModelEvaluator::InArgs &origUpperBounds, const double infBnd, const ModelEvaluator::InArgs &varScalings, ModelEvaluator::InArgs *scaledLowerBounds, ModelEvaluator::InArgs *scaledUpperBounds, Teuchos::FancyOStream *out=0, Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_LOW)
 Scale the lower and upper model variable bounds.
void EpetraExt::unscaleModelVars (const ModelEvaluator::InArgs &scaledVars, const ModelEvaluator::InArgs &varScalings, ModelEvaluator::InArgs *origVars, Teuchos::FancyOStream *out=0, Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_LOW)
 Unscale the scaled variables.
void EpetraExt::scaleModelFuncs (const ModelEvaluator::OutArgs &origFuncs, const ModelEvaluator::InArgs &varScalings, const ModelEvaluator::OutArgs &funcScalings, ModelEvaluator::OutArgs *scaledFuncs, bool *allFuncsWhereScaled, Teuchos::FancyOStream *out=0, Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_LOW)
 Scale the output functions and their derivative objects.
Teuchos::RCP< const Epetra_VectorEpetraExt::createInverseModelScalingVector (Teuchos::RCP< const Epetra_Vector > const &scalingVector)
void EpetraExt::scaleModelVarsGivenInverseScaling (const Epetra_Vector &origVars, const Epetra_Vector &invVarScaling, Epetra_Vector *scaledVars)
 Scale a vector given its inverse scaling vector.
void EpetraExt::scaleModelVarBoundsGivenInverseScaling (const Epetra_Vector &origLowerBounds, const Epetra_Vector &origUpperBounds, const double infBnd, const Epetra_Vector &invVarScaling, Epetra_Vector *scaledLowerBounds, Epetra_Vector *scaledUpperBounds)
 Scale the model variable bounds.
void EpetraExt::unscaleModelVarsGivenInverseScaling (const Epetra_Vector &origVars, const Epetra_Vector &invVarScaling, Epetra_Vector *scaledVars)
 Unscale a vector given its inverse scaling vector.
void EpetraExt::scaleModelFuncGivenForwardScaling (const Epetra_Vector &fwdFuncScaling, Epetra_Vector *funcs)
 Scale (in place) an output function vector given its forward scaling vector.
void EpetraExt::scaleModelFuncFirstDerivOp (const Epetra_Vector *invVarScaling, const Epetra_Vector *fwdFuncScaling, Epetra_Operator *funcDerivOp, bool *didScaling)
 Scale (in place) an output first-order function derivative object represented as an Epetra_Operator given its function and variable scaling.
void EpetraExt::scaleModelFuncFirstDeriv (const ModelEvaluator::Derivative &origFuncDeriv, const Epetra_Vector *invVarScaling, const Epetra_Vector *fwdFuncScaling, ModelEvaluator::Derivative *scaledFuncDeriv, bool *didScaling)
 Scale (in place) an output first-order function derivative object given its function and variable scaling.

Variables

const std::string fwdScalingVecName = "fwdScalingVec"


Function Documentation

void @0::assertModelVarScalings ( const EpetraExt::ModelEvaluator::InArgs varScalings  )  [static]

Definition at line 58 of file EpetraExt_ModelEvaluatorScalingTools.cpp.

template<class InArgsVectorGetterSetter>
void @0::scaleModelVar ( InArgsVectorGetterSetter  vecGetterSetter,
const EpetraExt::ModelEvaluator::InArgs origVars,
const EpetraExt::ModelEvaluator::InArgs varScalings,
EpetraExt::ModelEvaluator::InArgs scaledVars,
Teuchos::FancyOStream *  out,
Teuchos::EVerbosityLevel  verbLevel 
) [static]

Definition at line 78 of file EpetraExt_ModelEvaluatorScalingTools.cpp.

template<class InArgsVectorGetterSetter>
void @0::scaleModelBound ( InArgsVectorGetterSetter  vecGetterSetter,
const EpetraExt::ModelEvaluator::InArgs origLowerBounds,
const EpetraExt::ModelEvaluator::InArgs origUpperBounds,
const double  infBnd,
const EpetraExt::ModelEvaluator::InArgs varScalings,
EpetraExt::ModelEvaluator::InArgs scaledLowerBounds,
EpetraExt::ModelEvaluator::InArgs scaledUpperBounds,
Teuchos::FancyOStream *  out,
Teuchos::EVerbosityLevel  verbLevel 
) [static]

Definition at line 144 of file EpetraExt_ModelEvaluatorScalingTools.cpp.

template<class InArgsVectorGetterSetter>
void @0::unscaleModelVar ( InArgsVectorGetterSetter  vecGetterSetter,
const EpetraExt::ModelEvaluator::InArgs scaledVars,
const EpetraExt::ModelEvaluator::InArgs varScalings,
EpetraExt::ModelEvaluator::InArgs origVars,
Teuchos::FancyOStream *  out,
Teuchos::EVerbosityLevel  verbLevel 
) [static]

Definition at line 206 of file EpetraExt_ModelEvaluatorScalingTools.cpp.

template<class OutArgsVectorGetterSetter>
void @0::scaleModelFunc ( OutArgsVectorGetterSetter  vecGetterSetter,
const EpetraExt::ModelEvaluator::OutArgs origFuncs,
const EpetraExt::ModelEvaluator::OutArgs funcScalings,
EpetraExt::ModelEvaluator::OutArgs scaledFuncs,
Teuchos::FancyOStream *  out,
Teuchos::EVerbosityLevel  verbLevel 
) [static]

Definition at line 262 of file EpetraExt_ModelEvaluatorScalingTools.cpp.


Variable Documentation

const std::string fwdScalingVecName = "fwdScalingVec" [static]

Definition at line 54 of file EpetraExt_ModelEvaluatorScalingTools.cpp.


Generated on Wed May 12 21:24:47 2010 for EpetraExt by  doxygen 1.4.7