NOX  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
NOX Namespace Reference

Nonlinear solvers package namespace. More...

Namespaces

 Abstract
 NOX abstract interface for vector and group
 
 Direction
 Search direction strategies.
 
 Epetra
 Improved version of the Epetra support class.
 
 LAPACK
 NOX BLAS/LAPACK support.
 
 LineSearch
 NOX linesearches.
 
 Petsc
 NOX Petsc support.
 
 Solver
 NOX nonlinear solvers namespace.
 
 StatusTest
 Status checkers.
 
 Thyra
 NOX Thyra support.
 

Classes

class  GlobalData
 Container class to hold "global" NOX objects. More...
 
class  LineSearchCounters
 Common counters that all line search algorithms should report. More...
 
class  MultiVector
 Default implementation for NOX::Abstract::MultiVector using an array of NOX::Abstract::MultiVector's. More...
 
class  Observer
 NOX's pure virtual class to allow users to insert user defined operations into nox's solvers (before and after the NOX::Solver::Generic::step() and NOX::Solver::Generic::solve() methods). This is an Observer from GoF design pattern book. More...
 
class  ObserverLog
 Logs observer calls. Useful for unit testing and debugging. More...
 
class  ObserverPrint
 A NOX::Observer that provides summary solver output. More...
 
class  ObserverVector
 Concrete implementation of NOX::Observer that stores a vector of Observers. More...
 
class  Random
 A class to compute uniformly distributed random numbers in (-1,1). More...
 
class  SharedObject
 Holder for objects that are shared between NOX::Abstract::Groups. More...
 
struct  SolverStats
 Container for solver statistics. More...
 
class  Utils
 Provides printing utilities. More...
 
class  MatrixFreeModelEvaluatorDecorator
 Model Evaluator Decorator class that adds support for the evaluation of a matrix-free W_op. More...
 
class  ObserverReusePreconditioner
 Observer that controls when to update the preconditioner for the Thyra interface. More...
 
class  RowSumScaling
 Updates an inverse row sum scaling vector at the beginning of a solve. More...
 

Typedefs

typedef Teuchos::Ordinal size_type
 
using PrePostOperatorVector = NOX::ObserverVector
 

Enumerations

enum  CopyType { DeepCopy, ShapeCopy }
 Specify whether to copy using deep copy or just copy by shape. More...
 

Functions

std::ostream & operator<< (std::ostream &, const NOX::Utils::Fill &)
 
std::ostream & operator<< (std::ostream &, const NOX::Utils::Sci &)
 
std::ostream & operator<< (std::ostream &, const NOX::Utils &utils)
 
Teuchos::RCP< NOX::ObservercreateReusePreconditionerObserver (Teuchos::ParameterList &pl)
 

Detailed Description

Nonlinear solvers package namespace.

Enumeration Type Documentation

Specify whether to copy using deep copy or just copy by shape.

Enumerator
DeepCopy 

Copy object including all data.

ShapeCopy 

Copy the shape of the object only.

Function Documentation

Teuchos::RCP< NOX::Observer > NOX::createReusePreconditionerObserver ( Teuchos::ParameterList pl)

Non-member function to create an observer that will reuse the preconditioner across multiple linear solves and time steps.

When to update the preconditioner is controlled by the ParameterList arguments below.

Parameters
Update prec at start of nonlinear solve(bool) Update preconditioner at the start of each nonlinear solve. Defaults to true.
Update prec after this many nonlinear iterations(int) Update preconditioner after this many nonlinear iterations. Setting to 0 disables. Defaults to 0 (disabled).
Update prec after this many stalled linear solves(int) Update prec after this many stalled linear solves. Setting to 0 disables. Defaults to 0 (disabled).
Max linear iterations for stall(int) Maximum number of linear iterations that triggers a nonlinear iteration to be declared stalled. Defaults to 50.

References Teuchos::ParameterList::get(), Teuchos::rcp(), Teuchos::ParameterList::set(), and Teuchos::ParameterList::validateParametersAndSetDefaults().