NOX Development
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions
NOX Namespace Reference

Nonlinear solvers package namespace. More...

Namespaces

namespace  Abstract
 NOX abstract interface for vector and group
 
namespace  Direction
 Search direction strategies.
 
namespace  Epetra
 Improved version of the Epetra support class.
 
namespace  LAPACK
 NOX BLAS/LAPACK support.
 
namespace  LineSearch
 NOX linesearches.
 
namespace  Petsc
 NOX Petsc support.
 
namespace  Solver
 NOX nonlinear solvers namespace.
 
namespace  StatusTest
 Status checkers.
 
namespace  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  MatrixFreeModelEvaluatorDecorator
 Model Evaluator Decorator class that adds support for the evaluation of a matrix-free W_op. 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  ObserverReusePreconditioner
 Observer that controls when to update the preconditioner for the Thyra interface. 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  RowSumScaling
 Updates an inverse row sum scaling vector at the beginning of a solve. 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...
 

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

◆ CopyType

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

◆ createReusePreconditionerObserver()

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.