Interface Class Reference

#include <1DfemInterface.H>

Inheritance diagram for Interface:

Inheritance graph
[legend]
Collaboration diagram for Interface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Interface (int NumGlobalElements, Epetra_Comm &Comm, double xmin=0.0, double xmax=1.0)
virtual ~Interface ()
virtual bool computeF (const Epetra_Vector &x, Epetra_Vector &FVec, FillType fillType=Residual)
virtual bool computeJacobian (const Epetra_Vector &x, Epetra_Operator &Jac)
virtual bool computePrecMatrix (const Epetra_Vector &x)
virtual bool computePreconditioner (const Epetra_Vector &x, Epetra_Operator &Prec, Teuchos::ParameterList *precParams=0)
Epetra_VectorgetSolution ()
Epetra_VectorgetMesh ()
Epetra_CrsMatrixgetJacobian ()
bool setPDEfactor (double value)
Epetra_MapgetMap ()
Epetra_CrsGraphgetGraph ()

Protected Types

enum  TargetObjectType { FUNCTION, JACOBIAN }

Protected Member Functions

virtual bool evaluate (FillType f, const Epetra_Vector *solnVector, Epetra_Vector *rhsVector, Epetra_RowMatrix *matrix)
virtual bool createGraph ()
virtual bool initializeSoln ()

Protected Attributes

int NumGlobalElements
int NumMyElements
int MyPID
int NumProc
double xmin
double xmax
double factor
Epetra_CommComm
Epetra_MapStandardMap
Epetra_MapOverlapMap
Epetra_ImportImporter
Epetra_VectorinitialSolution
Epetra_Vectorrhs
Epetra_CrsGraphGraph
Epetra_CrsMatrixjacobian
Epetra_Vectorxptr

Member Enumeration Documentation

enum Interface::TargetObjectType [protected]
 

Enumeration values:
FUNCTION 
JACOBIAN 

Definition at line 120 of file 1DfemInterface.H.


Constructor & Destructor Documentation

Interface::Interface int  NumGlobalElements,
Epetra_Comm Comm,
double  xmin = 0.0,
double  xmax = 1.0
 

Definition at line 46 of file 1DfemInterface.C.

Interface::~Interface  )  [virtual]
 

Definition at line 132 of file 1DfemInterface.C.


Member Function Documentation

virtual bool Interface::computeF const Epetra_Vector x,
Epetra_Vector FVec,
FillType  fillType = Residual
[virtual]
 

Implements NOX::Epetra::Interface::Required.

bool Interface::computeJacobian const Epetra_Vector x,
Epetra_Operator Jac
[virtual]
 

Implements NOX::Epetra::Interface::Jacobian.

Definition at line 150 of file 1DfemInterface.C.

bool Interface::computePrecMatrix const Epetra_Vector x  )  [virtual]
 

Definition at line 156 of file 1DfemInterface.C.

bool Interface::computePreconditioner const Epetra_Vector x,
Epetra_Operator Prec,
Teuchos::ParameterList precParams = 0
[virtual]
 

Implements NOX::Epetra::Interface::Preconditioner.

Definition at line 160 of file 1DfemInterface.C.

Epetra_Vector & Interface::getSolution  ) 
 

Definition at line 297 of file 1DfemInterface.C.

Epetra_Vector & Interface::getMesh  ) 
 

Definition at line 312 of file 1DfemInterface.C.

Epetra_CrsMatrix & Interface::getJacobian  ) 
 

Definition at line 317 of file 1DfemInterface.C.

bool Interface::setPDEfactor double  value  )  [inline]
 

Definition at line 97 of file 1DfemInterface.H.

Epetra_Map & Interface::getMap  ) 
 

Definition at line 302 of file 1DfemInterface.C.

Epetra_CrsGraph & Interface::getGraph  ) 
 

Definition at line 307 of file 1DfemInterface.C.

virtual bool Interface::evaluate FillType  f,
const Epetra_Vector solnVector,
Epetra_Vector rhsVector,
Epetra_RowMatrix matrix
[protected, virtual]
 

bool Interface::createGraph  )  [protected, virtual]
 

Definition at line 322 of file 1DfemInterface.C.

bool Interface::initializeSoln  )  [protected, virtual]
 

Reimplemented in TransientInterface.

Definition at line 362 of file 1DfemInterface.C.


Member Data Documentation

int Interface::NumGlobalElements [protected]
 

Definition at line 122 of file 1DfemInterface.H.

int Interface::NumMyElements [protected]
 

Definition at line 123 of file 1DfemInterface.H.

int Interface::MyPID [protected]
 

Definition at line 124 of file 1DfemInterface.H.

int Interface::NumProc [protected]
 

Definition at line 125 of file 1DfemInterface.H.

double Interface::xmin [protected]
 

Definition at line 127 of file 1DfemInterface.H.

double Interface::xmax [protected]
 

Definition at line 128 of file 1DfemInterface.H.

double Interface::factor [protected]
 

Definition at line 129 of file 1DfemInterface.H.

Epetra_Comm* Interface::Comm [protected]
 

Definition at line 131 of file 1DfemInterface.H.

Epetra_Map* Interface::StandardMap [protected]
 

Definition at line 132 of file 1DfemInterface.H.

Epetra_Map* Interface::OverlapMap [protected]
 

Definition at line 133 of file 1DfemInterface.H.

Epetra_Import* Interface::Importer [protected]
 

Definition at line 134 of file 1DfemInterface.H.

Epetra_Vector* Interface::initialSolution [protected]
 

Definition at line 135 of file 1DfemInterface.H.

Epetra_Vector* Interface::rhs [protected]
 

Definition at line 136 of file 1DfemInterface.H.

Epetra_CrsGraph* Interface::Graph [protected]
 

Definition at line 137 of file 1DfemInterface.H.

Epetra_CrsMatrix* Interface::jacobian [protected]
 

Definition at line 138 of file 1DfemInterface.H.

Epetra_Vector* Interface::xptr [protected]
 

Definition at line 139 of file 1DfemInterface.H.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:30:05 2008 for Rythmos - Transient Integration for Differential Equations by doxygen 1.3.9.1