GLpApp Namespace Reference

Classes

class  AdvDiffReactOptModel
 PDE-constrained inverse problem based on a 2D discretization of a diffusion/reaction system. More...
class  AdvDiffReactOptModelCreator
 A utility class for creating an AdvDiffReactOptModelCreator/tt> object by reading from the command-line. More...
class  GLpYUEpetraDataPool
class  Usr_Par

Functions

ostream & operator<< (ostream &, const Usr_Par &)
bool CrsMatrix2MATLAB (const Epetra_CrsMatrix &, ostream &)
bool Vector2MATLAB (const Epetra_Vector &, ostream &)
bool FEVector2MATLAB (const Epetra_FEVector &, ostream &)
int quadrature (const int, const int, Epetra_SerialDenseMatrix &, Epetra_SerialDenseVector &)
int meshreader (const Epetra_Comm &, Epetra_IntSerialDenseVector &, Epetra_SerialDenseMatrix &, Epetra_IntSerialDenseVector &, Epetra_SerialDenseMatrix &, Epetra_IntSerialDenseMatrix &, Epetra_IntSerialDenseMatrix &, const char geomFileBase[], const bool trace=true, const bool dumpAll=false)
int lassembly (const Epetra_SerialDenseMatrix &, const Epetra_SerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_SerialDenseVector &, const Epetra_SerialDenseVector &, const Usr_Par &, Epetra_SerialDenseMatrix &, Epetra_SerialDenseVector &)
int assemblyFECrs (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, Teuchos::RefCountPtr< Epetra_FECrsMatrix > &, Teuchos::RefCountPtr< Epetra_FEVector > &)
int assemblyFECrs (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, Teuchos::RefCountPtr< Epetra_FECrsMatrix > &, Teuchos::RefCountPtr< Epetra_FEVector > &, bool)
int assemble (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, Teuchos::RefCountPtr< Epetra_FECrsMatrix > &, Teuchos::RefCountPtr< Epetra_FECrsMatrix > &, Teuchos::RefCountPtr< Epetra_FEVector > &)
int assemble_bdry (const Epetra_Comm &Comm, const Epetra_IntSerialDenseVector &ipindx, const Epetra_SerialDenseMatrix &ipcoords, const Epetra_IntSerialDenseVector &pindx, const Epetra_SerialDenseMatrix &pcoords, const Epetra_IntSerialDenseMatrix &t, const Epetra_IntSerialDenseMatrix &e, Teuchos::RefCountPtr< Epetra_FECrsMatrix > *B, Teuchos::RefCountPtr< Epetra_FECrsMatrix > *R)
int nonlinvec (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Teuchos::RefCountPtr< const Epetra_MultiVector > &, Teuchos::RefCountPtr< Epetra_FEVector > &)
int nonlinjac (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Teuchos::RefCountPtr< const Epetra_MultiVector > &, Teuchos::RefCountPtr< Epetra_FECrsMatrix > &)
int nonlinhessvec (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Teuchos::RefCountPtr< const Epetra_MultiVector > &, const Teuchos::RefCountPtr< const Epetra_MultiVector > &, const Teuchos::RefCountPtr< const Epetra_MultiVector > &, Teuchos::RefCountPtr< Epetra_FEVector > &)
int compproduct (Epetra_SerialDenseVector &, double *, double *)
int compproduct (Epetra_SerialDenseVector &, double *, double *, double *)
double determinant (const Epetra_SerialDenseMatrix &)
int inverse (const Epetra_SerialDenseMatrix &, Epetra_SerialDenseMatrix &)
void gpfctn (const Epetra_SerialDenseVector &v, Epetra_SerialDenseVector &gv)
void g2pfctn (const Epetra_SerialDenseVector &, Epetra_SerialDenseVector &)
void gfctn (const Epetra_SerialDenseVector &, Epetra_SerialDenseVector &)
void rect2DMeshGenerator (const int numProc, const int procRank, const double len_x, const double len_y, const int local_nx, const int local_ny, const int bndy_marker, Epetra_IntSerialDenseVector *ipindx_out, Epetra_SerialDenseMatrix *ipcoords_out, Epetra_IntSerialDenseVector *pindx_out, Epetra_SerialDenseMatrix *pcoords_out, Epetra_IntSerialDenseMatrix *t_out, Epetra_IntSerialDenseMatrix *e_out, std::ostream *out, const bool dumpAll)
 Generate a simple rectangular 2D triangular mesh that is only partitioned between processors in the y direction.

Variables

const double GLp_pi = 3.14159265358979323846

Function Documentation

ostream & GLpApp::operator<< ( ostream &  out,
const Usr_Par &  usr_par 
)

Definition at line 774 of file GLpApp_GLpYUEpetraDataPool.cpp.

bool GLpApp::CrsMatrix2MATLAB ( const Epetra_CrsMatrix A,
ostream &  outfile 
)

Definition at line 2085 of file GLpApp_GLpYUEpetraDataPool.cpp.

bool GLpApp::Vector2MATLAB ( const Epetra_Vector v,
ostream &  outfile 
)

Definition at line 2187 of file GLpApp_GLpYUEpetraDataPool.cpp.

bool GLpApp::FEVector2MATLAB ( const Epetra_FEVector v,
ostream &  outfile 
)

Definition at line 2255 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::quadrature ( const int  dim,
const int  order,
Epetra_SerialDenseMatrix nodes,
Epetra_SerialDenseVector weights 
)

Definition at line 2316 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::meshreader ( const Epetra_Comm Comm,
Epetra_IntSerialDenseVector ipindx,
Epetra_SerialDenseMatrix ipcoords,
Epetra_IntSerialDenseVector pindx,
Epetra_SerialDenseMatrix pcoords,
Epetra_IntSerialDenseMatrix t,
Epetra_IntSerialDenseMatrix e,
const char  geomFileBase[],
const bool  trace = true,
const bool  dumpAll = false 
)

Definition at line 1511 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::lassembly ( const Epetra_SerialDenseMatrix vertices,
const Epetra_SerialDenseVector k,
const Epetra_SerialDenseMatrix c,
const Epetra_SerialDenseVector r,
const Epetra_SerialDenseVector f,
const Usr_Par &  usr_par,
Epetra_SerialDenseMatrix At,
Epetra_SerialDenseVector bt 
)

Definition at line 1372 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::assemblyFECrs ( const Epetra_Comm ,
const Epetra_IntSerialDenseVector ,
const Epetra_SerialDenseMatrix ,
const Epetra_IntSerialDenseVector ,
const Epetra_SerialDenseMatrix ,
const Epetra_IntSerialDenseMatrix ,
const Epetra_IntSerialDenseMatrix ,
Teuchos::RefCountPtr< Epetra_FECrsMatrix > &  ,
Teuchos::RefCountPtr< Epetra_FEVector > &   
)
int GLpApp::assemblyFECrs ( const Epetra_Comm ,
const Epetra_IntSerialDenseVector ,
const Epetra_SerialDenseMatrix ,
const Epetra_IntSerialDenseVector ,
const Epetra_SerialDenseMatrix ,
const Epetra_IntSerialDenseMatrix ,
const Epetra_IntSerialDenseMatrix ,
Teuchos::RefCountPtr< Epetra_FECrsMatrix > &  ,
Teuchos::RefCountPtr< Epetra_FEVector > &  ,
bool   
)
int GLpApp::assemble ( const Epetra_Comm ,
const Epetra_IntSerialDenseVector ,
const Epetra_SerialDenseMatrix ,
const Epetra_IntSerialDenseVector ,
const Epetra_SerialDenseMatrix ,
const Epetra_IntSerialDenseMatrix ,
const Epetra_IntSerialDenseMatrix ,
Teuchos::RefCountPtr< Epetra_FECrsMatrix > &  ,
Teuchos::RefCountPtr< Epetra_FECrsMatrix > &  ,
Teuchos::RefCountPtr< Epetra_FEVector > &   
)
int GLpApp::assemble_bdry ( const Epetra_Comm Comm,
const Epetra_IntSerialDenseVector ipindx,
const Epetra_SerialDenseMatrix ipcoords,
const Epetra_IntSerialDenseVector pindx,
const Epetra_SerialDenseMatrix pcoords,
const Epetra_IntSerialDenseMatrix t,
const Epetra_IntSerialDenseMatrix e,
Teuchos::RefCountPtr< Epetra_FECrsMatrix > *  B,
Teuchos::RefCountPtr< Epetra_FECrsMatrix > *  R 
)

Definition at line 848 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::nonlinvec ( const Epetra_Comm Comm,
const Epetra_IntSerialDenseVector ipindx,
const Epetra_SerialDenseMatrix ipcoords,
const Epetra_IntSerialDenseVector pindx,
const Epetra_SerialDenseMatrix pcoords,
const Epetra_IntSerialDenseMatrix t,
const Teuchos::RefCountPtr< const Epetra_MultiVector > &  y,
Teuchos::RefCountPtr< Epetra_FEVector > &  g 
)

Definition at line 1948 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::nonlinjac ( const Epetra_Comm Comm,
const Epetra_IntSerialDenseVector ipindx,
const Epetra_SerialDenseMatrix ipcoords,
const Epetra_IntSerialDenseVector pindx,
const Epetra_SerialDenseMatrix pcoords,
const Epetra_IntSerialDenseMatrix t,
const Teuchos::RefCountPtr< const Epetra_MultiVector > &  y,
Teuchos::RefCountPtr< Epetra_FECrsMatrix > &  Gp 
)

Definition at line 1798 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::nonlinhessvec ( const Epetra_Comm Comm,
const Epetra_IntSerialDenseVector ipindx,
const Epetra_SerialDenseMatrix ipcoords,
const Epetra_IntSerialDenseVector pindx,
const Epetra_SerialDenseMatrix pcoords,
const Epetra_IntSerialDenseMatrix t,
const Teuchos::RefCountPtr< const Epetra_MultiVector > &  y,
const Teuchos::RefCountPtr< const Epetra_MultiVector > &  s,
const Teuchos::RefCountPtr< const Epetra_MultiVector > &  lambda,
Teuchos::RefCountPtr< Epetra_FEVector > &  hessvec 
)

Definition at line 1634 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::compproduct ( Epetra_SerialDenseVector product,
double *  first,
double *  second 
)

Definition at line 786 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::compproduct ( Epetra_SerialDenseVector product,
double *  first,
double *  second,
double *  third 
)

Definition at line 795 of file GLpApp_GLpYUEpetraDataPool.cpp.

double GLpApp::determinant ( const Epetra_SerialDenseMatrix mat  ) 

Definition at line 1482 of file GLpApp_GLpYUEpetraDataPool.cpp.

int GLpApp::inverse ( const Epetra_SerialDenseMatrix mat,
Epetra_SerialDenseMatrix inv 
)

Definition at line 1458 of file GLpApp_GLpYUEpetraDataPool.cpp.

void GLpApp::gpfctn ( const Epetra_SerialDenseVector v,
Epetra_SerialDenseVector gv 
)

Definition at line 1910 of file GLpApp_GLpYUEpetraDataPool.cpp.

void GLpApp::g2pfctn ( const Epetra_SerialDenseVector v,
Epetra_SerialDenseVector gv 
)

Definition at line 1760 of file GLpApp_GLpYUEpetraDataPool.cpp.

void GLpApp::gfctn ( const Epetra_SerialDenseVector v,
Epetra_SerialDenseVector gv 
)

Definition at line 2058 of file GLpApp_GLpYUEpetraDataPool.cpp.

void GLpApp::rect2DMeshGenerator ( const int  numProc,
const int  procRank,
const double  len_x,
const double  len_y,
const int  local_nx,
const int  local_ny,
const int  bndy_marker,
Epetra_IntSerialDenseVector ipindx_out,
Epetra_SerialDenseMatrix ipcoords_out,
Epetra_IntSerialDenseVector pindx_out,
Epetra_SerialDenseMatrix pcoords_out,
Epetra_IntSerialDenseMatrix t_out,
Epetra_IntSerialDenseMatrix e_out,
std::ostream *  out,
const bool  dumpAll 
)

Generate a simple rectangular 2D triangular mesh that is only partitioned between processors in the y direction.

ToDo: Finish documentation!

Definition at line 9 of file rect2DMeshGenerator.cpp.


Variable Documentation

const double GLpApp::GLp_pi = 3.14159265358979323846

Definition at line 52 of file GLpApp_GLpYUEpetraDataPool.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:56 2011 for EpetraExt by  doxygen 1.6.3