ChanProblemInterface Class Reference

LOCA-LAPACK problem interface for the Chan problem. More...

#include <ChanProblemInterface.H>

Inheritance diagram for ChanProblemInterface:

[legend]
Collaboration diagram for ChanProblemInterface:
[legend]
List of all members.

Public Member Functions

 ChanProblemInterface (int N, double a, double b, double s)
 Constructor. Also generates an initial guess.
 ChanProblemInterface (int N, double a, double b, double s, ofstream &file)
 Constructor. Also generates an initial guess.
 ~ChanProblemInterface ()
 Destructor.
const NOX::LAPACK::VectorgetInitialGuess ()
 Returns initial guess.
bool computeF (NOX::LAPACK::Vector &f, const NOX::LAPACK::Vector &x)
 Evaluates residual.
bool computeJacobian (NOX::LAPACK::Matrix &J, const NOX::LAPACK::Vector &x)
 Evalues jacobian.
void setParams (const LOCA::ParameterVector &p)
 Sets parameters.
void printSolution (const NOX::LAPACK::Vector &x, const double conParam)
 Prints solution after successful step.

Detailed Description

LOCA-LAPACK problem interface for the Chan problem.

ChanProblemInterface implements the LOCA::LAPACK::Interface for a 1D finite-difference discretization of the Chan problem:

\[ \frac{d^2 T}{d x^2} + \alpha s \left(1 + \frac{x + 0.5 x^2}{1 + 0.01 x^2}\right) = 0 \]

subject to the boundary conditions $T(0) = T(1) = \beta$. The parameters are $\alpha$, $\beta$, $s$, and $n$, the size of the discretization. The scaling factor $s$ is used to test continuation at different scales of $\alpha$.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:40:41 2008 for NOX by doxygen 1.3.9.1