EpetraExt  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
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

std::ostream & operator<< (std::ostream &, const Usr_Par &)
 
bool CrsMatrix2MATLAB (const Epetra_CrsMatrix &, std::ostream &)
 
bool Vector2MATLAB (const Epetra_Vector &, std::ostream &)
 
bool FEVector2MATLAB (const Epetra_FEVector &, std::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::RCP< Epetra_FECrsMatrix > &, Teuchos::RCP< 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::RCP< Epetra_FECrsMatrix > &, Teuchos::RCP< 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::RCP< Epetra_FECrsMatrix > &, Teuchos::RCP< Epetra_FECrsMatrix > &, Teuchos::RCP< 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::RCP< Epetra_FECrsMatrix > *B, Teuchos::RCP< 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::RCP< const Epetra_MultiVector > &, Teuchos::RCP< Epetra_FEVector > &)
 
int nonlinjac (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Teuchos::RCP< const Epetra_MultiVector > &, Teuchos::RCP< Epetra_FECrsMatrix > &)
 
int nonlinhessvec (const Epetra_Comm &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseVector &, const Epetra_SerialDenseMatrix &, const Epetra_IntSerialDenseMatrix &, const Teuchos::RCP< const Epetra_MultiVector > &, const Teuchos::RCP< const Epetra_MultiVector > &, const Teuchos::RCP< const Epetra_MultiVector > &, Teuchos::RCP< 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. More...
 

Variables

const double GLp_pi = 3.14159265358979323846
 

Function Documentation

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

Definition at line 816 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 2127 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 2229 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 2297 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 2358 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 1553 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 1414 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::RCP< Epetra_FECrsMatrix > &  ,
Teuchos::RCP< 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::RCP< Epetra_FECrsMatrix > &  ,
Teuchos::RCP< Epetra_FEVector > &  ,
bool   
)
int GLpApp::assemble ( 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::RCP< Epetra_FECrsMatrix > &  A,
Teuchos::RCP< Epetra_FECrsMatrix > &  M,
Teuchos::RCP< Epetra_FEVector > &  b 
)

Definition at line 1109 of file GLpApp_GLpYUEpetraDataPool.cpp.

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::RCP< Epetra_FECrsMatrix > *  B,
Teuchos::RCP< Epetra_FECrsMatrix > *  R 
)

Definition at line 890 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::RCP< const Epetra_MultiVector > &  y,
Teuchos::RCP< Epetra_FEVector > &  g 
)

Definition at line 1990 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::RCP< const Epetra_MultiVector > &  y,
Teuchos::RCP< Epetra_FECrsMatrix > &  Gp 
)

Definition at line 1840 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::RCP< const Epetra_MultiVector > &  y,
const Teuchos::RCP< const Epetra_MultiVector > &  s,
const Teuchos::RCP< const Epetra_MultiVector > &  lambda,
Teuchos::RCP< Epetra_FEVector > &  hessvec 
)

Definition at line 1676 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 828 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 837 of file GLpApp_GLpYUEpetraDataPool.cpp.

double GLpApp::determinant ( const Epetra_SerialDenseMatrix mat)

Definition at line 1524 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 1500 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 1952 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 1802 of file GLpApp_GLpYUEpetraDataPool.cpp.

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

Definition at line 2100 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 52 of file rect2DMeshGenerator.cpp.

Variable Documentation

const double GLpApp::GLp_pi = 3.14159265358979323846

Definition at line 95 of file GLpApp_GLpYUEpetraDataPool.cpp.