Thyra Namespace Reference

Namespaces

namespace  ModelEvaluatorHelperPack
namespace  Exceptions
namespace  DirectionalFiniteDiffCalculatorTypes
namespace  ModelEvaluatorDefaultBaseTypes
namespace  SpmdVectorSpaceUtilities
namespace  PDMVIUtilityPack

Classes

class  ModelEvaluator
 Pure abstract base interface for evaluating a stateless "model" that can be mapped into a number of different types of problems. More...
class  ModelEvaluatorBase
 Base subclass for ModelEvaluator that defines some basic types. More...
class  NonlinearSolverBuilderBase
 Abstract interface for an object that can create NonlinearSolverBase objects on demand. More...
class  NonlinearSolverBase
 Base class for all nonlinear equation solvers. More...
class  BlockedLinearOpWithSolveBase
 Base interface for linear operators with a solve that can be accessed as sub-blocks. More...
class  InverseLinearOpBase
 Base interface for <ttLinearOpBase objects that are implemented in terms of the solve function on a LinearOpWithSolveBase object. More...
class  LinearSolverBuilderBase
 Abstract interface for an object that can create LinearOpWithSolveFactoryBase objects on demand. More...
class  PhysicallyBlockedLinearOpWithSolveBase
 Base interface for linear operators with a solve that are composed out of individual LOB and LOWSB objects. More...
class  LinearOpSourceBase
 Base interface for objects that can return a linear operator. More...
class  LinearOpWithSolveBase
 Base class for all linear operators that can support a high-level solve operation. More...
class  LinearOpWithSolveFactoryBase
 Factory interface for creating LinearOpWithSolveBase objects from compatible LinearOpBase objects. More...
class  PreconditionerBase
 Simple interface class to access a precreated preconditioner as one or more linear operators objects and information on how they are meant to be applied. More...
class  PreconditionerFactoryBase
 Factory interface for creating precondtioner objects from LinearOpBase objects. More...
struct  SolveMeasureType
 Solve tolerance type. More...
struct  SolveCriteria
 Simple struct that defines the requested solution criteria for a solve. More...
struct  BlockSolveCriteria
 Deprecated. More...
class  CatastrophicSolveFailure
 Exception type thrown on an catastrophic solve failure. More...
struct  SolveStatus
 Simple struct for the return status from a solve. More...
class  AddedLinearOpBase
 Interface class for implicitly added linear operators. More...
class  BlockedLinearOpBase
 Base interface for linear operators that can be accessed as sub-blocks. More...
class  DiagonalLinearOpBase
 Interface class for for diagonal linear operators. More...
class  IdentityLinearOpBase
 Interface class for identity linear operators. More...
class  LinearOpTransformerBase
 Base interface for transforming a LinearOpBase object. More...
class  MultipliedLinearOpBase
 Interface class for implicitly multiplied linear operators. More...
class  MultiVectorFileIOBase
 Abstract strategy interface for reading and writing (multi)vector objects to and from files. More...
class  MultiVectorRandomizerBase
 Base interface for a strategy object for randomizing a multi-vector. More...
class  PhysicallyBlockedLinearOpBase
 Base interface for physically blocked linear operators. More...
class  ProductMultiVectorBase
 Base interface for product multi-vectors. More...
class  ProductVectorBase
 Base interface for product vectors. More...
class  ProductVectorSpaceBase
 Base interface for product vector spaces. More...
class  ScaledAdjointLinearOpBase
 Base class for LinearOpBase decorator subclasses that wrap a LinearOpBase object and adds on an extra scaling factor and/or a new transpose enum. More...
class  SpmdVectorSpaceBase
 Base abstract VectorSpaceBase class for all SPMD-based vector spaces. More...
class  VectorSpaceConverterBase
 Base interface for a factory that converts vector space types and vectors and multi-vectors from one scalar type to another. More...
class  ZeroLinearOpBase
 Interface class for zero linear operators. More...
class  LinearOpBase
 Base class for all linear operators. More...
class  MultiVectorBase
 Interface for a collection of column vectors called a multi-vector. More...
class  VectorBase
 Abstract interface for finite-dimensional dense vectors. More...
class  VectorSpaceBase
 Abstract interface for objects that represent a space for vectors. More...
class  VectorSpaceFactoryBase
 Abstract interface for objects that can create vector spaces of a specified dimension. More...
class  DefaultEvaluationLoggerModelEvaluator
 This class wraps any ModelEvaluator object and logs the evaluation of various functions. More...
class  DefaultFinalPointCaptureModelEvaluator
 This class wraps any ModelEvaluator object and allows the client to capture the final point that is returned by a client. More...
class  DefaultFiniteDifferenceModelEvaluator
 This class wraps any ModelEvaluator object and computes certain derivatives using finite differences. More...
class  DefaultInverseModelEvaluator
 This class wraps any ModelEvaluator object and adds a simple, but fairly general, inverse response function. More...
class  DefaultLumpedParameterModelEvaluator
 Decorator class that wraps any ModelEvaluator object and lumps parameters together using a linear basis matrix. More...
class  DefaultModelEvaluatorWithSolveFactory
 This class wraps any ModelEvaluator object and uses a compatible LinearOpWithSolveFactory object to create a LinearOpWithSolveBase version of W. More...
class  DefaultMultiPeriodModelEvaluator
 Composite subclass that takes a single ModelEvaluator object and represents it as a single aggregate multi-period ModelEvalator object. More...
class  DefaultNominalBoundsOverrideModelEvaluator
 This class wraps any ModelEvaluator object and allows the client to overide the state contained in the nominal values and the upper and lower bounds. More...
class  DirectionalFiniteDiffCalculator
 Utility calss for computing directional finite differences of a model. More...
class  ModelEvaluatorDefaultBase
 Default base class for concrete model evaluators. More...
class  ModelEvaluatorDelegatorBase
 This is a base class that delegetes almost all function to a wrapped model evaluator object. More...
class  ResponseOnlyModelEvaluatorBase
 This base class defines default function implementations appropritate for a response-only model evaluator (p) -> g(j), for j=0...Ng-1. More...
class  StateFuncModelEvaluatorBase
 This base class defines default function implementations appropritate for a set of nonlinear state functions of the form x -> f(x). More...
class  DampenedNewtonNonlinearSolver
 Simple dampended Newton solver using a Armijo line search :-). More...
class  DefaultNonlinearSolverBuilder
 Concrete subclass of Thyra::NonlinearSolverBuilderBase for creating NonlinearSolverBase objects and PreconditionerFactoryBase object on demand given configured factory objects. More...
class  DefaultStateEliminationModelEvaluator
 This class wraps any ModelEvaluator object along with a NonlinearSolverBase object and eliminates the steady-state equations f(x,...)=0. More...
class  LinearNonlinearSolver
 Concrete nonlinear solver for linear equations. More...
class  DefaultAdjointLinearOpWithSolve
 Default concreate decorator subclass for a transpose/adjoint LinearOpWithSolveBase object. More...
class  DefaultBlockedTriangularLinearOpWithSolve
 Concrete composite LinearOpWithSolveBase subclass that creates single upper or lower block triangular LOWSB object out of a set of LOWSB objects along the diagonal with LOB objects off diagonal. More...
class  DefaultBlockedTriangularLinearOpWithSolveFactory
 Implicit subclass that takes a blocked triangular LOWB object and turns it into a LOWSB object. More...
class  DefaultDiagonalLinearOpWithSolve
 Concrete LinearOpWithSolveBase subclass for diagonal linear operators. More...
class  DefaultInverseLinearOp
 Concrete LinearOpBase subclass that creates an implicit LinearOpBase object using the inverse action of a LinearOpWithSolveBase object. More...
class  DefaultLinearOpSource
 Default implementation of a LinearOpSourceBase that just accepts and gives up a single linear operator object. More...
class  DefaultMultiVectorLinearOpWithSolve
 Implicit concrete LinearOpWithSolveBase subclass that takes a flattended out multi-vector and performs a multi-RHS solve with it. More...
class  DefaultPreconditioner
 Default implementation of a PreconditionerBase that just accepts precreated preconditioner linear operators. More...
class  DefaultSerialDenseLinearOpWithSolve
 Simple concreate subclass of LinearOpWithSolveBase for serial dense matrices implemented using LAPACK. More...
class  DefaultSerialDenseLinearOpWithSolveFactory
 Concreate LinearOpWithSolveFactoryBase subclass that creates DefaultSerialDenseLinearOpWithSolve objects that use LAPACK. More...
class  DelayedLinearOpWithSolve
 Delayed linear solver construction LinearOpWithSolveBase decorator class. More...
class  DelayedLinearOpWithSolveFactory
 General delayed construction LinearOpWithSolveFactoryBase subclass. More...
class  LinearOpWithSolveTester
 Testing class for LinearOpWithSolveBase. More...
class  DefaultClusteredSpmdProductVector
 Concrete implementation of a clustered Spmd-based product vector. More...
class  DefaultClusteredSpmdProductVectorSpace
 Concrete subclass of VectorSpaceBase that takes a collection of individual VectorSpaceBase objects distributed over many different processes and creates a single vector space. More...
class  DefaultSerialVectorSpaceConverter
 Concrete subclass for a converter subclass for converting serial multi-vectors and vectors. More...
class  DefaultSpmdMultiVector
 Efficient concrete implementation subclass for SPMD multi-vectors. More...
class  CopyBackSpmdMultiVectorEntries
class  DefaultSpmdMultiVectorFileIO
 Concrete implementation of MultiVectorFileIO that reads and writes SPMD-based (multi)vectors to and from files. More...
class  DefaultSpmdVector
 Efficient concrete implementation subclass for SPMD vectors. More...
class  DefaultSpmdVectorSpace
 Concrete implementation of an SPMD vector space subclass which creates DefaultSpmdVector and DefaultSpmdMultiVector objects. More...
class  DefaultSpmdVectorSpaceFactory
 Concrete implementation of a vector-space factory for a locally-replicated distributed DefaultSpmdVectorSpace objects. More...
class  ConstDetachedSpmdVectorView
 Create an explicit detached non-mutable (const) view of all of the local elements on this process of an VectorBase object. More...
class  DetachedSpmdVectorView
 Create an explicit detached mutable (non-const) view of all of the local elements on this process of an VectorBase object. More...
class  EuclideanScalarProd
 Concrete implementation of a scalar product for a Euclidean vector space (i.e. using the dot product). More...
class  LinearOpScalarProd
 Concrete implementation of a scalar product using a symmetric positive-definite linear operator. More...
class  MultiVectorAdapterBase
 Node subclass for MultiVectorBase subclasses that allows the insertion of an application defined scalar product. More...
class  ScalarProdBase
 Abstract interface for scalar products. More...
class  ScalarProdVectorSpaceBase
 Base subclass for VectorSpaceBase that allows the definition of an application-specific scalar product to be swapped in and out. More...
class  SerialVectorSpaceConverterBase
 Node base class for converting serial multi-vectors (and vectors) from one scalar type to another. More...
class  SpmdMultiVectorBase
 Base class for SPMD multi-vectors. More...
class  SpmdMultiVectorSerializer
 Concrete utility class for reading and writing SPMD-based MultiVectorBase objects to and from standard streams. More...
class  SpmdVectorBase
 Base class for SPMD vectors that can provide views of contiguous elements in a process. More...
class  SpmdVectorSpaceDefaultBase
 Base VectorSpaceBase class for all SPMD vector spaces with contiguous local-to-global indexing. More...
struct  dump_vec_spaces_t
class  DefaultAddedLinearOp
 Concrete composite LinearOpBase subclass that creates an implicitly added linear operator out of one or more constituent LinearOpBase objects. More...
class  DefaultBlockedLinearOp
 Concrete composite LinearOpBase subclass that creates single linear operator object out of a set of constituent LinearOpBase blocks. More...
class  DefaultColumnwiseMultiVector
 Default subclass for MultiVectorBase implemented using columns of separate abstract vectors. More...
class  DefaultDiagonalLinearOp
 Default concrete LinearOpBase subclass for diagonal linear operators. More...
class  DefaultIdentityLinearOp
 Represents a identity linear operator M = I. More...
class  DefaultMultipliedLinearOp
 Concrete composite LinearOpBase subclass that creates an implicitly multiplied linear operator out of one or more constituent LinearOpBase objects. More...
class  DefaultMultiVectorProductVector
 Concrete implementation of a product vector which is really composed out of the columns of a multi-vector. More...
class  DefaultMultiVectorProductVectorSpace
 Standard concrete implementation of a product vector space that creates product vectors fromed implicitly from the columns of a multi-vector. More...
class  DefaultProductMultiVector
 Concrete implementation of a product multi-vector. More...
class  DefaultProductVector
 Concrete implementation of a product vector. More...
class  DefaultProductVectorSpace
 Standard concrete implementation of a product vector space. More...
class  DefaultScaledAdjointLinearOp
 Concrete decorator LinearOpBase subclass that wraps a LinearOpBase object and adds on an extra scaling factor and/or a transpose enum. More...
class  DefaultZeroLinearOp
 Represents a zero linear operator M = 0. More...
class  ConstDetachedMultiVectorView
 Create an explicit non-mutable (const) view of a MultiVectorBase object. More...
class  DetachedMultiVectorView
 Create an explicit mutable (non-const) view of a MultiVectorBase object. More...
class  ConstDetachedVectorView
 Create an explicit non-mutable (const) view of a VectorBase object. More...
class  DetachedVectorView
 Create an explicit mutable (non-const) view of a VectorBase object. More...
class  LinearOpDefaultBase
 Node subclass that provides a good default implementation for the describe() function. More...
class  LinearOpTester
 Testing class for LinearOpBase. More...
class  SymmetricLinearOpTester
class  ListedMultiVectorRandomizer
 MultiVectorRandomizerBase subclass that returns a revolving list of preset MultiVectorBase objects. More...
class  MultiVectorAllocator
 Allocator class to be used with Teuchos::AbstractFactoryStd to create MultiVectorBase objects of a given size. More...
class  MultiVectorDefaultBase
 Node subclass that uses a default MultiVectorBase implementation to provide default implementations for as many other functions in MultiVectorBase interface the as is reasonable. More...
class  MultiVectorStdOpsTester
 Testing class that tests all of the standard vector operations defined in ??? using an arbitrary vector space. More...
class  MultiVectorTester
 Unit testing class for a MultiVectorBase object. More...
class  ParameterDrivenMultiVectorInput
 Concrete utility class that an ANA can use for reading in a (multi)vector as directed by a parameter sublist. More...
class  UniversalMultiVectorRandomizer
 Univeral MultiVectorRandomizerBase subclass that is compatible with all MultiVectorBase objects. More...
class  VectorDefaultBase
 Convenient node subclass for concrete VectorBase subclasses that relies on a default MultiVectorBase implementation. More...
class  VectorSpaceDefaultBase
 Node VectorSpaceBase subclass that provides default implementations for many functions using a default multi-vectors implementation. More...
class  CopyVectorViewBack
class  CopyMultiVectorViewBack
class  VectorSpaceTester
 Testing class for VectorSpace and the VectorBase and MultiVectorBase objects that it creates. More...
class  VectorStdOpsTester
 Testing class that tests all of the standard vector operations defined in ??? using an arbitrary vector space. More...
class  VectorStdOpsTesterComparable
class  VectorStdOpsTesterComparable< false, Scalar >
class  VectorStdOpsTesterComparable< true, Scalar >
class  VectorTester
 Unit testing class for a VectorBase object. More...
class  LinearOpChanger
 Silly abstract strategy interface for changing Thyra::LinearOpBase objects. More...
class  NullLinearOpChanger
 No-op changer. More...
class  DiagonalQuadraticResponseOnlyModelEvaluator
 Simple parallel response-only ModelEvaluator. More...
class  DiagonalScalarProd
 Concrete implementation of a scalar product using a diagonal vector. More...
class  Simple2DModelEvaluator
 Simple 2d simulation only ModelEvaluator for f(x) = 0. More...
class  DiagonalEpetraLinearOpWithSolveFactory
 Create a DefaultDiagonalLinearOpWithSolve out of a diagonal Epetra_RowMatrix object. More...
class  EpetraLinearOp
 Concrete LinearOpBase adapter subclass for Epetra_Operator object. More...
class  EpetraLinearOpBase
 Abstract base class for all LinearOpBase objects that can return an Epetra_Operator view of themselves and details about how to apply the view. More...
class  EpetraOperatorViewExtractorBase
 Strategy interface for extracting an Epetra_Operator view out of a Thyra::LinearOpBase<double> object. More...
class  EpetraOperatorViewExtractorStd
 Standard strategy subclass for extracting an Epetra_Operator view out of a Thyra::LinearOpBase<double> object by dynamic casting to the EpetraLinearOpBase interface. More...
class  EpetraOperatorWrapper
 Implements the Epetra_Operator interface with a Thyra LinearOperator. More...
class  EpetraModelEvaluator
 Concrete Adapter subclass that takes an EpetraExt::ModelEvaluator object and wraps it as a Thyra::ModelEvaluator object. More...
class  EpetraExtAddTransformer
 Transformer subclass for adding Epetra/Thyra operators using EpetraExt::MatrixMatrix. More...
class  EpetraExtDiagScaledMatProdTransformer
 Transformer subclass for diagonally scaling and multiplying Epetra/Thyra operators. More...
class  EpetraExtDiagScalingTransformer
 Transformer subclass for diagonally scaling a Epetra/Thyra operator. More...
class  TpetraLinearOp
 Concrete Thyra::LinearOpBase subclass for Tpetra::Operator. More...
class  TpetraMultiVector
 Concrete implementation of Thyra::MultiVector in terms of Tpetra::MultiVector. More...
class  TpetraOperatorVectorExtraction
 Traits class that enables the extraction of Tpetra operator/vector objects wrapped in Thyra operator/vector objects. More...
class  TpetraVector
 Concrete Thyra::SpmdVectorBase using Tpetra::Vector. More...
class  TpetraVectorSpace
 Concrete implementation of an SPMD vector space for Tpetra. More...

Typedefs

typedef Teuchos::Range1D Range1D
 
typedef Teuchos::Ordinal Ordinal
 Type for the dimension of a vector space. `*.

Enumerations

enum  ESolveMeasureNormType {
  SOLVE_MEASURE_ONE, SOLVE_MEASURE_NORM_RESIDUAL, SOLVE_MEASURE_NORM_SOLUTION, SOLVE_MEASURE_NORM_INIT_RESIDUAL,
  SOLVE_MEASURE_NORM_RHS
}
 

Type of solve measure norm.

More...
enum  ESolveStatus { SOLVE_STATUS_CONVERGED, SOLVE_STATUS_UNCONVERGED, SOLVE_STATUS_UNKNOWN }
 

Solution status.

More...
enum  ESupportSolveUse { SUPPORT_SOLVE_UNSPECIFIED, SUPPORT_SOLVE_FORWARD_ONLY, SUPPORT_SOLVE_TRANSPOSE_ONLY, SUPPORT_SOLVE_FORWARD_AND_TRANSPOSE }
 

Enum that specifies how a LinearOpWithSolveBase object will be used for solves after it is constructed.

More...
enum  EPreconditionerInputType { PRECONDITIONER_INPUT_TYPE_AS_OPERATOR, PRECONDITIONER_INPUT_TYPE_AS_MATRIX }
 

Enum defining the status of a preconditioner object.

More...
enum  EConj { NONCONJ_ELE, CONJ_ELE }
 

Enumeration for determining how a linear operator is applied. `*.

More...
enum  EOpTransp { NOTRANS, CONJ, TRANS, CONJTRANS }
 

Enumeration for determining how a linear operator is applied. `*.

More...
enum  EViewType { VIEW_TYPE_DIRECT, VIEW_TYPE_DETACHED }
 

Determines if a view is a direct view of data or a detached copy of data.

More...
enum  EStrideType { STRIDE_TYPE_UNIT, STRIDE_TYPE_NONUNIT }
 

Determine if data is unit stride or non-unit stride.

More...
enum  EThrowOnSolveFailure { THROW_ON_SOLVE_FAILURE = 1, IGNORE_SOLVE_FAILURE = 0 }
  More...
enum  EM_VS { VS_RANGE, VS_DOMAIN }
enum  EAdjointEpetraOp { EPETRA_OP_ADJOINT_SUPPORTED, EPETRA_OP_ADJOINT_UNSUPPORTED }
 

Determine if adjoints are supported on Epetra_Opeator or not.

More...
enum  EApplyEpetraOpAs { EPETRA_OP_APPLY_APPLY, EPETRA_OP_APPLY_APPLY_INVERSE }
 

Determine how the apply an Epetra_Operator as a linear operator.

More...

Functions

template<class Scalar >
bool solveSupports (const LinearOpWithSolveBase< Scalar > &A, const EOpTransp transp)
 Call solveSupports() as a non-member function.
template<class Scalar >
bool solveSupportsSolveMeasureType (const LinearOpWithSolveBase< Scalar > &A, const EOpTransp transp, const SolveMeasureType &solveMeasureType)
 Call solveSupportsSolveMeasureType() as a non-member function.
template<class Scalar >
SolveStatus< Scalar > solve (const LinearOpWithSolveBase< Scalar > &A, const EOpTransp A_trans, const MultiVectorBase< Scalar > &B, const Ptr< MultiVectorBase< Scalar > > &X, const Ptr< const SolveCriteria< Scalar > > solveCriteria=Teuchos::null)
 Call solve() as a non-member function.
template<class Scalar >
THYRA_DEPRECATED void solve (const LinearOpWithSolveBase< Scalar > &M, const EOpTransp M_trans, const MultiVectorBase< Scalar > &B, MultiVectorBase< Scalar > *X, const int numBlocks, const BlockSolveCriteria< Scalar > blockSolveCriteria[], SolveStatus< Scalar > blockSolveStatus[])
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED SolveStatus
< Scalar > 
solve (const LinearOpWithSolveBase< Scalar > &A, const EOpTransp A_trans, const MultiVectorBase< Scalar > &B, MultiVectorBase< Scalar > *X, const SolveCriteria< Scalar > *solveCriteria=NULL)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED SolveStatus
< Scalar > 
solve (const LinearOpWithSolveBase< Scalar > &A, const EConj conj, const MultiVectorBase< Scalar > &B, MultiVectorBase< Scalar > *X, const SolveCriteria< Scalar > *solveCriteria=NULL)
 Solve a set of forward linear systems with a single set of tolerances.
template<class Scalar >
THYRA_DEPRECATED SolveStatus
< Scalar > 
solveTranspose (const LinearOpWithSolveBase< Scalar > &A, const EConj conj, const MultiVectorBase< Scalar > &B, MultiVectorBase< Scalar > *X, const SolveCriteria< Scalar > *solveCriteria=NULL)
 Solve a set of transpose linear systems with a single set of tolerances.
template<class Scalar >
THYRA_DEPRECATED void solve (const LinearOpWithSolveBase< Scalar > &A, const EConj conj, const MultiVectorBase< Scalar > &B, MultiVectorBase< Scalar > *X, const int numBlocks, const BlockSolveCriteria< Scalar > blockSolveCriteria[]=NULL, SolveStatus< Scalar > blockSolveStatus[]=NULL)
 Solve a set of forward linear systems with two or more sets of tolerances.
template<class Scalar >
THYRA_DEPRECATED void solveTranspose (const LinearOpWithSolveBase< Scalar > &A, const EConj conj, const MultiVectorBase< Scalar > &B, MultiVectorBase< Scalar > *X, const int numBlocks, const BlockSolveCriteria< Scalar > blockSolveCriteria[]=NULL, SolveStatus< Scalar > blockSolveStatus[]=NULL)
 Solve a set of transpose linear systems with two or more sets of tolerances.
const std::string toString (const ESolveMeasureNormType solveMeasureNormType)
 
std::string toString (const SolveMeasureType &solveMeasureType)
 
const std::string toString (const ESolveStatus solveStatus)
 
template<class Scalar >
void unwrap (const LinearOpBase< Scalar > &Op, Scalar *scalar, EOpTransp *transp, const LinearOpBase< Scalar > **origOp)
 Extract the overallScalar, overallTransp and const origOp from a const LinearOpBase object.
template<class Scalar >
void unwrap (const RCP< const LinearOpBase< Scalar > > &Op, Scalar *scalar, EOpTransp *transp, RCP< const LinearOpBase< Scalar > > *origOp)
 Extract the overallScalar, overallTransp and RCP wrapped const origOp from a RCP wrapped const LinearOpBase object.
template<class Scalar >
THYRA_DEPRECATED void apply (const LinearOpBase< Scalar > &M, const EConj conj, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha=static_cast< Scalar >(1.0), const Scalar beta=static_cast< Scalar >(0.0))
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void applyTranspose (const LinearOpBase< Scalar > &M, const EConj conj, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha=static_cast< Scalar >(1.0), const Scalar beta=static_cast< Scalar >(0.0))
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void apply (const LinearOpBase< Scalar > &M, const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha=static_cast< Scalar >(1.0), const Scalar beta=static_cast< Scalar >(0.0))
 Deprecated.
const char * toString (EConj conj)
 Return a string name for a EOpTransp value. `*.
const char * toString (EOpTransp transp)
 Return a string name for a EOpTransp value.
EOpTransp real_trans (EOpTransp transp)
 Return NOTRANS or TRANS for real scalar valued operators and this also is used for determining structural transpose.
EOpTransp not_trans (EOpTransp transp)
 Perform a not operation on an EOpTransp value.
EOpTransp trans_trans (EOpTransp trans1, EOpTransp trans2)
 Combine two transpose arguments.
EConj transToConj (EOpTransp trans)
 Convert from EOpTransp to EConj.
EOpTransp applyConjToTrans (EConj conj)
 Convert from EConj to EOpTransp for forward apply.
EOpTransp applyTransposeConjToTrans (EConj conj)
 Convert from EConj to EOpTransp for forward apply.
template<class Scalar >
void eval_f (const ModelEvaluator< Scalar > &model, const VectorBase< Scalar > &x, VectorBase< Scalar > *f)
 Evaluate f(x).
template<class Scalar >
void eval_f_W (const ModelEvaluator< Scalar > &model, const VectorBase< Scalar > &x, VectorBase< Scalar > *f, LinearOpWithSolveBase< Scalar > *W)
 Evaluate f(x) and W(x) = DfDx(x).
template<class Scalar >
void eval_f (const ModelEvaluator< Scalar > &model, const VectorBase< Scalar > &x, const Scalar &t, VectorBase< Scalar > *f)
 Evaluate f(x,t).
template<class Scalar >
void eval_g (const ModelEvaluator< Scalar > &model, const int l, const VectorBase< Scalar > &p_l, const int j, const Ptr< VectorBase< Scalar > > &g_j)
 Evaluate g(j)(p)).
template<class Scalar >
void eval_g (const ModelEvaluator< Scalar > &model, const int l, const VectorBase< Scalar > &p_l, const int j, VectorBase< Scalar > *g_j)
 Deprecated .
template<class Scalar >
void eval_g (const ModelEvaluator< Scalar > &model, const int l, const VectorBase< Scalar > &p_l, const Scalar &t, const int j, VectorBase< Scalar > *g_j)
 Evaluate g(j)(p,t)).
template<class Scalar >
void eval_g_DgDp (const ModelEvaluator< Scalar > &model, const int l, const VectorBase< Scalar > &p_l, const int j, const Ptr< VectorBase< Scalar > > &g_j, const ModelEvaluatorBase::Derivative< Scalar > &DgDp_j_l)
 Evaluate g(j)(p)) and/or D(g)/D(p).
template<class Scalar >
void eval_f (const ModelEvaluator< Scalar > &model, const VectorBase< Scalar > &x_dot, const VectorBase< Scalar > &x, const typename ModelEvaluatorBase::InArgs< Scalar >::ScalarMag &t, VectorBase< Scalar > *f)
 Evaluate f(x_dot,x,t).
template<class Scalar >
void eval_f_W (const ModelEvaluator< Scalar > &model, const VectorBase< Scalar > &x_dot, const VectorBase< Scalar > &x, const typename ModelEvaluatorBase::InArgs< Scalar >::ScalarMag &t, const Scalar &alpha, const Scalar &beta, VectorBase< Scalar > *f, LinearOpWithSolveBase< Scalar > *W)
 Evaluate f(x_dot,x,t) and W(x_dot,x,t,alpha,beta) = alpha*DfDx_dot(x_dot,x,t) + beta*DfDx(x_dot,x,t).
template<class Scalar >
RCP
< DefaultAdjointLinearOpWithSolve
< Scalar > > 
defaultAdjointLinearOpWithSolve (const RCP< const LinearOpWithSolveBase< Scalar > > &lows, const EOpTransp transp)
 Nonmember constructor.
template<class Scalar >
RCP
< DefaultAdjointLinearOpWithSolve
< Scalar > > 
defaultAdjointLinearOpWithSolveNonconst (const RCP< LinearOpWithSolveBase< Scalar > > &lows, const EOpTransp transp)
 Nonmember constructor.
template<class Scalar >
RCP< const
LinearOpWithSolveBase< Scalar > > 
adjointLows (const RCP< const LinearOpWithSolveBase< Scalar > > &lows)
 Nonmember constructor.
template<class Scalar >
RCP< LinearOpWithSolveBase
< Scalar > > 
nonconstAdjointLows (const RCP< LinearOpWithSolveBase< Scalar > > &lows)
 Nonmember constructor.
template<class Scalar >
RCP
< DefaultBlockedTriangularLinearOpWithSolveFactory
< Scalar > > 
defaultBlockedTriangularLinearOpWithSolveFactory (const RCP< LinearOpWithSolveFactoryBase< Scalar > > &lowsf)
 Nonmember constructor.
template<class Scalar >
RCP
< DefaultBlockedTriangularLinearOpWithSolveFactory
< Scalar > > 
defaultBlockedTriangularLinearOpWithSolveFactory (const RCP< const LinearOpWithSolveFactoryBase< Scalar > > &lowsf)
 Nonmember constructor.
RTOpPack::ETransp convertToRTOpPackETransp (const EOpTransp transp)
template<class Scalar >
RCP
< DefaultSerialDenseLinearOpWithSolveFactory
< Scalar > > 
defaultSerialDenseLinearOpWithSolveFactory ()
 Nonmember constructor.
template<class Scalar >
bool isCompatible (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const LinearOpBase< Scalar > &fwdOp)
 Return if the forward operator is a compatible source for a LOWSFB object.
template<class Scalar >
void setDefaultObjectLabel (const LinearOpBase< Scalar > &fwdOp, LinearOpWithSolveBase< Scalar > *Op)
 Set default label on a LOWSB object.
template<class Scalar >
void initializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Initialize a pre-created LOWSB object given a forward operator.
template<class Scalar >
void initializeAndReuseOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, LinearOpWithSolveBase< Scalar > *Op)
 Reinitialize a pre-created LOWSB object given a forward operator, reusing a much as possible from the prior LOWSB object.
template<class Scalar >
void initializePreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const Teuchos::RCP< const PreconditionerBase< Scalar > > &prec, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Initialize a preconditioned LOWSB object given an external preconditioner.
template<class Scalar >
void initializeApproxPreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const Teuchos::RCP< const LinearOpBase< Scalar > > &approxFwdOp, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Initialize a preconditioned LOWSB object given an external operator to be used to generate the preconditioner internally.
template<class Scalar >
Teuchos::RCP
< LinearOpWithSolveBase
< Scalar > > 
linearOpWithSolve (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Create and initialize a LinearOpWithSolveBase object from a LinearOpBase object using a LinearOpWithSolveFactoryBase strategy object.
template<class Scalar >
Teuchos::RCP< LinearOpBase
< Scalar > > 
inverse (const LinearOpWithSolveFactoryBase< Scalar > &LOWSF, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED, const SolveCriteria< Scalar > *fwdSolveCriteria=NULL, const EThrowOnSolveFailure throwOnFwdSolveFailure=THROW_ON_SOLVE_FAILURE, const SolveCriteria< Scalar > *adjSolveCriteria=NULL, const EThrowOnSolveFailure throwOnAdjSolveFailure=THROW_ON_SOLVE_FAILURE)
 Form a const implicit inverse operator M = inv(A) given a factory.
template<class Scalar >
void uninitializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, LinearOpWithSolveBase< Scalar > *Op, Teuchos::RCP< const LinearOpBase< Scalar > > *fwdOp=NULL, Teuchos::RCP< const PreconditionerBase< Scalar > > *prec=NULL, Teuchos::RCP< const LinearOpBase< Scalar > > *approxFwdOp=NULL, ESupportSolveUse *supportSolveUse=NULL)
 Uninitialized a pre-created LOWSB object, returning input objects used to initialize it.
template<class Scalar >
void assertSupportsSolveMeasureType (const LinearOpWithSolveBase< Scalar > &lows, const EOpTransp M_trans, const SolveMeasureType &solveMeasureType)
 Assert that a LOWSB object supports a particular solve type.
 LOWST_DEFINE_RAW_STATIC_MEMBER (bool, check_forward_default_default_, true)
 LOWST_DEFINE_RAW_STATIC_MEMBER (bool, check_forward_residual_default_, true)
 LOWST_DEFINE_RAW_STATIC_MEMBER (bool, check_adjoint_default_default_, true)
 LOWST_DEFINE_RAW_STATIC_MEMBER (bool, check_adjoint_residual_default_, true)
 LOWST_DEFINE_MTD_STATIC_MEMBER (ScalarMag, warning_tol_default_, 1e-6)
 LOWST_DEFINE_MTD_STATIC_MEMBER (ScalarMag, error_tol_default_, 1e-5)
 LOWST_DEFINE_MTD_STATIC_MEMBER (ScalarMag, solve_tol_default_, 1e-5)
 LOWST_DEFINE_MTD_STATIC_MEMBER (ScalarMag, slack_warning_tol_default_, 1e-6)
 LOWST_DEFINE_MTD_STATIC_MEMBER (ScalarMag, slack_error_tol_default_, 1e-5)
 LOWST_DEFINE_RAW_STATIC_MEMBER (int, num_random_vectors_default_, 1)
 LOWST_DEFINE_RAW_STATIC_MEMBER (bool, show_all_tests_default_, false)
 LOWST_DEFINE_RAW_STATIC_MEMBER (bool, dump_all_default_, false)
 LOWST_DEFINE_RAW_STATIC_MEMBER (int, num_rhs_default_, 1)
 LOWST_DEFINE_RAW_STATIC_MEMBER (std::string, AllSolveTol_name_,"All Solve Tol")
 LOWST_DEFINE_RAW_STATIC_MEMBER (std::string, AllSlackWarningTol_name_,"All Slack Warning Tol")
 LOWST_DEFINE_RAW_STATIC_MEMBER (std::string, AllSlackErrorTol_name_,"All Slack Error Tol")
 LOWST_DEFINE_RAW_STATIC_MEMBER (std::string, ShowAllTests_name_,"Show All Tests")
 LOWST_DEFINE_RAW_STATIC_MEMBER (std::string, DumpAll_name_,"Dump All")
template<class Scalar >
void initializePrec (const PreconditionerFactoryBase< Scalar > &precFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, PreconditionerBase< Scalar > *prec, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Initialize a preconditioner from a forward linear operator.
template<class Scalar >
void uninitializePrec (const PreconditionerFactoryBase< Scalar > &precFactory, PreconditionerBase< Scalar > *prec, Teuchos::RCP< const LinearOpBase< Scalar > > *fwdOp=NULL, ESupportSolveUse *supportSolveUse=NULL)
 Uninitialize a preconditioner and optionally extra what was used to create it.
template<class Scalar >
Teuchos::RCP
< PreconditionerBase< Scalar > > 
prec (const PreconditionerFactoryBase< Scalar > &precFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Create and initialize a preconditioner from a forward linear operator.
template<class Scalar >
void apply_op_validate_input (const std::string &func_name, const VectorSpaceBase< Scalar > &space, const RTOpPack::RTOpT< Scalar > &op, const ArrayView< const Ptr< const VectorBase< Scalar > > > &vecs, const ArrayView< const Ptr< VectorBase< Scalar > > > &targ_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal global_offset)
 Validate the inputs to VectorBase::applyOp().
template<class Scalar >
void apply_op_validate_input (const std::string &func_name, const VectorSpaceBase< Scalar > &domain, const VectorSpaceBase< Scalar > &range, const RTOpPack::RTOpT< Scalar > &primary_op, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &multi_vecs, const ArrayView< const Ptr< MultiVectorBase< Scalar > > > &targ_multi_vecs, const ArrayView< const Ptr< RTOpPack::ReductTarget > > &reduct_objs, const Ordinal primary_global_offset)
 Validate the inputs to MultiVectorBase::applyOp().
template<class Scalar >
RCP< DefaultSpmdMultiVector
< Scalar > > 
defaultSpmdMultiVector (const RCP< const SpmdVectorSpaceBase< Scalar > > &spmdRangeSpace, const RCP< const ScalarProdVectorSpaceBase< Scalar > > &domainSpace, const ArrayRCP< Scalar > &localValues, const Ordinal leadingDim=-1)
template<class Scalar >
RCP
< CopyBackSpmdMultiVectorEntries
< Scalar > > 
copyBackSpmdMultiVectorEntries (const ArrayView< const int > &cols, const ArrayRCP< const Scalar > &localValuesView, const Ordinal localSubDim, const ArrayRCP< Scalar > &localValues, const Ordinal leadingDim)
template<class Scalar >
dump_vec_spaces_t< Scalar > dump_vec_spaces (const Thyra::VectorSpaceBase< Scalar > &vec_space1, const std::string &vec_space1_name, const Thyra::VectorSpaceBase< Scalar > &vec_space2, const std::string &vec_space2_name)
template<class Scalar >
std::ostream & operator<< (std::ostream &o, const dump_vec_spaces_t< Scalar > &d)
template<class Scalar >
const Thyra::VectorSpaceBase
< Scalar > & 
linear_op_op (const Thyra::LinearOpBase< Scalar > &M, Thyra::EOpTransp M_trans, EM_VS M_VS)
 Utility function for selecting domain or range spaces.
template<class Scalar >
void assertLinearOpPlusLinearOpNames (const std::string &funcName, const LinearOpBase< Scalar > &M1, const EOpTransp M1_trans_in, const std::string &M1_name, const LinearOpBase< Scalar > &M2, const EOpTransp M2_trans_in, const std::string &M2_name)
template<class Scalar >
void assertLinearOpTimesLinearOpNames (const std::string &funcName, const LinearOpBase< Scalar > &M1, const EOpTransp M1_trans_in, const std::string &M1_name, const LinearOpBase< Scalar > &M2, const EOpTransp M2_trans_in, const std::string &M2_name)
template<class Scalar >
RCP< DefaultAddedLinearOp
< Scalar > > 
defaultAddedLinearOp (const ArrayView< const RCP< LinearOpBase< Scalar > > > &Ops)
 Non-member constructor.
template<class Scalar >
RCP< DefaultAddedLinearOp
< Scalar > > 
defaultAddedLinearOp (const ArrayView< const RCP< const LinearOpBase< Scalar > > > &Ops)
 Non-member constructor.
template<class Scalar >
RCP< DefaultProductVector
< Scalar > > 
defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const RCP< VectorBase< Scalar > > vecs[])
 Deprecated.
template<class Scalar >
void describeLinearOp (const LinearOpBase< Scalar > &A, Teuchos::FancyOStream &out_arg, const Teuchos::EVerbosityLevel verbLevel)
 Basic implementation of a describe function for a linear operator.
template<class ScalarMag >
void setDefaultTol (const ScalarMag &defaultDefaultTol, ScalarMag &defaultTol)
template<class Scalar >
void norms (const MultiVectorBase< Scalar > &V, typename ScalarTraits< Scalar >::magnitudeType norms_out[])
 Deprecated.
template<class Scalar , class NormOp >
void reductions (const MultiVectorBase< Scalar > &V, const NormOp &op, typename ScalarTraits< Scalar >::magnitudeType norms_out[])
 Deprecated.
template<class Scalar >
void norms_1 (const MultiVectorBase< Scalar > &V, typename ScalarTraits< Scalar >::magnitudeType norms_out[])
 Deprecated.
template<class Scalar >
void norms_2 (const MultiVectorBase< Scalar > &V, typename ScalarTraits< Scalar >::magnitudeType norms_out[])
 Deprecated.
template<class Scalar >
void norms_inf (const MultiVectorBase< Scalar > &V, typename ScalarTraits< Scalar >::magnitudeType norms_out[])
 Deprecated.
template<class Scalar >
void dots (const MultiVectorBase< Scalar > &V1, const MultiVectorBase< Scalar > &V2, Scalar dots_out[])
 Deprecated.
template<class Scalar >
void sums (const MultiVectorBase< Scalar > &V, Scalar sums_out[])
 Deprecated.
template<class Scalar >
void scale (Scalar alpha, MultiVectorBase< Scalar > *V)
 Deprecated.
template<class Scalar >
void scaleUpdate (const VectorBase< Scalar > &a, const MultiVectorBase< Scalar > &U, MultiVectorBase< Scalar > *V)
 Deprecated.
template<class Scalar >
void assign (MultiVectorBase< Scalar > *V, Scalar alpha)
 Deprecated.
template<class Scalar >
void assign (MultiVectorBase< Scalar > *V, const MultiVectorBase< Scalar > &U)
 Deprecated.
template<class Scalar >
void update (Scalar alpha, const MultiVectorBase< Scalar > &U, MultiVectorBase< Scalar > *V)
 Deprecated.
template<class Scalar >
void update (const Scalar alpha[], Scalar beta, const MultiVectorBase< Scalar > &U, MultiVectorBase< Scalar > *V)
 Deprecated.
template<class Scalar >
void update (const MultiVectorBase< Scalar > &U, Scalar alpha[], Scalar beta, MultiVectorBase< Scalar > *V)
 Deprecated.
template<class Scalar >
void linear_combination (const int m, const Scalar alpha[], const MultiVectorBase< Scalar > *X_in[], const Scalar &beta, MultiVectorBase< Scalar > *Y)
 Deprecated.
template<class Scalar >
void randomize (Scalar l, Scalar u, MultiVectorBase< Scalar > *V)
 Deprecated.
template<class Scalar >
void Vt_S (MultiVectorBase< Scalar > *Z, const Scalar &alpha)
 Deprecated.
template<class Scalar >
void Vp_S (MultiVectorBase< Scalar > *Z, const Scalar &alpha)
 Deprecated.
template<class Scalar >
void Vp_V (MultiVectorBase< Scalar > *Z, const MultiVectorBase< Scalar > &X)
 Deprecated.
template<class Scalar >
void V_VpV (MultiVectorBase< Scalar > *Z, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
 Deprecated.
template<class Scalar >
void V_VmV (MultiVectorBase< Scalar > *Z, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
 Deprecated.
template<class Scalar >
void V_StVpV (MultiVectorBase< Scalar > *Z, const Scalar &alpha, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
 Deprecated.
const std::string passfail (const bool result)
 
template<class Scalar >
Teuchos::ScalarTraits< Scalar >
::magnitudeType 
relErr (const Scalar &s1, const Scalar &s2)
 
template<class Scalar >
Teuchos::ScalarTraits< Scalar >
::magnitudeType 
relVectorErr (const VectorBase< Scalar > &v1, const VectorBase< Scalar > &v2)
 Return relative error of two vectors.
template<class Scalar >
bool testRelErr (const std::string &v1_name, const Scalar &v1, const std::string &v2_name, const Scalar &v2, const std::string &maxRelErr_error_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &maxRelErr_error, const std::string &maxRelErr_warning_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &maxRelErr_warning, std::ostream *out, const std::string &leadingIndent=std::string(""))
 Compute, check and optionally print the relative error in two scalars.
template<class Scalar1 , class Scalar2 , class ScalarMag >
bool testRelErrors (const int num_scalars, const std::string &v1_name, const Scalar1 v1[], const std::string &v2_name, const Scalar2 v2[], const std::string &maxRelErr_error_name, const ScalarMag &maxRelErr_error, const std::string &maxRelErr_warning_name, const ScalarMag &maxRelErr_warning, std::ostream *out, const std::string &leadingIndent=std::string(""))
 Compute, check and optionally print the relative errors in two scalar arays.
template<class Scalar >
bool testRelNormDiffErr (const std::string &v1_name, const VectorBase< Scalar > &v1, const std::string &v2_name, const VectorBase< Scalar > &v2, const std::string &maxRelErr_error_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &maxRelErr_error, const std::string &maxRelErr_warning_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &maxRelErr_warning, std::ostream *out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::VERB_LOW, const std::string &leadingIndent=std::string(""))
 Compute, check and optionally print the relative errors in two vectors.
template<class Scalar >
bool testMaxErr (const std::string &error_name, const Scalar &error, const std::string &max_error_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &max_error, const std::string &max_warning_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &max_warning, std::ostream *out, const std::string &leadingIndent=std::string(""))
 Check that an error is less than some error tolerence.
template<class Scalar >
bool testMaxErrors (const int num_scalars, const std::string &error_name, const Scalar error[], const std::string &max_error_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &max_error, const std::string &max_warning_name, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &max_warning, std::ostream *out, const std::string &leadingIndent=std::string(""))
 Check that an array of errors is less than some error tolerence.
bool testBoolExpr (const std::string &boolExprName, const bool &boolExpr, const bool &boolExpected, std::ostream *out, const std::string &leadingIndent=std::string(""))
 Check a boolean result against expected result.
void printTestResults (const bool result, const std::string &test_summary, const bool show_all_tests, bool *success, std::ostream *out)
 Print summary outputting for a test or just passed or failed.
template<class Scalar >
std::ostream & operator<< (std::ostream &o, const VectorBase< Scalar > &v)
 Output operator to pretty print any Thyra::VectorBase object.
template<class Scalar >
std::ostream & operator<< (std::ostream &o, const LinearOpBase< Scalar > &M)
 Output operator to pretty print any Thyra::LinearOpBase object.
template<class Scalar >
THYRA_DEPRECATED void set_ele (Ordinal i, Scalar alpha, VectorBase< Scalar > *v)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void put_scalar (const Scalar &alpha, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void copy (const VectorBase< Scalar > &x, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void add_scalar (const Scalar &alpha, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void scale (const Scalar &alpha, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void abs (VectorBase< Scalar > *y, const VectorBase< Scalar > &x)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void reciprocal (VectorBase< Scalar > *y, const VectorBase< Scalar > &x)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void ele_wise_prod (const Scalar &alpha, const VectorBase< Scalar > &x, const VectorBase< Scalar > &v, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void ele_wise_conj_prod (const Scalar &alpha, const VectorBase< Scalar > &x, const VectorBase< Scalar > &v, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void Vp_StVtV (VectorBase< Scalar > *y, const Scalar &alpha, const VectorBase< Scalar > &x, const VectorBase< Scalar > &v)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void ele_wise_prod_update (const Scalar &alpha, const VectorBase< Scalar > &x, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void Vt_StV (VectorBase< Scalar > *y, const Scalar &alpha, const VectorBase< Scalar > &x)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void ele_wise_divide (const Scalar &alpha, const VectorBase< Scalar > &x, const VectorBase< Scalar > &v, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void linear_combination (const int m, const Scalar alpha_in[], const VectorBase< Scalar > *x_in[], const Scalar &beta, VectorBase< Scalar > *y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void randomize (Scalar l, Scalar u, VectorBase< Scalar > *v)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void assign (VectorBase< Scalar > *y, const Scalar &alpha)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void assign (VectorBase< Scalar > *y, const VectorBase< Scalar > &x)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void Vp_S (VectorBase< Scalar > *y, const Scalar &alpha)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void Vt_S (VectorBase< Scalar > *y, const Scalar &alpha)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void V_StV (VectorBase< Scalar > *y, const Scalar &alpha, const VectorBase< Scalar > &x)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void Vp_StV (VectorBase< Scalar > *y, const Scalar &alpha, const VectorBase< Scalar > &x)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void Vp_V (VectorBase< Scalar > *y, const VectorBase< Scalar > &x, const Scalar &beta=static_cast< Scalar >(1.0))
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void V_V (VectorBase< Scalar > *y, const VectorBase< Scalar > &x)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void V_S (VectorBase< Scalar > *y, const Scalar &alpha)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void V_VpV (VectorBase< Scalar > *z, const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void V_VmV (VectorBase< Scalar > *z, const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void V_StVpV (VectorBase< Scalar > *z, const Scalar &alpha, const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void V_StVpStV (VectorBase< Scalar > *z, const Scalar &alpha, const VectorBase< Scalar > &x, const Scalar &beta, const VectorBase< Scalar > &y)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void min (const VectorBase< Scalar > &x, Scalar *maxEle, Ordinal *maxIndex)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void minGreaterThanBound (const VectorBase< Scalar > &x, const Scalar &bound, Scalar *minEle, Ordinal *minIndex)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void max (const VectorBase< Scalar > &x, Scalar *maxEle, Ordinal *maxIndex)
 Deprecated.
template<class Scalar >
THYRA_DEPRECATED void maxLessThanBound (const VectorBase< Scalar > &x, const Scalar &bound, Scalar *maxEle, Ordinal *maxIndex)
 Deprecated.
template<class Scalar >
void setEleTestCase (const Ptr< VectorBase< Scalar > > &z, const Ordinal i, int &tc, std::ostream &out, bool &success)
std::string Thyra_Version ()
 Print the version of Thyra.
template<class Scalar >
RCP
< DiagonalQuadraticResponseOnlyModelEvaluator
< Scalar > > 
diagonalQuadraticResponseOnlyModelEvaluator (const int localDim, const RCP< const Teuchos::Comm< Ordinal > > &comm=Teuchos::null)
 Non-member constructor.
template<class Scalar >
Teuchos::RCP
< Simple2DModelEvaluator
< Scalar > > 
simple2DModelEvaluator ()
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (DefaultBlockedTriangularLinearOpWithSolve, defaultConstruct, Scalar)
 THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES (DefaultBlockedTriangularLinearOpWithSolve, defaultConstruct) TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(DefaultBlockedTriangularLinearOpWithSolve
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (DefaultMultiVectorLinearOpWithSolve, defaultConstruct, Scalar)
 THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES (DefaultMultiVectorLinearOpWithSolve, defaultConstruct) TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(DefaultMultiVectorLinearOpWithSolve
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (DelayedLinearOpWithSolve, defaultConstruct, Scalar)
 THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES (DelayedLinearOpWithSolve, defaultConstruct) TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(DelayedLinearOpWithSolve
template<class Scalar >
RCP< MultiVectorBase< Scalar > > createNonsingularMultiVector (const RCP< const VectorSpaceBase< Scalar > > &vs)
 Generate a very well scaled unsymmetic dense matrix for use in testing a dense solve.
template<class Scalar >
bool run_linear_op_with_solve_tests (const int n, const typename ScalarTraits< Scalar >::magnitudeType maxRelErr, const bool showAllTests, const bool dumpAll, FancyOStream &out)
 Main test driver that tests the LinearOpWithSolveBase interface and supporting software.
template<class Scalar >
RCP< VectorSpaceBase< Scalar > > createSpmdVectorSpace (const Teuchos_Ordinal localDim)
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (DefaultMultiVectorProductVectorSpace, defaultConstruct, Scalar)
 THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES (DefaultMultiVectorProductVectorSpace, defaultConstruct) TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(DefaultMultiVectorProductVectorSpace
template<class Scalar >
RCP< VectorSpaceBase< Scalar > > createSpmdVectorSpace (const Ordinal localDim)
template<class Scalar >
RCP< VectorSpaceBase< Scalar > > createProductVectorSpace (const Ordinal localDim, const int numBlocks)
 TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (DefaultProductVectorSpace, defaultConstruct, Scalar)
 THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES (DefaultProductVectorSpace, defaultConstruct) TEUCHOS_UNIT_TEST(DefaultProductVectorSpace
template<class Scalar >
bool run_std_ops_tests (const int n, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType max_rel_err, const bool dumpAll, Teuchos::FancyOStream *out_arg)
 Main test driver that runs tests on all standard operators.
RCP< const Teuchos::Comm
< Ordinal > > 
create_Comm (const RCP< const Epetra_Comm > &epetraComm)
 Given an Epetra_Comm object, return an equivalent Teuchos::Comm object.
RCP< const VectorSpaceBase
< double > > 
create_VectorSpace (const RCP< const Epetra_Map > &epetra_map)
 Create an VectorSpaceBase object given an Epetra_Map object.
RCP< const VectorSpaceBase
< double > > 
create_LocallyReplicatedVectorSpace (const RCP< const VectorSpaceBase< double > > &parentSpace, const int dim)
 Create a VectorSpaceBase object that creates locally replicated vector objects.
RCP< VectorBase< double > > create_Vector (const RCP< Epetra_Vector > &epetra_v, const RCP< const VectorSpaceBase< double > > &space)
 Create a non-const VectorBase object from a non-const Epetra_Vector object.
RCP< const VectorBase< double > > create_Vector (const RCP< const Epetra_Vector > &epetra_v, const RCP< const VectorSpaceBase< double > > &space)
 Create an const VectorBase wrapper object for a const Epetra_Vector object.
RCP< MultiVectorBase< double > > create_MultiVector (const RCP< Epetra_MultiVector > &epetra_mv, const RCP< const VectorSpaceBase< double > > &range, const RCP< const VectorSpaceBase< double > > &domain=Teuchos::null)
 Create a non-const MultiVectorBase object from a non-const Epetra_MultiVector object.
RCP< const MultiVectorBase
< double > > 
create_MultiVector (const RCP< const Epetra_MultiVector > &epetra_mv, const RCP< const VectorSpaceBase< double > > &range, const RCP< const VectorSpaceBase< double > > &domain=Teuchos::null)
 Create an const MultiVectorBase wrapper object for a const Epetra_MultiVector object.
RCP< const Epetra_Comm > get_Epetra_Comm (const Teuchos::Comm< Ordinal > &comm)
 Get (or create) and Epetra_Comm given a Teuchos::Comm object.
RCP< const Epetra_Map > get_Epetra_Map (const VectorSpaceBase< double > &vs, const RCP< const Epetra_Comm > &comm)
 Get (or create) an Epetra_Map object given an VectorSpaceBase object an optionally an extra Epetra_Comm object.
RCP< Epetra_Vector > get_Epetra_Vector (const Epetra_Map &map, const RCP< VectorBase< double > > &v)
 Get a non-const Epetra_Vector view from a non-const VectorBase object if possible.
RCP< const Epetra_Vector > get_Epetra_Vector (const Epetra_Map &map, const RCP< const VectorBase< double > > &v)
 Get a const Epetra_Vector view from a const VectorBase object if possible.
RCP< Epetra_MultiVector > get_Epetra_MultiVector (const Epetra_Map &map, const RCP< MultiVectorBase< double > > &mv)
 Get a non-const Epetra_MultiVector view from a non-const MultiVectorBase object if possible.
RCP< const Epetra_MultiVector > get_Epetra_MultiVector (const Epetra_Map &map, const RCP< const MultiVectorBase< double > > &mv)
 Get a const Epetra_MultiVector view from a const MultiVectorBase object if possible.
Teuchos::RCP< Epetra_MultiVector > get_Epetra_MultiVector (const Epetra_Map &map, MultiVectorBase< double > &mv)
 Get a non-const Epetra_MultiVector view from a non-const MultiVectorBase object if possible where the client must maintain the memory of the input multivector.
Teuchos::RCP< const
Epetra_MultiVector > 
get_Epetra_MultiVector (const Epetra_Map &map, const MultiVectorBase< double > &mv)
 Get a const Epetra_MultiVector view from a const MultiVectorBase object if possible where the client must maintain the memory of the input multivector.
const std::string toString (const EAdjointEpetraOp adjointEpetraOp)
 
const std::string toString (const EApplyEpetraOpAs applyEpetraOpAs)
 
Teuchos::RCP< Epetra_Operator > get_Epetra_Operator (LinearOpBase< double > &op)
 Get smart pointer to non-const Epetra_Operator object from reference to a non-const EpetraLinearOp accessed through its LinearOpBase interface.
Teuchos::RCP< const
Epetra_Operator > 
get_Epetra_Operator (const LinearOpBase< double > &op)
 Get smart pointer to const Epetra_Operator object from reference to a const EpetraLinearOp accessed through its LinearOpBase interface.
 TEUCHOS_UNIT_TEST (EpetraOperatorWrapper, basic)
RCP< const Teuchos::Comm
< Ordinal > > 
convertTpetraToThyraComm (const RCP< const Teuchos::Comm< int > > &tpetraComm)
 Given an Tpetra Teuchos::Comm<int> object, return an equivalent Teuchos::Comm<Ordinal> object.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const VectorSpaceBase
< Scalar > > 
createVectorSpace (const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &tpetraMap)
 Create a Thyra::VectorSpaceBase object given a Tpetra::Map.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< VectorBase< Scalar > > createVector (const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector, const RCP< const VectorSpaceBase< Scalar > > space=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const VectorBase< Scalar > > createConstVector (const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector, const RCP< const VectorSpaceBase< Scalar > > space=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< MultiVectorBase< Scalar > > createMultiVector (const RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const MultiVectorBase
< Scalar > > 
createConstMultiVector (const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< LinearOpBase< Scalar > > createLinearOp (const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const LinearOpBase< Scalar > > createConstLinearOp (const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const
TpetraVectorSpace< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
getOrCreateTpetraVectorSpace (const RCP< const VectorSpaceBase< Scalar > > space, const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &tpetraMap)
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const
ScalarProdVectorSpaceBase
< Scalar > > 
getOrCreateLocallyReplicatedTpetraVectorSpace (const RCP< const VectorSpaceBase< Scalar > > space, const RCP< const Teuchos::Comm< int > > &tpetraComm, const RCP< Node > &tpetraNode, const int numCols)

Variables

THYRA_DEPRECATED typedef Ordinal Index
 Deprecated: Use Ordinal instead! `*.
THYRA_DEPRECATED typedef EOpTransp ETransp
 Deprecated (use EOpTransp instead).
 basic
const int g_localDim = 4
 standard

Typedef Documentation

Definition at line 84 of file Thyra_OperatorVectorTypes.hpp.

typedef Teuchos::Ordinal Thyra::Ordinal

Type for the dimension of a vector space. `*.

Definition at line 114 of file Thyra_OperatorVectorTypes.hpp.


Enumeration Type Documentation

Type of solve measure norm.

For reference we refer to solving a single linear system A*x=b.

Enumerator:
SOLVE_MEASURE_ONE 

No solve measure (i.e. same as 1.0).

SOLVE_MEASURE_NORM_RESIDUAL 

Norm of the current residual vector (i.e. ||A*x-b||).

SOLVE_MEASURE_NORM_SOLUTION 

Norm of the current solution vector (i.e. ||x||).

SOLVE_MEASURE_NORM_INIT_RESIDUAL 

Norm of the initial residual vector given a non-zero guess (i.e. ||A*xo-b||).

SOLVE_MEASURE_NORM_RHS 

Norm of the Right-hand side (i.e. ||b||).

Definition at line 46 of file Thyra_SolveSupportTypes.hpp.

Solution status.

Enumerator:
SOLVE_STATUS_CONVERGED 

The requested solution criteria has likely been achieved.

SOLVE_STATUS_UNCONVERGED 

The requested solution criteria has likely not been achieved.

SOLVE_STATUS_UNKNOWN 

The final solution status is unknown but he solve did not totally fail.

Definition at line 199 of file Thyra_SolveSupportTypes.hpp.

Enum that specifies how a LinearOpWithSolveBase object will be used for solves after it is constructed.

Enumerator:
SUPPORT_SOLVE_UNSPECIFIED 

How the output LOWSB object will be useded for solves in unspecified.

SUPPORT_SOLVE_FORWARD_ONLY 

The output LOWSB object will only be used for forward solves.

SUPPORT_SOLVE_TRANSPOSE_ONLY 

The output LOWSB object will only be used for transpose solves.

SUPPORT_SOLVE_FORWARD_AND_TRANSPOSE 

The output LOWSB object will used for forward and transpose solves.

Definition at line 296 of file Thyra_SolveSupportTypes.hpp.

Enum defining the status of a preconditioner object.

Enumerator:
PRECONDITIONER_INPUT_TYPE_AS_OPERATOR 

The input preconditioner should just be applied as an operator.

PRECONDITIONER_INPUT_TYPE_AS_MATRIX 

The input preconditioner should viewed as a matrix to be factored then backsolved as a preconditioner.

Definition at line 308 of file Thyra_SolveSupportTypes.hpp.

Enumeration for determining how a linear operator is applied. `*.

Enumerator:
NONCONJ_ELE 

Use the linear operator with non-conjugate elements.

CONJ_ELE 

Use the linear operator with conjugate elements.

Definition at line 127 of file Thyra_OperatorVectorTypes.hpp.

Enumeration for determining how a linear operator is applied. `*.

Enumerator:
NOTRANS 

Use the non-transposed operator.

CONJ 

Use the non-transposed operator with complex-conjugate elements (same as NOTRANS for real scalar types).

TRANS 

Use the transposed operator.

CONJTRANS 

Use the transposed operator with complex-conjugate clements (same as TRANS for real scalar types).

Definition at line 153 of file Thyra_OperatorVectorTypes.hpp.

Determines if a view is a direct view of data or a detached copy of data.

Enumerator:
VIEW_TYPE_DIRECT 

The view is a direct view of data and no copies are made.

VIEW_TYPE_DETACHED 

The view is a detached copy of the data.

Definition at line 309 of file Thyra_OperatorVectorTypes.hpp.

Determine if data is unit stride or non-unit stride.

Enumerator:
STRIDE_TYPE_UNIT 

The stride between elements in an array is one.

STRIDE_TYPE_NONUNIT 

The stride between elements in an array is greater than or equal to one.

Definition at line 319 of file Thyra_OperatorVectorTypes.hpp.

Enumerator:
THROW_ON_SOLVE_FAILURE 

Throw an exception if a solve fails to converge.

IGNORE_SOLVE_FAILURE 

Don't throw an exception if a solve fails to converge.

Definition at line 40 of file Thyra_DefaultInverseLinearOp_decl.hpp.

Enumerator:
VS_RANGE 
VS_DOMAIN 

Definition at line 105 of file Thyra_AssertOp.hpp.


Function Documentation

template<class Scalar >
bool Thyra::solveSupports ( const LinearOpWithSolveBase< Scalar > &  A,
const EOpTransp  transp 
) [inline]
template<class Scalar >
bool Thyra::solveSupportsSolveMeasureType ( const LinearOpWithSolveBase< Scalar > &  A,
const EOpTransp  transp,
const SolveMeasureType &  solveMeasureType 
) [inline]
template<class Scalar >
SolveStatus<Scalar> Thyra::solve ( const LinearOpWithSolveBase< Scalar > &  A,
const EOpTransp  A_trans,
const MultiVectorBase< Scalar > &  B,
const Ptr< MultiVectorBase< Scalar > > &  X,
const Ptr< const SolveCriteria< Scalar > >  solveCriteria = Teuchos::null 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::solve ( const LinearOpWithSolveBase< Scalar > &  M,
const EOpTransp  M_trans,
const MultiVectorBase< Scalar > &  B,
MultiVectorBase< Scalar > *  X,
const int  numBlocks,
const BlockSolveCriteria< Scalar >  blockSolveCriteria[],
SolveStatus< Scalar >  blockSolveStatus[] 
) [inline]
template<class Scalar >
THYRA_DEPRECATED SolveStatus<Scalar> Thyra::solve ( const LinearOpWithSolveBase< Scalar > &  A,
const EOpTransp  A_trans,
const MultiVectorBase< Scalar > &  B,
MultiVectorBase< Scalar > *  X,
const SolveCriteria< Scalar > *  solveCriteria = NULL 
) [inline]
template<class Scalar >
THYRA_DEPRECATED SolveStatus<Scalar> Thyra::solve ( const LinearOpWithSolveBase< Scalar > &  A,
const EConj  conj,
const MultiVectorBase< Scalar > &  B,
MultiVectorBase< Scalar > *  X,
const SolveCriteria< Scalar > *  solveCriteria = NULL 
) [inline]

Solve a set of forward linear systems with a single set of tolerances.

See the implementation of this function for details.

Definition at line 575 of file Thyra_LinearOpWithSolveBase_decl.hpp.

References Thyra::LinearOpBase< Scalar >::domain(), and Thyra::LinearOpWithSolveBase< Scalar >::solve().

template<class Scalar >
THYRA_DEPRECATED SolveStatus<Scalar> Thyra::solveTranspose ( const LinearOpWithSolveBase< Scalar > &  A,
const EConj  conj,
const MultiVectorBase< Scalar > &  B,
MultiVectorBase< Scalar > *  X,
const SolveCriteria< Scalar > *  solveCriteria = NULL 
) [inline]

Solve a set of transpose linear systems with a single set of tolerances.

See the implementation of this function for details.

Definition at line 611 of file Thyra_LinearOpWithSolveBase_decl.hpp.

References Thyra::LinearOpBase< Scalar >::domain(), and Thyra::LinearOpWithSolveBase< Scalar >::solveTranspose().

template<class Scalar >
THYRA_DEPRECATED void Thyra::solve ( const LinearOpWithSolveBase< Scalar > &  A,
const EConj  conj,
const MultiVectorBase< Scalar > &  B,
MultiVectorBase< Scalar > *  X,
const int  numBlocks,
const BlockSolveCriteria< Scalar >  blockSolveCriteria[] = NULL,
SolveStatus< Scalar >  blockSolveStatus[] = NULL 
) [inline]

Solve a set of forward linear systems with two or more sets of tolerances.

See the implementation of this function for details.

Definition at line 646 of file Thyra_LinearOpWithSolveBase_decl.hpp.

References Thyra::LinearOpWithSolveBase< Scalar >::solve().

template<class Scalar >
THYRA_DEPRECATED void Thyra::solveTranspose ( const LinearOpWithSolveBase< Scalar > &  A,
const EConj  conj,
const MultiVectorBase< Scalar > &  B,
MultiVectorBase< Scalar > *  X,
const int  numBlocks,
const BlockSolveCriteria< Scalar >  blockSolveCriteria[] = NULL,
SolveStatus< Scalar >  blockSolveStatus[] = NULL 
) [inline]

Solve a set of transpose linear systems with two or more sets of tolerances.

See the implementation of this function for details.

Definition at line 669 of file Thyra_LinearOpWithSolveBase_decl.hpp.

References Thyra::LinearOpWithSolveBase< Scalar >::solveTranspose().

const std::string Thyra::toString ( const ESolveMeasureNormType  solveMeasureNormType  )  [inline]
std::string Thyra::toString ( const SolveMeasureType &  solveMeasureType  )  [inline]
const std::string Thyra::toString ( const ESolveStatus  solveStatus  )  [inline]
template<class Scalar >
void Thyra::unwrap ( const LinearOpBase< Scalar > &  Op,
Scalar *  scalar,
EOpTransp *  transp,
const LinearOpBase< Scalar > **  origOp 
) [inline]

Extract the overallScalar, overallTransp and const origOp from a const LinearOpBase object.

Parameters:
Op [in] The input, possibly scaled and/or adjoined, linear operator
scalar [out] The overall scaling factor.
transp [out] The overall adjoint (transposition) enum.
origOp [out] The underlying, non-scaled and non-adjoined linear operator. This pointer returns a non-persisting relationship that is to be used and then immediately forgotten.

Preconditions:

  • scalar!==NULL
  • transp!==NULL
  • origOp!==NULL

Postconditions:

  • *origOp!==NULL

The purpose of this function is to strip off the ScaledAdjointLinearOpBase wrapper and get at the underlying linear operator for the purpose of further dynamic casting to some more derived interface.

The implementation of this function is not too complicated and is appropriate for study.

Definition at line 37 of file Thyra_ScaledAdjointLinearOpBase_def.hpp.

References Thyra::ScaledAdjointLinearOpBase< Scalar >::getOrigOp(), NOTRANS, Thyra::ScaledAdjointLinearOpBase< Scalar >::overallScalar(), Thyra::ScaledAdjointLinearOpBase< Scalar >::overallTransp(), and TEST_FOR_EXCEPT.

Referenced by Thyra::EpetraOperatorViewExtractorStd::getEpetraOpView(), Thyra::EpetraOperatorViewExtractorStd::isCompatible(), Thyra::EpetraExtDiagScalingTransformer::isCompatible(), and run_composite_linear_ops_tests().

template<class Scalar >
void Thyra::unwrap ( const RCP< const LinearOpBase< Scalar > > &  Op,
Scalar *  scalar,
EOpTransp *  transp,
RCP< const LinearOpBase< Scalar > > *  origOp 
) [inline]

Extract the overallScalar, overallTransp and RCP wrapped const origOp from a RCP wrapped const LinearOpBase object.

Parameters:
Op [in] The input, possibly scaled and/or adjoined, linear operator
scalar [out] The overall scaling factor.
transp [out] The overall adjoint (transposition) enum.
origOp [out] The underlying, non-scaled and non-adjoined linear operator. This pointer returns a non-persisting relationship that is to be used and then immediately forgotten.

Preconditions:

  • scalar!==NULL
  • transp!==NULL
  • origOp!==NULL

Postconditions:

  • *origOp!==NULL

The purpose of this function is to strip off the ScaledAdjointLinearOpBase wrapper and get at the underlying linear operator for the purpose of further dynamic casting to some more derived interface.

The implementation of this function is not too complicated and is appropriate for study.

Definition at line 66 of file Thyra_ScaledAdjointLinearOpBase_def.hpp.

References Teuchos::RCP< T >::get(), NOTRANS, and TEST_FOR_EXCEPT.

template<class Scalar >
void Thyra::apply ( const LinearOpBase< Scalar > &  M,
const EConj  conj,
const MultiVectorBase< Scalar > &  X,
MultiVectorBase< Scalar > *  Y,
const Scalar  alpha = static_cast<Scalar>(1.0),
const Scalar  beta = static_cast<Scalar>(0.0) 
) [inline]
template<class Scalar >
void Thyra::applyTranspose ( const LinearOpBase< Scalar > &  M,
const EConj  conj,
const MultiVectorBase< Scalar > &  X,
MultiVectorBase< Scalar > *  Y,
const Scalar  alpha = static_cast<Scalar>(1.0),
const Scalar  beta = static_cast<Scalar>(0.0) 
) [inline]

Deprecated.

Definition at line 560 of file Thyra_LinearOpBase_decl.hpp.

References Thyra::LinearOpBase< Scalar >::applyTranspose().

template<class Scalar >
void Thyra::apply ( const LinearOpBase< Scalar > &  M,
const EOpTransp  M_trans,
const MultiVectorBase< Scalar > &  X,
MultiVectorBase< Scalar > *  Y,
const Scalar  alpha = static_cast<Scalar>(1.0),
const Scalar  beta = static_cast<Scalar>(0.0) 
) [inline]

Deprecated.

Definition at line 575 of file Thyra_LinearOpBase_decl.hpp.

References apply().

const char* Thyra::toString ( EConj  conj  )  [inline]

Return a string name for a EOpTransp value. `*.

Definition at line 138 of file Thyra_OperatorVectorTypes.hpp.

References CONJ_ELE, NONCONJ_ELE, and TEST_FOR_EXCEPT.

const char* Thyra::toString ( EOpTransp  transp  )  [inline]

Return a string name for a EOpTransp value.

Definition at line 181 of file Thyra_OperatorVectorTypes.hpp.

References CONJ, CONJTRANS, NOTRANS, TEST_FOR_EXCEPT, and TRANS.

EOpTransp Thyra::real_trans ( EOpTransp  transp  )  [inline]
EOpTransp Thyra::not_trans ( EOpTransp  transp  )  [inline]

Perform a not operation on an EOpTransp value.

Definition at line 218 of file Thyra_OperatorVectorTypes.hpp.

References CONJ, CONJTRANS, NOTRANS, TEST_FOR_EXCEPT, and TRANS.

EOpTransp Thyra::trans_trans ( EOpTransp  trans1,
EOpTransp  trans2 
) [inline]
EConj Thyra::transToConj ( EOpTransp  trans  )  [inline]

Convert from EOpTransp to EConj.

Definition at line 261 of file Thyra_OperatorVectorTypes.hpp.

References CONJ, CONJ_ELE, CONJTRANS, NONCONJ_ELE, NOTRANS, TEST_FOR_EXCEPT, and TRANS.

Referenced by solve().

EOpTransp Thyra::applyConjToTrans ( EConj  conj  )  [inline]
EOpTransp Thyra::applyTransposeConjToTrans ( EConj  conj  )  [inline]
template<class Scalar >
void Thyra::eval_f ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  f 
) [inline]
template<class Scalar >
void Thyra::eval_f_W ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  f,
LinearOpWithSolveBase< Scalar > *  W 
) [inline]
template<class Scalar >
void Thyra::eval_f ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x,
const Scalar &  t,
VectorBase< Scalar > *  f 
) [inline]
template<class Scalar >
void Thyra::eval_g ( const ModelEvaluator< Scalar > &  model,
const int  l,
const VectorBase< Scalar > &  p_l,
const int  j,
const Ptr< VectorBase< Scalar > > &  g_j 
) [inline]
template<class Scalar >
void Thyra::eval_g ( const ModelEvaluator< Scalar > &  model,
const int  l,
const VectorBase< Scalar > &  p_l,
const int  j,
VectorBase< Scalar > *  g_j 
) [inline]

Deprecated .

Definition at line 213 of file Thyra_ModelEvaluatorHelpers.hpp.

References eval_g().

template<class Scalar >
void Thyra::eval_g ( const ModelEvaluator< Scalar > &  model,
const int  l,
const VectorBase< Scalar > &  p_l,
const Scalar &  t,
const int  j,
VectorBase< Scalar > *  g_j 
) [inline]
template<class Scalar >
void Thyra::eval_g_DgDp ( const ModelEvaluator< Scalar > &  model,
const int  l,
const VectorBase< Scalar > &  p_l,
const int  j,
const Ptr< VectorBase< Scalar > > &  g_j,
const ModelEvaluatorBase::Derivative< Scalar > &  DgDp_j_l 
) [inline]
template<class Scalar >
void Thyra::eval_f ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x_dot,
const VectorBase< Scalar > &  x,
const typename ModelEvaluatorBase::InArgs< Scalar >::ScalarMag &  t,
VectorBase< Scalar > *  f 
) [inline]
template<class Scalar >
void Thyra::eval_f_W ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x_dot,
const VectorBase< Scalar > &  x,
const typename ModelEvaluatorBase::InArgs< Scalar >::ScalarMag &  t,
const Scalar &  alpha,
const Scalar &  beta,
VectorBase< Scalar > *  f,
LinearOpWithSolveBase< Scalar > *  W 
) [inline]

Evaluate f(x_dot,x,t) and W(x_dot,x,t,alpha,beta) = alpha*DfDx_dot(x_dot,x,t) + beta*DfDx(x_dot,x,t).

Definition at line 952 of file Thyra_ModelEvaluatorHelpers.hpp.

References Thyra::ModelEvaluator< Scalar >::createInArgs(), Thyra::ModelEvaluator< Scalar >::createOutArgs(), Thyra::ModelEvaluator< Scalar >::evalModel(), and Teuchos::rcp().

template<class Scalar >
RCP<DefaultAdjointLinearOpWithSolve<Scalar> > Thyra::defaultAdjointLinearOpWithSolve ( const RCP< const LinearOpWithSolveBase< Scalar > > &  lows,
const EOpTransp  transp 
) [inline]

Nonmember constructor.

DefaultAdjointLinearOpWithSolve

Definition at line 138 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

References Teuchos::rcp().

template<class Scalar >
RCP<DefaultAdjointLinearOpWithSolve<Scalar> > Thyra::defaultAdjointLinearOpWithSolveNonconst ( const RCP< LinearOpWithSolveBase< Scalar > > &  lows,
const EOpTransp  transp 
) [inline]

Nonmember constructor.

DefaultAdjointLinearOpWithSolve

Definition at line 155 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

References Teuchos::rcp().

template<class Scalar >
RCP<const LinearOpWithSolveBase<Scalar> > Thyra::adjointLows ( const RCP< const LinearOpWithSolveBase< Scalar > > &  lows  )  [inline]

Nonmember constructor.

DefaultAdjointLinearOpWithSolve

Definition at line 172 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

References CONJTRANS.

Referenced by run_linear_op_with_solve_tests().

template<class Scalar >
RCP<LinearOpWithSolveBase<Scalar> > Thyra::nonconstAdjointLows ( const RCP< LinearOpWithSolveBase< Scalar > > &  lows  )  [inline]

Nonmember constructor.

DefaultAdjointLinearOpWithSolve

Definition at line 184 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

References CONJTRANS.

template<class Scalar >
RCP<DefaultBlockedTriangularLinearOpWithSolveFactory<Scalar> > Thyra::defaultBlockedTriangularLinearOpWithSolveFactory ( const RCP< LinearOpWithSolveFactoryBase< Scalar > > &  lowsf  )  [inline]
template<class Scalar >
RCP<DefaultBlockedTriangularLinearOpWithSolveFactory<Scalar> > Thyra::defaultBlockedTriangularLinearOpWithSolveFactory ( const RCP< const LinearOpWithSolveFactoryBase< Scalar > > &  lowsf  )  [inline]
RTOpPack::ETransp Thyra::convertToRTOpPackETransp ( const EOpTransp  transp  )  [inline]
template<class Scalar >
RCP<DefaultSerialDenseLinearOpWithSolveFactory<Scalar> > Thyra::defaultSerialDenseLinearOpWithSolveFactory (  )  [inline]
template<class Scalar >
void Thyra::assertSupportsSolveMeasureType ( const LinearOpWithSolveBase< Scalar > &  lows,
const EOpTransp  M_trans,
const SolveMeasureType &  solveMeasureType 
) [inline]

Assert that a LOWSB object supports a particular solve type.

This function will throw an excetion with a very good error message if the requested solve type is not supported.

Definition at line 63 of file Thyra_LinearOpWithSolveHelpers.hpp.

References Thyra::SolveMeasureType::denominator, Teuchos::Describable::description(), Thyra::SolveMeasureType::numerator, solveSupportsSolveMeasureType(), TEST_FOR_EXCEPTION, and toString().

Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( bool  ,
check_forward_default_default_  ,
true   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( bool  ,
check_forward_residual_default_  ,
true   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( bool  ,
check_adjoint_default_default_  ,
true   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( bool  ,
check_adjoint_residual_default_  ,
true   
)
Thyra::LOWST_DEFINE_MTD_STATIC_MEMBER ( ScalarMag  ,
warning_tol_default_  ,
1e-  6 
)
Thyra::LOWST_DEFINE_MTD_STATIC_MEMBER ( ScalarMag  ,
error_tol_default_  ,
1e-  5 
)
Thyra::LOWST_DEFINE_MTD_STATIC_MEMBER ( ScalarMag  ,
solve_tol_default_  ,
1e-  5 
)
Thyra::LOWST_DEFINE_MTD_STATIC_MEMBER ( ScalarMag  ,
slack_warning_tol_default_  ,
1e-  6 
)
Thyra::LOWST_DEFINE_MTD_STATIC_MEMBER ( ScalarMag  ,
slack_error_tol_default_  ,
1e-  5 
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( int  ,
num_random_vectors_default_  ,
 
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( bool  ,
show_all_tests_default_  ,
false   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( bool  ,
dump_all_default_  ,
false   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( int  ,
num_rhs_default_  ,
 
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( std::string  ,
AllSolveTol_name_  ,
"All Solve Tol"   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( std::string  ,
AllSlackWarningTol_name_  ,
"All Slack Warning Tol"   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( std::string  ,
AllSlackErrorTol_name_  ,
"All Slack Error Tol"   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( std::string  ,
ShowAllTests_name_  ,
"Show All Tests"   
)
Thyra::LOWST_DEFINE_RAW_STATIC_MEMBER ( std::string  ,
DumpAll_name_  ,
"Dump All"   
)
template<class Scalar >
void Thyra::initializePrec ( const PreconditionerFactoryBase< Scalar > &  precFactory,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
PreconditionerBase< Scalar > *  prec,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED 
) [inline]

Initialize a preconditioner from a forward linear operator.

Definition at line 44 of file Thyra_PreconditionerFactoryHelpers.hpp.

References Thyra::PreconditionerFactoryBase< Scalar >::initializePrec().

template<class Scalar >
void Thyra::uninitializePrec ( const PreconditionerFactoryBase< Scalar > &  precFactory,
PreconditionerBase< Scalar > *  prec,
Teuchos::RCP< const LinearOpBase< Scalar > > *  fwdOp = NULL,
ESupportSolveUse *  supportSolveUse = NULL 
) [inline]

Uninitialize a preconditioner and optionally extra what was used to create it.

Definition at line 59 of file Thyra_PreconditionerFactoryHelpers.hpp.

References Thyra::PreconditionerFactoryBase< Scalar >::uninitializePrec().

template<class Scalar >
Teuchos::RCP<PreconditionerBase<Scalar> > Thyra::prec ( const PreconditionerFactoryBase< Scalar > &  precFactory,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED 
) [inline]
template<class Scalar >
RCP<DefaultSpmdMultiVector<Scalar> > Thyra::defaultSpmdMultiVector ( const RCP< const SpmdVectorSpaceBase< Scalar > > &  spmdRangeSpace,
const RCP< const ScalarProdVectorSpaceBase< Scalar > > &  domainSpace,
const ArrayRCP< Scalar > &  localValues,
const Ordinal  leadingDim = -1 
) [inline]

Definition at line 216 of file Thyra_DefaultSpmdMultiVector_decl.hpp.

References Teuchos::rcp().

template<class Scalar >
RCP<CopyBackSpmdMultiVectorEntries<Scalar> > Thyra::copyBackSpmdMultiVectorEntries ( const ArrayView< const int > &  cols,
const ArrayRCP< const Scalar > &  localValuesView,
const Ordinal  localSubDim,
const ArrayRCP< Scalar > &  localValues,
const Ordinal  leadingDim 
) [inline]

Definition at line 98 of file Thyra_DefaultSpmdMultiVector_def.hpp.

References Teuchos::rcp().

template<class Scalar >
dump_vec_spaces_t<Scalar> Thyra::dump_vec_spaces ( const Thyra::VectorSpaceBase< Scalar > &  vec_space1,
const std::string &  vec_space1_name,
const Thyra::VectorSpaceBase< Scalar > &  vec_space2,
const std::string &  vec_space2_name 
) [inline]

Definition at line 67 of file Thyra_AssertOp.hpp.

template<class Scalar >
std::ostream& Thyra::operator<< ( std::ostream &  o,
const dump_vec_spaces_t< Scalar > &  d 
) [inline]

Definition at line 86 of file Thyra_AssertOp.hpp.

References Teuchos::VERB_MEDIUM.

template<class Scalar >
void Thyra::assertLinearOpPlusLinearOpNames ( const std::string &  funcName,
const LinearOpBase< Scalar > &  M1,
const EOpTransp  M1_trans_in,
const std::string &  M1_name,
const LinearOpBase< Scalar > &  M2,
const EOpTransp  M2_trans_in,
const std::string &  M2_name 
) [inline]
template<class Scalar >
void Thyra::assertLinearOpTimesLinearOpNames ( const std::string &  funcName,
const LinearOpBase< Scalar > &  M1,
const EOpTransp  M1_trans_in,
const std::string &  M1_name,
const LinearOpBase< Scalar > &  M2,
const EOpTransp  M2_trans_in,
const std::string &  M2_name 
) [inline]
template<class Scalar >
RCP<DefaultAddedLinearOp<Scalar> > Thyra::defaultAddedLinearOp ( const ArrayView< const RCP< LinearOpBase< Scalar > > > &  Ops  )  [inline]

Non-member constructor.

Definition at line 280 of file Thyra_DefaultAddedLinearOp_decl.hpp.

References Teuchos::rcp().

template<class Scalar >
RCP<DefaultAddedLinearOp<Scalar> > Thyra::defaultAddedLinearOp ( const ArrayView< const RCP< const LinearOpBase< Scalar > > > &  Ops  )  [inline]

Non-member constructor.

Definition at line 290 of file Thyra_DefaultAddedLinearOp_decl.hpp.

References Teuchos::rcp().

template<class Scalar >
RCP< DefaultProductVector< Scalar > > Thyra::defaultProductVector ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const RCP< VectorBase< Scalar > >  vecs[] 
) [inline]

Deprecated.

Definition at line 351 of file Thyra_DefaultProductVector_decl.hpp.

template<class Scalar >
void Thyra::describeLinearOp ( const LinearOpBase< Scalar > &  A,
Teuchos::FancyOStream out_arg,
const Teuchos::EVerbosityLevel  verbLevel 
) [inline]
template<class ScalarMag >
void Thyra::setDefaultTol ( const ScalarMag &  defaultDefaultTol,
ScalarMag &  defaultTol 
) [inline]
template<class Scalar >
void Thyra::norms ( const MultiVectorBase< Scalar > &  V,
typename ScalarTraits< Scalar >::magnitudeType  norms_out[] 
) [inline]
template<class Scalar , class NormOp >
void Thyra::reductions ( const MultiVectorBase< Scalar > &  V,
const NormOp &  op,
typename ScalarTraits< Scalar >::magnitudeType  norms_out[] 
) [inline]

Deprecated.

Definition at line 364 of file Thyra_MultiVectorStdOps_decl.hpp.

References Thyra::LinearOpBase< Scalar >::domain().

template<class Scalar >
void Thyra::norms_1 ( const MultiVectorBase< Scalar > &  V,
typename ScalarTraits< Scalar >::magnitudeType  norms_out[] 
) [inline]

Deprecated.

Definition at line 371 of file Thyra_MultiVectorStdOps_decl.hpp.

References Thyra::LinearOpBase< Scalar >::domain().

template<class Scalar >
void Thyra::norms_2 ( const MultiVectorBase< Scalar > &  V,
typename ScalarTraits< Scalar >::magnitudeType  norms_out[] 
) [inline]

Deprecated.

Definition at line 378 of file Thyra_MultiVectorStdOps_decl.hpp.

References Thyra::LinearOpBase< Scalar >::domain().

template<class Scalar >
void Thyra::norms_inf ( const MultiVectorBase< Scalar > &  V,
typename ScalarTraits< Scalar >::magnitudeType  norms_out[] 
) [inline]
template<class Scalar >
void Thyra::dots ( const MultiVectorBase< Scalar > &  V1,
const MultiVectorBase< Scalar > &  V2,
Scalar  dots_out[] 
) [inline]
template<class Scalar >
void Thyra::sums ( const MultiVectorBase< Scalar > &  V,
Scalar  sums_out[] 
) [inline]

Deprecated.

Definition at line 399 of file Thyra_MultiVectorStdOps_decl.hpp.

Referenced by Thyra::LinearOpTester< Scalar >::check().

template<class Scalar >
void Thyra::scale ( Scalar  alpha,
MultiVectorBase< Scalar > *  V 
) [inline]
template<class Scalar >
void Thyra::scaleUpdate ( const VectorBase< Scalar > &  a,
const MultiVectorBase< Scalar > &  U,
MultiVectorBase< Scalar > *  V 
) [inline]

Deprecated.

Definition at line 411 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar >
void Thyra::assign ( MultiVectorBase< Scalar > *  V,
Scalar  alpha 
) [inline]

Deprecated.

Definition at line 418 of file Thyra_MultiVectorStdOps_decl.hpp.

Referenced by Thyra::EpetraLinearOp::applyImpl(), Thyra::DefaultInverseLinearOp< Scalar >::applyImpl(), assign(), Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::backsolve(), Thyra::VectorTester< Scalar >::check(), Thyra::LinearOpWithSolveTester< Scalar >::check(), Thyra::VectorStdOpsTesterComparable< true, Scalar >::checkComparableStdOps(), Thyra::VectorStdOpsTester< Scalar >::checkStdOps(), Thyra::MultiVectorStdOpsTester< Scalar >::checkStdOps(), createNonsingularMultiVector(), describeLinearOp(), Thyra::DefaultStateEliminationModelEvaluator< Scalar >::evalModelImpl(), Thyra::DefaultMultiPeriodModelEvaluator< Scalar >::evalModelImpl(), Thyra::DefaultInverseModelEvaluator< Scalar >::evalModelImpl(), Thyra::DefaultLumpedParameterModelEvaluator< Scalar >::generateParameterBasisMatrix(), main(), Thyra::ListedMultiVectorRandomizer< Scalar >::randomize(), run_scalar_product_tests(), Thyra::Simple2DModelEvaluator< Scalar >::set_x0(), Simple2DTpetraModelEvaluator< Scalar >::set_x0(), Thyra::ModelEvaluatorBase::OutArgs< Scalar >::setFailed(), Thyra::LinearNonlinearSolver< Scalar >::solve(), Thyra::DampenedNewtonNonlinearSolver< Scalar >::solve(), Thyra::DefaultDiagonalLinearOpWithSolve< Scalar >::solveImpl(), solveMajorChangeSolve(), solveNumericalChangeSolve(), solveSmallNumericalChangeSolve(), Thyra::DefaultLumpedParameterModelEvaluator< Scalar >::updateNominalValuesAndBounds(), and Thyra::DefaultMultiPeriodModelEvaluator< Scalar >::wrapNominalValuesAndBounds().

template<class Scalar >
void Thyra::assign ( MultiVectorBase< Scalar > *  V,
const MultiVectorBase< Scalar > &  U 
) [inline]

Deprecated.

Definition at line 424 of file Thyra_MultiVectorStdOps_decl.hpp.

References assign().

template<class Scalar >
void Thyra::update ( Scalar  alpha,
const MultiVectorBase< Scalar > &  U,
MultiVectorBase< Scalar > *  V 
) [inline]
template<class Scalar >
void Thyra::update ( const Scalar  alpha[],
Scalar  beta,
const MultiVectorBase< Scalar > &  U,
MultiVectorBase< Scalar > *  V 
) [inline]

Deprecated.

Definition at line 436 of file Thyra_MultiVectorStdOps_decl.hpp.

References Thyra::LinearOpBase< Scalar >::domain(), and update().

template<class Scalar >
void Thyra::update ( const MultiVectorBase< Scalar > &  U,
Scalar  alpha[],
Scalar  beta,
MultiVectorBase< Scalar > *  V 
) [inline]

Deprecated.

Definition at line 443 of file Thyra_MultiVectorStdOps_decl.hpp.

References Thyra::LinearOpBase< Scalar >::domain(), and update().

template<class Scalar >
void Thyra::linear_combination ( const int  m,
const Scalar  alpha[],
const MultiVectorBase< Scalar > *  X_in[],
const Scalar &  beta,
MultiVectorBase< Scalar > *  Y 
) [inline]

Deprecated.

Definition at line 450 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar >
void Thyra::randomize ( Scalar  l,
Scalar  u,
MultiVectorBase< Scalar > *  V 
) [inline]
template<class Scalar >
void Thyra::Vt_S ( MultiVectorBase< Scalar > *  Z,
const Scalar &  alpha 
) [inline]
template<class Scalar >
void Thyra::Vp_S ( MultiVectorBase< Scalar > *  Z,
const Scalar &  alpha 
) [inline]
template<class Scalar >
void Thyra::Vp_V ( MultiVectorBase< Scalar > *  Z,
const MultiVectorBase< Scalar > &  X 
) [inline]
template<class Scalar >
void Thyra::V_VpV ( MultiVectorBase< Scalar > *  Z,
const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y 
) [inline]

Deprecated.

Definition at line 492 of file Thyra_MultiVectorStdOps_decl.hpp.

Referenced by Thyra::LinearOpTester< Scalar >::check(), and V_VpV().

template<class Scalar >
void Thyra::V_VmV ( MultiVectorBase< Scalar > *  Z,
const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y 
) [inline]
template<class Scalar >
void Thyra::V_StVpV ( MultiVectorBase< Scalar > *  Z,
const Scalar &  alpha,
const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y 
) [inline]

Deprecated.

Definition at line 505 of file Thyra_MultiVectorStdOps_decl.hpp.

Referenced by Thyra::VectorStdOpsTester< Scalar >::checkStdOps(), and V_StVpV().

void Thyra::printTestResults ( const bool  result,
const std::string &  test_summary,
const bool  show_all_tests,
bool *  success,
std::ostream *  out 
) [inline]

Print summary outputting for a test or just passed or failed.

Parameters:
result [in] Bool for of the test was successful or unsuccessful.
test_summary [in] The summary of the test that was just completed.
show_all_tests [in] Bool for if the test summary should be shown even if the test passed.
success [out] Update of the success bool.
out [out] Stream where output will be sent if *out!=NULL.

Preconditions:

  • success!=NULL

Preconditions:

  • *success==false if result==false

Just look at the definition of this function to see what it does.

Definition at line 254 of file Thyra_TestingToolsDecl.hpp.

Referenced by Thyra::VectorTester< Scalar >::check(), Thyra::LinearOpWithSolveTester< Scalar >::check(), Thyra::LinearOpTester< Scalar >::check(), and Thyra::LinearOpTester< Scalar >::compare().

template<class Scalar >
THYRA_DEPRECATED void Thyra::set_ele ( Ordinal  i,
Scalar  alpha,
VectorBase< Scalar > *  v 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::put_scalar ( const Scalar &  alpha,
VectorBase< Scalar > *  y 
) [inline]

Deprecated.

Definition at line 591 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar >
THYRA_DEPRECATED void Thyra::copy ( const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  y 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::add_scalar ( const Scalar &  alpha,
VectorBase< Scalar > *  y 
) [inline]

Deprecated.

Definition at line 605 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar >
THYRA_DEPRECATED void Thyra::scale ( const Scalar &  alpha,
VectorBase< Scalar > *  y 
) [inline]

Deprecated.

Definition at line 612 of file Thyra_VectorStdOps_decl.hpp.

References scale().

template<class Scalar >
THYRA_DEPRECATED void Thyra::abs ( VectorBase< Scalar > *  y,
const VectorBase< Scalar > &  x 
) [inline]

Deprecated.

Definition at line 619 of file Thyra_VectorStdOps_decl.hpp.

Referenced by Thyra::VectorStdOpsTester< Scalar >::checkStdOps().

template<class Scalar >
THYRA_DEPRECATED void Thyra::reciprocal ( VectorBase< Scalar > *  y,
const VectorBase< Scalar > &  x 
) [inline]

Deprecated.

Definition at line 626 of file Thyra_VectorStdOps_decl.hpp.

Referenced by Thyra::VectorStdOpsTester< Scalar >::checkStdOps().

template<class Scalar >
THYRA_DEPRECATED void Thyra::ele_wise_prod ( const Scalar &  alpha,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  v,
VectorBase< Scalar > *  y 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::ele_wise_conj_prod ( const Scalar &  alpha,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  v,
VectorBase< Scalar > *  y 
) [inline]

Deprecated.

Definition at line 641 of file Thyra_VectorStdOps_decl.hpp.

Referenced by Thyra::DefaultDiagonalLinearOp< Scalar >::applyImpl().

template<class Scalar >
THYRA_DEPRECATED void Thyra::Vp_StVtV ( VectorBase< Scalar > *  y,
const Scalar &  alpha,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  v 
) [inline]

Deprecated.

Definition at line 649 of file Thyra_VectorStdOps_decl.hpp.

Referenced by Thyra::VectorStdOpsTester< Scalar >::checkStdOps().

template<class Scalar >
THYRA_DEPRECATED void Thyra::ele_wise_prod_update ( const Scalar &  alpha,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  y 
) [inline]

Deprecated.

Definition at line 657 of file Thyra_VectorStdOps_decl.hpp.

Referenced by Thyra::VectorStdOpsTester< Scalar >::checkStdOps().

template<class Scalar >
THYRA_DEPRECATED void Thyra::Vt_StV ( VectorBase< Scalar > *  y,
const Scalar &  alpha,
const VectorBase< Scalar > &  x 
) [inline]

Deprecated.

Definition at line 665 of file Thyra_VectorStdOps_decl.hpp.

Referenced by Thyra::VectorStdOpsTester< Scalar >::checkStdOps().

template<class Scalar >
THYRA_DEPRECATED void Thyra::ele_wise_divide ( const Scalar &  alpha,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  v,
VectorBase< Scalar > *  y 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::linear_combination ( const int  m,
const Scalar  alpha_in[],
const VectorBase< Scalar > *  x_in[],
const Scalar &  beta,
VectorBase< Scalar > *  y 
) [inline]

Deprecated.

Definition at line 681 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar >
THYRA_DEPRECATED void Thyra::randomize ( Scalar  l,
Scalar  u,
VectorBase< Scalar > *  v 
) [inline]

Deprecated.

Definition at line 702 of file Thyra_VectorStdOps_decl.hpp.

References randomize().

template<class Scalar >
THYRA_DEPRECATED void Thyra::assign ( VectorBase< Scalar > *  y,
const Scalar &  alpha 
) [inline]

Deprecated.

Definition at line 709 of file Thyra_VectorStdOps_decl.hpp.

References assign().

template<class Scalar >
THYRA_DEPRECATED void Thyra::assign ( VectorBase< Scalar > *  y,
const VectorBase< Scalar > &  x 
) [inline]

Deprecated.

Definition at line 716 of file Thyra_VectorStdOps_decl.hpp.

References assign().

template<class Scalar >
THYRA_DEPRECATED void Thyra::Vp_S ( VectorBase< Scalar > *  y,
const Scalar &  alpha 
) [inline]

Deprecated.

Definition at line 723 of file Thyra_VectorStdOps_decl.hpp.

References Vp_S().

template<class Scalar >
THYRA_DEPRECATED void Thyra::Vt_S ( VectorBase< Scalar > *  y,
const Scalar &  alpha 
) [inline]

Deprecated.

Definition at line 730 of file Thyra_VectorStdOps_decl.hpp.

References Vt_S().

template<class Scalar >
THYRA_DEPRECATED void Thyra::V_StV ( VectorBase< Scalar > *  y,
const Scalar &  alpha,
const VectorBase< Scalar > &  x 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::Vp_StV ( VectorBase< Scalar > *  y,
const Scalar &  alpha,
const VectorBase< Scalar > &  x 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::Vp_V ( VectorBase< Scalar > *  y,
const VectorBase< Scalar > &  x,
const Scalar &  beta = static_cast<Scalar>(1.0) 
) [inline]

Deprecated.

Definition at line 753 of file Thyra_VectorStdOps_decl.hpp.

References Vp_V().

template<class Scalar >
THYRA_DEPRECATED void Thyra::V_V ( VectorBase< Scalar > *  y,
const VectorBase< Scalar > &  x 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::V_S ( VectorBase< Scalar > *  y,
const Scalar &  alpha 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::V_VpV ( VectorBase< Scalar > *  z,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  y 
) [inline]

Deprecated.

Definition at line 777 of file Thyra_VectorStdOps_decl.hpp.

References V_VpV().

template<class Scalar >
THYRA_DEPRECATED void Thyra::V_VmV ( VectorBase< Scalar > *  z,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  y 
) [inline]

Deprecated.

Definition at line 785 of file Thyra_VectorStdOps_decl.hpp.

References V_VmV().

template<class Scalar >
THYRA_DEPRECATED void Thyra::V_StVpV ( VectorBase< Scalar > *  z,
const Scalar &  alpha,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  y 
) [inline]

Deprecated.

Definition at line 793 of file Thyra_VectorStdOps_decl.hpp.

References V_StVpV().

template<class Scalar >
THYRA_DEPRECATED void Thyra::V_StVpStV ( VectorBase< Scalar > *  z,
const Scalar &  alpha,
const VectorBase< Scalar > &  x,
const Scalar &  beta,
const VectorBase< Scalar > &  y 
) [inline]

Deprecated.

Definition at line 801 of file Thyra_VectorStdOps_decl.hpp.

Referenced by Thyra::VectorStdOpsTester< Scalar >::checkStdOps().

template<class Scalar >
THYRA_DEPRECATED void Thyra::min ( const VectorBase< Scalar > &  x,
Scalar *  maxEle,
Ordinal maxIndex 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::minGreaterThanBound ( const VectorBase< Scalar > &  x,
const Scalar &  bound,
Scalar *  minEle,
Ordinal minIndex 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::max ( const VectorBase< Scalar > &  x,
Scalar *  maxEle,
Ordinal maxIndex 
) [inline]
template<class Scalar >
THYRA_DEPRECATED void Thyra::maxLessThanBound ( const VectorBase< Scalar > &  x,
const Scalar &  bound,
Scalar *  maxEle,
Ordinal maxIndex 
) [inline]
template<class Scalar >
void Thyra::setEleTestCase ( const Ptr< VectorBase< Scalar > > &  z,
const Ordinal  i,
int &  tc,
std::ostream &  out,
bool &  success 
) [inline]
std::string Thyra::Thyra_Version (  ) 

Print the version of Thyra.

Definition at line 32 of file Thyra_Version.cpp.

template<class Scalar >
RCP<DiagonalQuadraticResponseOnlyModelEvaluator<Scalar> > Thyra::diagonalQuadraticResponseOnlyModelEvaluator ( const int  localDim,
const RCP< const Teuchos::Comm< Ordinal > > &  comm = Teuchos::null 
) [inline]

Non-member constructor.

Definition at line 184 of file Thyra_DiagonalQuadraticResponseOnlyModelEvaluator_decl.hpp.

References rcp(), and Teuchos::rcp().

template<class Scalar >
Teuchos::RCP<Simple2DModelEvaluator<Scalar> > Thyra::simple2DModelEvaluator (  )  [inline]

Definition at line 22 of file Thyra_Simple2DModelEvaluator_def.hpp.

References Teuchos::rcp().

Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( DefaultBlockedTriangularLinearOpWithSolve  ,
defaultConstruct  ,
Scalar   
)
Thyra::THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES ( DefaultBlockedTriangularLinearOpWithSolve  ,
defaultConstruct   
)
Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( DefaultMultiVectorLinearOpWithSolve  ,
defaultConstruct  ,
Scalar   
)
Thyra::THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES ( DefaultMultiVectorLinearOpWithSolve  ,
defaultConstruct   
)
Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( DelayedLinearOpWithSolve  ,
defaultConstruct  ,
Scalar   
)
Thyra::THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES ( DelayedLinearOpWithSolve  ,
defaultConstruct   
)
template<class Scalar >
RCP<MultiVectorBase<Scalar> > Thyra::createNonsingularMultiVector ( const RCP< const VectorSpaceBase< Scalar > > &  vs  )  [inline]

Generate a very well scaled unsymmetic dense matrix for use in testing a dense solve.

Definition at line 24 of file OperatorSolveHelpers.hpp.

References Teuchos::as(), assign(), Teuchos::RCP< T >::ptr(), Thyra::DetachedMultiVectorView< Scalar >::smv(), and RTOpPack::ConstSubMultiVectorView< Scalar >::subDim().

Referenced by run_linear_op_with_solve_tests().

template<class Scalar >
bool Thyra::run_linear_op_with_solve_tests ( const int  n,
const typename ScalarTraits< Scalar >::magnitudeType  maxRelErr,
const bool  showAllTests,
const bool  dumpAll,
FancyOStream out 
) [inline]
template<class Scalar >
RCP<VectorSpaceBase<Scalar> > Thyra::createSpmdVectorSpace ( const Teuchos_Ordinal  localDim  )  [inline]
Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( DefaultMultiVectorProductVectorSpace  ,
defaultConstruct  ,
Scalar   
)

Definition at line 42 of file DefaultMultiVectorProductVectorSpace_UnitTests.cpp.

References TEST_EQUALITY.

Thyra::THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES ( DefaultMultiVectorProductVectorSpace  ,
defaultConstruct   
)
template<class Scalar >
RCP<VectorSpaceBase<Scalar> > Thyra::createSpmdVectorSpace ( const Ordinal  localDim  )  [inline]

Definition at line 34 of file DefaultProductVectorSpace_UnitTests.cpp.

template<class Scalar >
RCP<VectorSpaceBase<Scalar> > Thyra::createProductVectorSpace ( const Ordinal  localDim,
const int  numBlocks 
) [inline]

Definition at line 44 of file DefaultProductVectorSpace_UnitTests.cpp.

Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL ( DefaultProductVectorSpace  ,
defaultConstruct  ,
Scalar   
)

Definition at line 61 of file DefaultProductVectorSpace_UnitTests.cpp.

References TEST_EQUALITY.

Thyra::THYRA_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES ( DefaultProductVectorSpace  ,
defaultConstruct   
)
template<class Scalar >
bool Thyra::run_std_ops_tests ( const int  n,
const typename Teuchos::ScalarTraits< Scalar >::magnitudeType  max_rel_err,
const bool  dumpAll,
Teuchos::FancyOStream out_arg 
) [inline]

Main test driver that runs tests on all standard operators.

Definition at line 44 of file test_std_ops.cpp.

References Thyra::MultiVectorStdOpsTester< Scalar >::checkStdOps(), Thyra::VectorStdOpsTester< Scalar >::checkStdOps(), Teuchos::RCP< T >::get(), Index, rcp(), and Teuchos::rcp().

Referenced by main().

Thyra::TEUCHOS_UNIT_TEST ( EpetraOperatorWrapper  ,
basic   
)
Teuchos::RCP< const Teuchos::Comm< Thyra::Ordinal > > Thyra::convertTpetraToThyraComm ( const RCP< const Teuchos::Comm< int > > &  tpetraComm  ) 

Given an Tpetra Teuchos::Comm<int> object, return an equivalent Teuchos::Comm<Ordinal> object.

Will throw if conversion is not successful.

Definition at line 12 of file Thyra_TpetraThyraWrappers.cpp.

References nonnull().

Referenced by Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize().

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Thyra::createVectorSpace ( const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &  tpetraMap  )  [inline]

Create a Thyra::VectorSpaceBase object given a Tpetra::Map.

Definition at line 94 of file Thyra_TpetraThyraWrappers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< Thyra::VectorBase< Scalar > > Thyra::createVector ( const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector,
const RCP< const VectorSpaceBase< Scalar > >  space = Teuchos::null 
) [inline]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::VectorBase< Scalar > > Thyra::createConstVector ( const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector,
const RCP< const VectorSpaceBase< Scalar > >  space = Teuchos::null 
) [inline]

Definition at line 118 of file Thyra_TpetraThyraWrappers_def.hpp.

References getOrCreateTpetraVectorSpace().

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > Thyra::createMultiVector ( const RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraMultiVector,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]

Definition at line 132 of file Thyra_TpetraThyraWrappers_def.hpp.

References getOrCreateTpetraVectorSpace().

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > Thyra::createConstMultiVector ( const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraMultiVector,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]

Definition at line 152 of file Thyra_TpetraThyraWrappers_def.hpp.

References getOrCreateTpetraVectorSpace().

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > Thyra::createLinearOp ( const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::LinearOpBase< Scalar > > Thyra::createConstLinearOp ( const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]

Definition at line 188 of file Thyra_TpetraThyraWrappers_def.hpp.

References getOrCreateTpetraVectorSpace().

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP<const TpetraVectorSpace<Scalar,LocalOrdinal,GlobalOrdinal,Node> > Thyra::getOrCreateTpetraVectorSpace ( const RCP< const VectorSpaceBase< Scalar > >  space,
const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &  tpetraMap 
) [inline]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP<const ScalarProdVectorSpaceBase<Scalar> > Thyra::getOrCreateLocallyReplicatedTpetraVectorSpace ( const RCP< const VectorSpaceBase< Scalar > >  space,
const RCP< const Teuchos::Comm< int > > &  tpetraComm,
const RCP< Node > &  tpetraNode,
const int  numCols 
) [inline]

Definition at line 65 of file Thyra_TpetraThyraWrappers_def.hpp.

References nonnull().


Variable Documentation

THYRA_DEPRECATED typedef Ordinal Thyra::Index

Deprecated: Use Ordinal instead! `*.

Definition at line 120 of file Thyra_OperatorVectorTypes.hpp.

Referenced by run_linear_op_with_solve_tests(), and run_std_ops_tests().

THYRA_DEPRECATED typedef EOpTransp Thyra::ETransp

Deprecated (use EOpTransp instead).

Definition at line 173 of file Thyra_OperatorVectorTypes.hpp.

const int Thyra::g_localDim = 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:04:33 2011 for Thyra Package Browser (Single Doxygen Collection) by  doxygen 1.6.3