Thyra Namespace Reference


Classes

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  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  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  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  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  NonlinearSolverBase
 Base class for all nonlinear equation solvers. 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  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...
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  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  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  LinearOpChanger
 Silly abstract strategy interface for changing Thyra::LinearOpBase objects. More...
class  NullLinearOpChanger
 No-op changer. More...

Namespaces

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

Typedefs

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

Enumerations

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  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  EM_VS
enum  EThrowOnSolveFailure { THROW_ON_SOLVE_FAILURE = 1, IGNORE_SOLVE_FAILURE = 0 }
  More...
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>
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.
template<class Scalar>
bool isFullyUninitialized (const LinearOpBase< Scalar > &M)
template<class Scalar>
bool isPartiallyInitialized (const LinearOpBase< Scalar > &M)
template<class Scalar>
bool isFullyInitialized (const LinearOpBase< Scalar > &M)
template<class Scalar>
bool opSupported (const LinearOpBase< Scalar > &M, EOpTransp M_trans)
void apply (const LinearOpBase< double > &M, const EOpTransp M_trans, const MultiVectorBase< double > &X, const Ptr< MultiVectorBase< double > > &Y, const double alpha, const double beta)
template<class Scalar>
void apply (const LinearOpBase< Scalar > &M, const EConj conj, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha, const Scalar beta)
template<class Scalar>
void applyTranspose (const LinearOpBase< Scalar > &M, const EConj conj, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha, const Scalar beta)
 Deprecated.
template<class Scalar>
void apply (const LinearOpBase< Scalar > &M, const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha, const Scalar beta)
 Deprecated.
template<class Scalar>
void apply (const LinearOpBase< Scalar > &M, const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta)
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>
Teuchos::RCP< const Thyra::VectorSpaceBase<
Scalar > > 
makeHaveOwnership (const RCP< const VectorSpaceBase< Scalar > > &vs_in)
template<class Scalar>
Teuchos::RCP< Thyra::VectorBase<
Scalar > > 
createMember (const RCP< const VectorSpaceBase< Scalar > > &vs, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::VectorBase<
Scalar > > 
createMember (const VectorSpaceBase< Scalar > &vs, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::MultiVectorBase<
Scalar > > 
createMembers (const RCP< const VectorSpaceBase< Scalar > > &vs, int numMembers, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::MultiVectorBase<
Scalar > > 
createMembers (const RCP< const VectorSpaceBase< Scalar > > &vs, const RCP< const VectorSpaceBase< Scalar > > &domain, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::MultiVectorBase<
Scalar > > 
createMembers (const VectorSpaceBase< Scalar > &vs, int numMembers, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::VectorBase<
Scalar > > 
createMemberView (const RCP< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::SubVectorView< Scalar > &raw_v, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::VectorBase<
Scalar > > 
createMemberView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::SubVectorView< Scalar > &raw_v, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::VectorBase<
Scalar > > 
createMemberView (const RCP< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::ConstSubVectorView< Scalar > &raw_v, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::VectorBase<
Scalar > > 
createMemberView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::ConstSubVectorView< Scalar > &raw_v, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::MultiVectorBase<
Scalar > > 
createMembersView (const RCP< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::SubMultiVectorView< Scalar > &raw_mv, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::MultiVectorBase<
Scalar > > 
createMembersView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::SubMultiVectorView< Scalar > &raw_mv, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::MultiVectorBase<
Scalar > > 
createMembersView (const RCP< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::ConstSubMultiVectorView< Scalar > &raw_mv, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::MultiVectorBase<
Scalar > > 
createMembersView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::ConstSubMultiVectorView< Scalar > &raw_mv, const std::string &label)
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>
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>
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)
 
std::string toString (ModelEvaluatorBase::EInArgsMembers arg)
std::string toString (ModelEvaluatorBase::EOutArgsMembers arg)
std::string toString (ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation)
Thyra::ModelEvaluatorBase::EDerivativeMultiVectorOrientation getOtherDerivativeMultiVectorOrientation (ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation)
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>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstAdd (const RCP< LinearOpBase< Scalar > > &A, const RCP< LinearOpBase< Scalar > > &B, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
add (const RCP< const LinearOpBase< Scalar > > &A, const RCP< const LinearOpBase< Scalar > > &B, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstSubtract (const RCP< LinearOpBase< Scalar > > &A, const RCP< LinearOpBase< Scalar > > &B, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
subtract (const RCP< const LinearOpBase< Scalar > > &A, const RCP< const LinearOpBase< Scalar > > &B, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::DefaultBlockedLinearOp<
Scalar > > 
defaultBlockedLinearOp ()
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
block1x1 (const RCP< const LinearOpBase< Scalar > > &A00, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
block1x2 (const RCP< const LinearOpBase< Scalar > > &A00, const RCP< const LinearOpBase< Scalar > > &A01, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
block2x1 (const RCP< const LinearOpBase< Scalar > > &A00, const RCP< const LinearOpBase< Scalar > > &A10, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
block2x2 (const RCP< const LinearOpBase< Scalar > > &A00, const RCP< const LinearOpBase< Scalar > > &A01, const RCP< const LinearOpBase< Scalar > > &A10, const RCP< const LinearOpBase< Scalar > > &A11, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstBlock1x1 (const RCP< LinearOpBase< Scalar > > &A00, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstBlock1x2 (const RCP< LinearOpBase< Scalar > > &A00, const RCP< LinearOpBase< Scalar > > &A01, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstBlock2x1 (const RCP< LinearOpBase< Scalar > > &A00, const RCP< LinearOpBase< Scalar > > &A10, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstBlock2x2 (const RCP< LinearOpBase< Scalar > > &A00, const RCP< LinearOpBase< Scalar > > &A01, const RCP< LinearOpBase< Scalar > > &A10, const RCP< LinearOpBase< Scalar > > &A11, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
identity (const Teuchos::RCP< const VectorSpaceBase< Scalar > > &space, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstMultiply (const RCP< LinearOpBase< Scalar > > &A, const RCP< LinearOpBase< Scalar > > &B, const std::string &M_label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
multiply (const RCP< const LinearOpBase< Scalar > > &A, const RCP< const LinearOpBase< Scalar > > &B, const std::string &M_label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
multiply (const RCP< const LinearOpBase< Scalar > > &A, const RCP< const LinearOpBase< Scalar > > &B, const RCP< const LinearOpBase< Scalar > > &C, const std::string &M_label)
template<class Scalar>
Teuchos::RCP< Thyra::DefaultProductMultiVector<
Scalar > > 
defaultProductMultiVector ()
template<class Scalar>
Teuchos::RCP< Thyra::DefaultProductMultiVector<
Scalar > > 
defaultProductMultiVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const int numMembers)
template<class Scalar>
Teuchos::RCP< Thyra::DefaultProductMultiVector<
Scalar > > 
defaultProductMultiVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< MultiVectorBase< Scalar > > > &multiVecs)
template<class Scalar>
Teuchos::RCP< Thyra::DefaultProductMultiVector<
Scalar > > 
defaultProductMultiVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< const MultiVectorBase< Scalar > > > &multiVecs)
template<class Scalar>
Teuchos::RCP< const Thyra::ProductMultiVectorBase<
Scalar > > 
castOrCreateSingleBlockProductMultiVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const RCP< const MultiVectorBase< Scalar > > &mv)
template<class Scalar>
Teuchos::RCP< Thyra::ProductMultiVectorBase<
Scalar > > 
nonconstCastOrCreateSingleBlockProductMultiVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const RCP< MultiVectorBase< Scalar > > &mv)
template<class Scalar>
RCP< DefaultProductVector<
Scalar > > 
defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const RCP< VectorBase< Scalar > > vecs[])
 Deprecated.
template<class Scalar>
Teuchos::RCP< Thyra::ProductVectorBase<
Scalar > > 
castOrCreateNonconstProductVectorBase (const RCP< VectorBase< Scalar > > v)
template<class Scalar>
Teuchos::RCP< const Thyra::ProductVectorBase<
Scalar > > 
castOrCreateProductVectorBase (const RCP< const VectorBase< Scalar > > v)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstScale (const Scalar &scalar, const RCP< LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
scale (const Scalar &scalar, const RCP< const LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstAdjoint (const RCP< LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
adjoint (const RCP< const LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstTranspose (const RCP< LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
transpose (const RCP< const LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstScaleAndAdjoint (const Scalar &scalar, const EOpTransp &transp, const RCP< LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
scaleAndAdjoint (const Scalar &scalar, const EOpTransp &transp, const RCP< const LinearOpBase< Scalar > > &Op, const std::string &label)
template<class Scalar>
Teuchos::RCP< const Thyra::LinearOpBase<
Scalar > > 
zero (const RCP< const VectorSpaceBase< Scalar > > &range_in, const RCP< const VectorSpaceBase< Scalar > > &domain_in)
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 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.
template<class Scalar>
void norms_1 (const MultiVectorBase< Scalar > &V, const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms)
template<class Scalar>
void norms_2 (const MultiVectorBase< Scalar > &V, const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms)
template<class Scalar>
void norms_inf (const MultiVectorBase< Scalar > &V, const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms)
template<class Scalar>
Teuchos::Array< typename Teuchos::ScalarTraits<
Scalar >::magnitudeType > 
norms_inf (const MultiVectorBase< Scalar > &V)
template<class Scalar, class NormOp>
void reductions (const MultiVectorBase< Scalar > &V, const NormOp &op, const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms)
template<class Scalar>
void norms (const MultiVectorBase< Scalar > &V, const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms)
template<class Scalar>
void dots (const MultiVectorBase< Scalar > &V1, const MultiVectorBase< Scalar > &V2, const ArrayView< Scalar > &dots)
template<class Scalar>
void sums (const MultiVectorBase< Scalar > &V, const ArrayView< Scalar > &sums)
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
norm_1 (const MultiVectorBase< Scalar > &V)
template<class Scalar>
void scale (Scalar alpha, const Ptr< MultiVectorBase< Scalar > > &V)
template<class Scalar>
void scaleUpdate (const VectorBase< Scalar > &a, const MultiVectorBase< Scalar > &U, const Ptr< MultiVectorBase< Scalar > > &V)
template<class Scalar>
void assign (const Ptr< MultiVectorBase< Scalar > > &V, Scalar alpha)
template<class Scalar>
void assign (const Ptr< MultiVectorBase< Scalar > > &V, const MultiVectorBase< Scalar > &U)
template<class Scalar>
void update (Scalar alpha, const MultiVectorBase< Scalar > &U, const Ptr< MultiVectorBase< Scalar > > &V)
template<class Scalar>
void update (const ArrayView< const Scalar > &alpha, Scalar beta, const MultiVectorBase< Scalar > &U, const Ptr< MultiVectorBase< Scalar > > &V)
template<class Scalar>
void update (const MultiVectorBase< Scalar > &U, const ArrayView< const Scalar > &alpha, Scalar beta, const Ptr< MultiVectorBase< Scalar > > &V)
template<class Scalar>
void linear_combination (const ArrayView< const Scalar > &alpha, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &X, const Scalar &beta, const Ptr< MultiVectorBase< Scalar > > &Y)
template<class Scalar>
void randomize (Scalar l, Scalar u, const Ptr< MultiVectorBase< Scalar > > &V)
template<class Scalar>
void Vt_S (const Ptr< MultiVectorBase< Scalar > > &Z, const Scalar &alpha)
template<class Scalar>
void Vp_S (const Ptr< MultiVectorBase< Scalar > > &Z, const Scalar &alpha)
template<class Scalar>
void Vp_V (const Ptr< MultiVectorBase< Scalar > > &Z, const MultiVectorBase< Scalar > &X)
template<class Scalar>
void V_VpV (const Ptr< MultiVectorBase< Scalar > > &Z, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
template<class Scalar>
void V_VmV (const Ptr< MultiVectorBase< Scalar > > &Z, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
template<class Scalar>
void V_StVpV (const Ptr< MultiVectorBase< Scalar > > &Z, const Scalar &alpha, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
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.
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
relVectorErr (const VectorBase< Scalar > &v1, const VectorBase< Scalar > &v2)
 Return relative error of two vectors.
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.
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.
const std::string passfail (const bool result)
 
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
relErr (const Scalar &s1, const Scalar &s2)
 
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.
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.
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>
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>
Scalar scalarProd (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
template<class Scalar>
Scalar inner (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
norm (const VectorBase< Scalar > &v)
template<class Scalar>
Scalar sum (const VectorBase< Scalar > &v_rhs)
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
norm_1 (const VectorBase< Scalar > &v_rhs)
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
norm_2 (const VectorBase< Scalar > &v_rhs)
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
norm_2 (const VectorBase< Scalar > &w, const VectorBase< Scalar > &v)
template<class Scalar>
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
norm_inf (const VectorBase< Scalar > &v_rhs)
template<class Scalar>
Scalar dot (const VectorBase< Scalar > &v_rhs1, const VectorBase< Scalar > &v_rhs2)
template<class Scalar>
Scalar get_ele (const VectorBase< Scalar > &v, Ordinal i)
template<class Scalar>
void set_ele (Ordinal i, Scalar alpha, const Ptr< VectorBase< Scalar > > &v)
template<class Scalar>
void put_scalar (const Scalar &alpha, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void copy (const VectorBase< Scalar > &v_rhs, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void add_scalar (const Scalar &alpha, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void scale (const Scalar &alpha, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void abs (const Ptr< VectorBase< Scalar > > &y, const VectorBase< Scalar > &x)
template<class Scalar>
void reciprocal (const Ptr< VectorBase< Scalar > > &y, const VectorBase< Scalar > &x)
template<class Scalar>
void ele_wise_prod (const Scalar &alpha, const VectorBase< Scalar > &v_rhs1, const VectorBase< Scalar > &v_rhs2, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void ele_wise_conj_prod (const Scalar &alpha, const VectorBase< Scalar > &v_rhs1, const VectorBase< Scalar > &v_rhs2, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void Vp_StVtV (const Ptr< VectorBase< Scalar > > &v_lhs, const Scalar &alpha, const VectorBase< Scalar > &v_rhs1, const VectorBase< Scalar > &v_rhs2)
template<class Scalar>
void ele_wise_prod_update (const Scalar &alpha, const VectorBase< Scalar > &v_rhs1, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void Vt_StV (const Ptr< VectorBase< Scalar > > &v_lhs, const Scalar &alpha, const VectorBase< Scalar > &x)
template<class Scalar>
void ele_wise_divide (const Scalar &alpha, const VectorBase< Scalar > &v_rhs1, const VectorBase< Scalar > &v_rhs2, const Ptr< VectorBase< Scalar > > &v_lhs)
template<class Scalar>
void linear_combination (const ArrayView< const Scalar > &alpha, const ArrayView< const Ptr< const VectorBase< Scalar > > > &x, const Scalar &beta, const Ptr< VectorBase< Scalar > > &y)
template<class Scalar>
void seed_randomize (unsigned int s)
template<class Scalar>
void randomize (Scalar l, Scalar u, const Ptr< VectorBase< Scalar > > &v)
template<class Scalar>
void assign (const Ptr< VectorBase< Scalar > > &v_lhs, const Scalar &alpha)
template<class Scalar>
void assign (const Ptr< VectorBase< Scalar > > &v_lhs, const VectorBase< Scalar > &v_rhs)
template<class Scalar>
void Vp_S (const Ptr< VectorBase< Scalar > > &v_lhs, const Scalar &alpha)
template<class Scalar>
void Vt_S (const Ptr< VectorBase< Scalar > > &v_lhs, const Scalar &alpha)
template<class Scalar>
void V_StV (const Ptr< VectorBase< Scalar > > &y, const Scalar &alpha, const VectorBase< Scalar > &x)
template<class Scalar>
void Vp_StV (const Ptr< VectorBase< Scalar > > &v_lhs, const Scalar &alpha, const VectorBase< Scalar > &v_rhs)
template<class Scalar>
void Vp_V (const Ptr< VectorBase< Scalar > > &y, const VectorBase< Scalar > &x, const Scalar &beta)
template<class Scalar>
void V_V (const Ptr< VectorBase< Scalar > > &y, const VectorBase< Scalar > &x)
template<class Scalar>
void V_S (const Ptr< VectorBase< Scalar > > &y, const Scalar &alpha)
template<class Scalar>
void V_VpV (const Ptr< VectorBase< Scalar > > &z, const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
template<class Scalar>
void V_VmV (const Ptr< VectorBase< Scalar > > &z, const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
template<class Scalar>
void V_StVpV (const Ptr< VectorBase< Scalar > > &z, const Scalar &alpha, const VectorBase< Scalar > &x, const VectorBase< Scalar > &y)
template<class Scalar>
void V_VpStV (const Ptr< VectorBase< Scalar > > &z, const VectorBase< Scalar > &x, const Scalar &alpha, const VectorBase< Scalar > &y)
template<class Scalar>
void V_StVpStV (const Ptr< VectorBase< Scalar > > &z, const Scalar &alpha, const VectorBase< Scalar > &x, const Scalar &beta, const VectorBase< Scalar > &y)
template<class Scalar>
Scalar min (const VectorBase< Scalar > &x)
template<class Scalar>
void min (const VectorBase< Scalar > &x, const Ptr< Scalar > &minEle, const Ptr< Ordinal > &minIndex)
template<class Scalar>
void minGreaterThanBound (const VectorBase< Scalar > &x, const Scalar &bound, const Ptr< Scalar > &minEle, const Ptr< Ordinal > &minIndex)
template<class Scalar>
Scalar max (const VectorBase< Scalar > &x)
template<class Scalar>
void max (const VectorBase< Scalar > &x, const Ptr< Scalar > &maxEle, const Ptr< Ordinal > &maxIndex)
template<class Scalar>
void maxLessThanBound (const VectorBase< Scalar > &x, const Scalar &bound, const Ptr< Scalar > &maxEle, const Ptr< Ordinal > &maxIndex)
template<class Scalar>
void setEleTestCase (const Ptr< VectorBase< Scalar > > &z, const Ordinal i, int &tc, std::ostream &out, bool &success)
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>
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_in)
 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_in)
 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>
RCP< DefaultAdjointLinearOpWithSolve<
Scalar > > 
defaultAdjointLinearOpWithSolve (const RCP< const LinearOpWithSolveBase< Scalar > > &lows, const EOpTransp transp)
 Nonmember constructor.DefaultAdjointLinearOpWithSolve.
template<class Scalar>
RCP< DefaultAdjointLinearOpWithSolve<
Scalar > > 
defaultAdjointLinearOpWithSolveNonconst (const RCP< LinearOpWithSolveBase< Scalar > > &lows, const EOpTransp transp)
 Nonmember constructor.DefaultAdjointLinearOpWithSolve.
template<class Scalar>
RCP< const LinearOpWithSolveBase<
Scalar > > 
adjointLows (const RCP< const LinearOpWithSolveBase< Scalar > > &lows)
 Nonmember constructor.DefaultAdjointLinearOpWithSolve.
template<class Scalar>
RCP< LinearOpWithSolveBase<
Scalar > > 
nonconstAdjointLows (const RCP< LinearOpWithSolveBase< Scalar > > &lows)
 Nonmember constructor.DefaultAdjointLinearOpWithSolve.
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.
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
nonconstInverse (const Teuchos::RCP< LinearOpWithSolveBase< Scalar > > &A, const SolveCriteria< Scalar > *fwdSolveCriteria, const EThrowOnSolveFailure throwOnFwdSolveFailure, const SolveCriteria< Scalar > *adjSolveCriteria, const EThrowOnSolveFailure throwOnAdjSolveFailure)
template<class Scalar>
Teuchos::RCP< Thyra::LinearOpBase<
Scalar > > 
inverse (const Teuchos::RCP< const LinearOpWithSolveBase< Scalar > > &A, const SolveCriteria< Scalar > *fwdSolveCriteria, const EThrowOnSolveFailure throwOnFwdSolveFailure, const SolveCriteria< Scalar > *adjSolveCriteria, const EThrowOnSolveFailure throwOnAdjSolveFailure)
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 <tt>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.
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.
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 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>
Teuchos::RCP< Thyra::ModelEvaluatorBase::InArgs<
Scalar > > 
clone (const ModelEvaluatorBase::InArgs< Scalar > &inArgs)
template<class Scalar>
Thyra::ModelEvaluatorBase::Derivative<
Scalar > 
derivativeGradient (const RCP< MultiVectorBase< Scalar > > &grad)
template<class Scalar>
Thyra::ModelEvaluatorBase::DerivativeMultiVector<
Scalar > 
create_DfDp_mv (const ModelEvaluator< Scalar > &model, int l, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation)
template<class Scalar>
Thyra::ModelEvaluatorBase::DerivativeMultiVector<
Scalar > 
create_DgDx_dot_mv (const ModelEvaluator< Scalar > &model, int j, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation)
template<class Scalar>
Thyra::ModelEvaluatorBase::DerivativeMultiVector<
Scalar > 
create_DgDx_mv (const ModelEvaluator< Scalar > &model, int j, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation)
template<class Scalar>
Thyra::ModelEvaluatorBase::DerivativeMultiVector<
Scalar > 
create_DgDp_mv (const ModelEvaluator< Scalar > &model, int j, int l, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation)
template<class Scalar>
Thyra::ModelEvaluatorBase::DerivativeMultiVector<
Scalar > 
get_dmv (const ModelEvaluatorBase::Derivative< Scalar > &deriv, const std::string &derivName)
template<class Scalar>
Teuchos::RCP< Thyra::MultiVectorBase<
Scalar > > 
get_mv (const ModelEvaluatorBase::Derivative< Scalar > &deriv, const std::string &derivName, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation)
template<class Scalar>
void assertDerivSpaces (const std::string &modelEvalDescription, const ModelEvaluatorBase::Derivative< Scalar > &deriv, const std::string &deriv_name, const VectorSpaceBase< Scalar > &fnc_space, const std::string &fnc_space_name, const VectorSpaceBase< Scalar > &var_space, const std::string &var_space_name)
template<class Scalar>
void assertInArgsOutArgsSetup (const std::string &modelEvalDescription, const ModelEvaluatorBase::InArgs< Scalar > &inArgs, const ModelEvaluatorBase::OutArgs< Scalar > &outArgs)
template<class Scalar>
void assertInArgsEvalObjects (const ModelEvaluator< Scalar > &model, const ModelEvaluatorBase::InArgs< Scalar > &inArgs)
template<class Scalar>
void assertOutArgsEvalObjects (const ModelEvaluator< Scalar > &model, const ModelEvaluatorBase::OutArgs< Scalar > &outArgs, const ModelEvaluatorBase::InArgs< Scalar > *inArgs)
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 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).
Teuchos::RCP< Thyra::EpetraLinearOpnonconstEpetraLinearOp ()
Teuchos::RCP< Thyra::EpetraLinearOppartialNonconstEpetraLinearOp (const RCP< const VectorSpaceBase< double > > &range, const RCP< const VectorSpaceBase< double > > &domain, const RCP< Epetra_Operator > &op, EOpTransp opTrans, EApplyEpetraOpAs applyAs, EAdjointEpetraOp adjointSupport)
Teuchos::RCP< Thyra::EpetraLinearOpnonconstEpetraLinearOp (const RCP< Epetra_Operator > &op, EOpTransp opTrans, EApplyEpetraOpAs applyAs, EAdjointEpetraOp adjointSupport, const RCP< const VectorSpaceBase< double > > &range, const RCP< const VectorSpaceBase< double > > &domain)
Teuchos::RCP< const Thyra::EpetraLinearOpepetraLinearOp (const RCP< const Epetra_Operator > &op, EOpTransp opTrans, EApplyEpetraOpAs applyAs, EAdjointEpetraOp adjointSupport, const RCP< const VectorSpaceBase< double > > &range, const RCP< const VectorSpaceBase< double > > &domain)
Teuchos::RCP< Thyra::EpetraLinearOpnonconstEpetraLinearOp (const RCP< Epetra_Operator > &op, const std::string &label, EOpTransp opTrans, EApplyEpetraOpAs applyAs, EAdjointEpetraOp adjointSupport, const RCP< const VectorSpaceBase< double > > &range, const RCP< const VectorSpaceBase< double > > &domain)
Teuchos::RCP< const Thyra::EpetraLinearOpepetraLinearOp (const RCP< const Epetra_Operator > &op, const std::string &label, EOpTransp opTrans, EApplyEpetraOpAs applyAs, EAdjointEpetraOp adjointSupport, const RCP< const SpmdVectorSpaceBase< double > > &range, const RCP< const SpmdVectorSpaceBase< double > > &domain)
Teuchos::RCP< const Thyra::LinearOpBase<
double > > 
makeEpetraWrapper (const RCP< const LinearOpBase< double > > &thyraOp)
Teuchos::RCP< const Teuchos::Comm<
Thyra::Ordinal > > 
create_Comm (const RCP< const Epetra_Comm > &epetraComm)
 Given an Epetra_Comm object, return an equivalent Teuchos::Comm object.
Teuchos::RCP< const Thyra::VectorSpaceBase<
double > > 
create_VectorSpace (const RCP< const Epetra_Map > &epetra_map)
 Create an VectorSpaceBase object given an Epetra_Map object.
Teuchos::RCP< const Thyra::VectorSpaceBase<
double > > 
create_LocallyReplicatedVectorSpace (const RCP< const VectorSpaceBase< double > > &parentSpace, const int dim)
 Create a VectorSpaceBase object that creates locally replicated vector objects.
Teuchos::RCP< Thyra::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.
Teuchos::RCP< const Thyra::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.
Teuchos::RCP< Thyra::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.
Teuchos::RCP< const Thyra::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.
Teuchos::RCP< const Epetra_Comm > get_Epetra_Comm (const Teuchos::Comm< Ordinal > &comm)
 Get (or create) and Epetra_Comm given a Teuchos::Comm object.
Teuchos::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.
Teuchos::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.
Teuchos::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.
Teuchos::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.
Teuchos::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::RCP< Thyra::EpetraModelEvaluatorepetraModelEvaluator (const RCP< const EpetraExt::ModelEvaluator > &epetraModel, const RCP< LinearOpWithSolveFactoryBase< double > > &W_factory)
Thyra::ModelEvaluatorBase::EDerivativeMultiVectorOrientation convert (const EpetraExt::ModelEvaluator::EDerivativeMultiVectorOrientation &mvOrientation)
EpetraExt::ModelEvaluator::EDerivativeMultiVectorOrientation convert (const ModelEvaluatorBase::EDerivativeMultiVectorOrientation &mvOrientation)
Thyra::ModelEvaluatorBase::DerivativeProperties convert (const EpetraExt::ModelEvaluator::DerivativeProperties &derivativeProperties)
Thyra::ModelEvaluatorBase::DerivativeSupport convert (const EpetraExt::ModelEvaluator::DerivativeSupport &derivativeSupport)
EpetraExt::ModelEvaluator::Derivative convert (const ModelEvaluatorBase::Derivative< double > &derivative, const RCP< const Epetra_Map > &fnc_map, const RCP< const Epetra_Map > &var_map)

Variables

THYRA_DEPRECATED typedef Ordinal Index
 Deprecated: Use Ordinal instead! `*.
THYRA_DEPRECATED typedef EOpTransp ETransp
 Deprecated (use EOpTransp instead).


Enumeration Type Documentation

enum Thyra::EThrowOnSolveFailure

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.


Function Documentation

template<class Scalar>
THYRA_DEPRECATED 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]

Deprecated.

template<class Scalar>
THYRA_DEPRECATED 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.

template<class Scalar>
THYRA_DEPRECATED 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.

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

Deprecated.

Definition at line 560 of file Thyra_LinearOpBase_decl.hpp.

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

Deprecated.

Definition at line 575 of file Thyra_LinearOpBase_decl.hpp.

template<class Scalar>
void Thyra::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.

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:

Postconditions:

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.

template<class Scalar>
void Thyra::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.

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:

Postconditions:

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.

template<class Scalar>
bool Thyra::solveSupports ( const LinearOpWithSolveBase< Scalar > &  A,
const EOpTransp  transp 
) [inline]

Call solveSupports() as a non-member function.

Definition at line 471 of file Thyra_LinearOpWithSolveBase_decl.hpp.

template<class Scalar>
bool Thyra::solveSupportsSolveMeasureType ( const LinearOpWithSolveBase< Scalar > &  A,
const EOpTransp  transp,
const SolveMeasureType &  solveMeasureType 
) [inline]

Call solveSupportsSolveMeasureType() as a non-member function.

Definition at line 487 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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]

Call solve() as a non-member function.

Definition at line 503 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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[] 
)

Deprecated.

Definition at line 524 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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 
)

Deprecated.

Definition at line 551 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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 
)

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

See the implementation of this function for details.

Definition at line 574 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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 
)

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

See the implementation of this function for details.

Definition at line 610 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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 
)

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 645 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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 
)

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 668 of file Thyra_LinearOpWithSolveBase_decl.hpp.

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.

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.

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

Deprecated.

Definition at line 337 of file Thyra_DefaultProductVector_decl.hpp.

template<class Scalar>
void Thyra::describeLinearOp ( const LinearOpBase< Scalar > &  A,
Teuchos::FancyOStream out_arg,
const Teuchos::EVerbosityLevel  verbLevel 
)

Basic implementation of a describe function for a linear operator.

Definition at line 41 of file Thyra_describeLinearOp_def.hpp.

template<class Scalar>
void Thyra::describeLinearOp ( const LinearOpBase< Scalar > &  A,
Teuchos::FancyOStream out_arg,
const Teuchos::EVerbosityLevel  verbLevel 
)

Basic implementation of a describe function for a linear operator.

Definition at line 41 of file Thyra_describeLinearOp_def.hpp.

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

Deprecated.

Definition at line 357 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 364 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 371 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 378 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 385 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::dots ( const MultiVectorBase< Scalar > &  V1,
const MultiVectorBase< Scalar > &  V2,
Scalar  dots_out[] 
)

Deprecated.

Definition at line 392 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::sums ( const MultiVectorBase< Scalar > &  V,
Scalar  sums_out[] 
)

Deprecated.

Definition at line 399 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::scale ( Scalar  alpha,
MultiVectorBase< Scalar > *  V 
)

Deprecated.

Definition at line 405 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 411 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 418 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 424 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 430 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 436 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 443 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 450 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::randomize ( Scalar  l,
Scalar  u,
MultiVectorBase< Scalar > *  V 
)

Deprecated.

Definition at line 468 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::Vt_S ( MultiVectorBase< Scalar > *  Z,
const Scalar &  alpha 
)

Deprecated.

Definition at line 474 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::Vp_S ( MultiVectorBase< Scalar > *  Z,
const Scalar &  alpha 
)

Deprecated.

Definition at line 480 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::Vp_V ( MultiVectorBase< Scalar > *  Z,
const MultiVectorBase< Scalar > &  X 
)

Deprecated.

Definition at line 486 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::V_VpV ( MultiVectorBase< Scalar > *  Z,
const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y 
)

Deprecated.

Definition at line 492 of file Thyra_MultiVectorStdOps_decl.hpp.

template<class Scalar>
void Thyra::V_VmV ( MultiVectorBase< Scalar > *  Z,
const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y 
)

Deprecated.

Definition at line 499 of file Thyra_MultiVectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 505 of file Thyra_MultiVectorStdOps_decl.hpp.

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:

Preconditions:

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

Definition at line 254 of file Thyra_TestingToolsDecl.hpp.

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:

Preconditions:

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

Definition at line 254 of file Thyra_TestingToolsDecl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::set_ele ( Ordinal  i,
Scalar  alpha,
VectorBase< Scalar > *  v 
)

Deprecated.

Definition at line 584 of file Thyra_VectorStdOps_decl.hpp.

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]

Deprecated.

Definition at line 598 of file Thyra_VectorStdOps_decl.hpp.

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.

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.

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.

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]

Deprecated.

Definition at line 633 of file Thyra_VectorStdOps_decl.hpp.

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.

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.

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.

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.

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

Deprecated.

Definition at line 673 of file Thyra_VectorStdOps_decl.hpp.

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 
)

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.

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.

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

Deprecated.

Definition at line 716 of file Thyra_VectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 723 of file Thyra_VectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 730 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::V_StV ( VectorBase< Scalar > *  y,
const Scalar &  alpha,
const VectorBase< Scalar > &  x 
)

Deprecated.

Definition at line 737 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::Vp_StV ( VectorBase< Scalar > *  y,
const Scalar &  alpha,
const VectorBase< Scalar > &  x 
)

Deprecated.

Definition at line 745 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::Vp_V ( VectorBase< Scalar > *  y,
const VectorBase< Scalar > &  x,
const Scalar &  beta = static_cast<Scalar>(1.0) 
)

Deprecated.

Definition at line 753 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::V_V ( VectorBase< Scalar > *  y,
const VectorBase< Scalar > &  x 
)

Deprecated.

Definition at line 763 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::V_S ( VectorBase< Scalar > *  y,
const Scalar &  alpha 
)

Deprecated.

Definition at line 770 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::V_VpV ( VectorBase< Scalar > *  z,
const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  y 
)

Deprecated.

Definition at line 777 of file Thyra_VectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 785 of file Thyra_VectorStdOps_decl.hpp.

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

Deprecated.

Definition at line 793 of file Thyra_VectorStdOps_decl.hpp.

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 
)

Deprecated.

Definition at line 801 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::min ( const VectorBase< Scalar > &  x,
Scalar *  maxEle,
Ordinal maxIndex 
)

Deprecated.

Definition at line 809 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::minGreaterThanBound ( const VectorBase< Scalar > &  x,
const Scalar &  bound,
Scalar *  minEle,
Ordinal minIndex 
)

Deprecated.

Definition at line 816 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::max ( const VectorBase< Scalar > &  x,
Scalar *  maxEle,
Ordinal maxIndex 
)

Deprecated.

Definition at line 824 of file Thyra_VectorStdOps_decl.hpp.

template<class Scalar>
THYRA_DEPRECATED void Thyra::maxLessThanBound ( const VectorBase< Scalar > &  x,
const Scalar &  bound,
Scalar *  maxEle,
Ordinal maxIndex 
)

Deprecated.

Definition at line 831 of file Thyra_VectorStdOps_decl.hpp.

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

Nonmember constructor.DefaultAdjointLinearOpWithSolve.

Definition at line 138 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

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

Nonmember constructor.DefaultAdjointLinearOpWithSolve.

Definition at line 155 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

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

Nonmember constructor.DefaultAdjointLinearOpWithSolve.

Definition at line 172 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

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

Nonmember constructor.DefaultAdjointLinearOpWithSolve.

Definition at line 184 of file Thyra_DefaultAdjointLinearOpWithSolve_decl.hpp.

template<class Scalar>
RCP<DefaultBlockedTriangularLinearOpWithSolveFactory<Scalar> > Thyra::defaultBlockedTriangularLinearOpWithSolveFactory ( const RCP< LinearOpWithSolveFactoryBase< Scalar > > &  lowsf  ) 

Nonmember constructor.

DefaultBlockedTriangularLinearOpWithSolveFactory

Definition at line 256 of file Thyra_DefaultBlockedTriangularLinearOpWithSolveFactory_decl.hpp.

template<class Scalar>
RCP<DefaultBlockedTriangularLinearOpWithSolveFactory<Scalar> > Thyra::defaultBlockedTriangularLinearOpWithSolveFactory ( const RCP< const LinearOpWithSolveFactoryBase< Scalar > > &  lowsf  ) 

Nonmember constructor.

DefaultBlockedTriangularLinearOpWithSolveFactory

Definition at line 272 of file Thyra_DefaultBlockedTriangularLinearOpWithSolveFactory_decl.hpp.

template<class Scalar>
RCP<DefaultSerialDenseLinearOpWithSolveFactory<Scalar> > Thyra::defaultSerialDenseLinearOpWithSolveFactory (  ) 

Nonmember constructor.

DefaultSerialDenseLinearOpWithSolveFactory

Definition at line 152 of file Thyra_DefaultSerialDenseLinearOpWithSolveFactory_decl.hpp.

template<class Scalar>
bool Thyra::isCompatible ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const LinearOpBase< Scalar > &  fwdOp 
)

Return if the forward operator is a compatible source for a LOWSFB object.

Definition at line 47 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void Thyra::setDefaultObjectLabel ( const LinearOpBase< Scalar > &  fwdOp,
LinearOpWithSolveBase< Scalar > *  Op 
)

Set default label on a LOWSB object.

Definition at line 61 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void Thyra::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.

Definition at line 79 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void Thyra::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.

Definition at line 97 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void Thyra::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.

Definition at line 114 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void Thyra::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.

Definition at line 135 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
Teuchos::RCP<LinearOpWithSolveBase<Scalar> > Thyra::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.

Definition at line 156 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
Teuchos::RCP<LinearOpBase<Scalar> > Thyra::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 <tt>M = inv(A) given a factory.

Definition at line 176 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void Thyra::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.

Definition at line 200 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void Thyra::assertSupportsSolveMeasureType ( const LinearOpWithSolveBase< Scalar > &  lows,
const EOpTransp  M_trans,
const SolveMeasureType &  solveMeasureType 
)

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.

template<class Scalar>
void Thyra::assertSupportsSolveMeasureType ( const LinearOpWithSolveBase< Scalar > &  lows,
const EOpTransp  M_trans,
const SolveMeasureType &  solveMeasureType 
)

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.

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 
)

Initialize a preconditioner from a forward linear operator.

Definition at line 44 of file Thyra_PreconditionerFactoryHelpers.hpp.

template<class Scalar>
void Thyra::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.

Definition at line 59 of file Thyra_PreconditionerFactoryHelpers.hpp.

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 
)

Create and initialize a preconditioner from a forward linear operator.

Definition at line 76 of file Thyra_PreconditionerFactoryHelpers.hpp.

template<class Scalar>
void Thyra::eval_f ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  f 
)

Evaluate f(x).

Definition at line 805 of file Thyra_ModelEvaluatorHelpers.hpp.

template<class Scalar>
void Thyra::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).

Definition at line 821 of file Thyra_ModelEvaluatorHelpers.hpp.

template<class Scalar>
void Thyra::eval_f ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x,
const Scalar &  t,
VectorBase< Scalar > *  f 
)

Evaluate f(x,t).

Definition at line 845 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate g(j)(p)).

Definition at line 863 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Deprecated .

Definition at line 213 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate g(j)(p,t)).

Definition at line 881 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate g(j)(p)) and/or D(g)/D(p).

Definition at line 901 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate f(x_dot,x,t).

Definition at line 925 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

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.

template<class Scalar>
void Thyra::eval_f ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  f 
)

Evaluate f(x).

Definition at line 805 of file Thyra_ModelEvaluatorHelpers.hpp.

template<class Scalar>
void Thyra::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).

Definition at line 821 of file Thyra_ModelEvaluatorHelpers.hpp.

template<class Scalar>
void Thyra::eval_f ( const ModelEvaluator< Scalar > &  model,
const VectorBase< Scalar > &  x,
const Scalar &  t,
VectorBase< Scalar > *  f 
)

Evaluate f(x,t).

Definition at line 845 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate g(j)(p)).

Definition at line 863 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate g(j)(p,t)).

Definition at line 881 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate g(j)(p)) and/or D(g)/D(p).

Definition at line 901 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

Evaluate f(x_dot,x,t).

Definition at line 925 of file Thyra_ModelEvaluatorHelpers.hpp.

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 
)

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.


Generated on Tue Jul 13 09:26:29 2010 for Thyra by  doxygen 1.4.7