PitchforkProblemInterface Class Reference

LOCA-LAPACK problem interface for a 1D finite difference discretization of a simple PDE exhibiting a pitchfork bifurcation. More...

#include <PitchforkProblemInterface.H>

Inheritance diagram for PitchforkProblemInterface:

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

Public Member Functions

 PitchforkProblemInterface (int N, double a, double b, double l)
 Constructor. Also generates an initial guess.
 ~PitchforkProblemInterface ()
 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 a 1D finite difference discretization of a simple PDE exhibiting a pitchfork bifurcation.

PitchforkProblemInterface implements the LOCA::LAPACK::Interface for a 1D finite-difference discretization of the PDE:

\[ \frac{d^2 T}{d x^2} + \lambda T - \alpha T^2 + \beta T^3 = 0 \]

subject to the boundar conditions $T(-1) = T(1) = \beta$. The parameters are $\alpha$, $\beta$, $\lambda$, and $n$, the size of the discretization.


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