FEApp::Application Class Reference

#include <FEApp_Application.hpp>

List of all members.

Public Member Functions

 Application (const std::vector< double > &coords, const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > &params, bool is_transient)
 Constructor.
 ~Application ()
 Destructor.
Teuchos::RCP< const Epetra_MapgetMap () const
 Get DOF map.
Teuchos::RCP< const Epetra_CrsGraphgetJacobianGraph () const
 Get Jacobian graph.
Teuchos::RCP< const Epetra_VectorgetInitialSolution () const
 Get initial solution.
Teuchos::RCP< Sacado::ScalarParameterLibrarygetParamLib ()
 Get parameter library.
bool isTransient () const
 Return whether problem is transient.
Teuchos::RCP< Epetra_OperatorcreateW () const
 Create new W operator.
Teuchos::RCP< Epetra_OperatorcreatePrec () const
 Create new preconditioner operator.
void computeGlobalResidual (const Epetra_Vector *xdot, const Epetra_Vector &x, const Sacado::ScalarParameterVector *p, Epetra_Vector &f)
 Compute global residual.
void computeGlobalJacobian (double alpha, double beta, const Epetra_Vector *xdot, const Epetra_Vector &x, const Sacado::ScalarParameterVector *p, Epetra_Vector *f, Epetra_Operator &jac)
 Compute global Jacobian.
void computeGlobalPreconditioner (double alpha, double beta, const Epetra_Vector *xdot, const Epetra_Vector &x, const Sacado::ScalarParameterVector *p, Epetra_Vector *f, Epetra_Operator &jac)
 Compute global Preconditioner.
void computeGlobalTangent (double alpha, double beta, bool sum_derivs, const Epetra_Vector *xdot, const Epetra_Vector &x, Sacado::ScalarParameterVector *p, const Epetra_MultiVector *Vx, const Teuchos::SerialDenseMatrix< int, double > *Vp, Epetra_Vector *f, Epetra_MultiVector *JVx, Epetra_MultiVector *fVp)
 Compute global Tangent.
void computeGlobalSGResidual (const Epetra_Vector *sg_xdot, const Epetra_Vector &sg_x, const Sacado::ScalarParameterVector *p, Epetra_Vector &sg_f)
 Compute global residual for stochastic Galerkin problem.
void computeGlobalSGJacobian (double alpha, double beta, const Epetra_Vector *sg_xdot, const Epetra_Vector &sg_x, const Sacado::ScalarParameterVector *p, Epetra_Vector *sg_f, Epetra_Operator &sg_jac)
 Compute global Jacobian for stochastic Galerkin problem.
void computeGlobalSGPreconditioner (double alpha, double beta, const Epetra_Vector *sg_xdot, const Epetra_Vector &sg_x, const Sacado::ScalarParameterVector *p, Epetra_Vector *sg_f, Epetra_Operator &sg_jac)
 Compute global Preconditioner for stochastic Galerkin problem.

Protected Attributes

bool transient
 Is problem transient.
Teuchos::RCP< FEApp::AbstractDiscretizationdisc
 Element discretization.
std::vector< Teuchos::RCP<
FEApp::NodeBC > > 
bc
 Boundary conditions.
Teuchos::RCP< const FEApp::AbstractQuadraturequad
 Quadrature rule.
FEApp::AbstractPDE_TemplateManager<
ValidTypes
pdeTM
 PDE equations.
Teuchos::RCP< Epetra_Vectorinitial_x
 Initial solution vector.
Teuchos::RCP< Epetra_Importimporter
 Importer for overlapped data.
Teuchos::RCP< Epetra_Exportexporter
 Exporter for overlapped data.
Teuchos::RCP< Epetra_Vectoroverlapped_x
 Overlapped solution vector.
Teuchos::RCP< Epetra_Vectoroverlapped_xdot
 Overlapped time derivative vector.
Teuchos::RCP< Epetra_Vectoroverlapped_f
 Overlapped residual vector.
Teuchos::RCP< Epetra_CrsMatrixoverlapped_jac
 Overlapped Jacobian matrix.
Teuchos::RCP< Sacado::ScalarParameterLibraryparamLib
 Parameter library.
bool enable_sg
 Enable stochastic Galerkin discretization.

Private Member Functions

 Application (const Application &)
 Private to prohibit copying.
Applicationoperator= (const Application &)
 Private to prohibit copying.


Detailed Description

Definition at line 69 of file FEApp_Application.hpp.


Constructor & Destructor Documentation

FEApp::Application::Application ( const std::vector< double > &  coords,
const Teuchos::RCP< const Epetra_Comm > &  comm,
const Teuchos::RCP< Teuchos::ParameterList > &  params,
bool  is_transient 
)

Constructor.

Definition at line 40 of file FEApp_Application.cpp.

FEApp::Application::~Application (  ) 

Destructor.

Definition at line 138 of file FEApp_Application.cpp.

FEApp::Application::Application ( const Application  )  [private]

Private to prohibit copying.


Member Function Documentation

Teuchos::RCP< const Epetra_Map > FEApp::Application::getMap (  )  const

Get DOF map.

Definition at line 143 of file FEApp_Application.cpp.

Teuchos::RCP< const Epetra_CrsGraph > FEApp::Application::getJacobianGraph (  )  const

Get Jacobian graph.

Definition at line 154 of file FEApp_Application.cpp.

Teuchos::RCP< const Epetra_Vector > FEApp::Application::getInitialSolution (  )  const

Get initial solution.

Definition at line 165 of file FEApp_Application.cpp.

Teuchos::RCP< Sacado::ScalarParameterLibrary > FEApp::Application::getParamLib (  ) 

Get parameter library.

Definition at line 176 of file FEApp_Application.cpp.

bool FEApp::Application::isTransient (  )  const

Return whether problem is transient.

Definition at line 182 of file FEApp_Application.cpp.

Teuchos::RCP< Epetra_Operator > FEApp::Application::createW (  )  const

Create new W operator.

Definition at line 188 of file FEApp_Application.cpp.

Teuchos::RCP< Epetra_Operator > FEApp::Application::createPrec (  )  const

Create new preconditioner operator.

Definition at line 219 of file FEApp_Application.cpp.

void FEApp::Application::computeGlobalResidual ( const Epetra_Vector xdot,
const Epetra_Vector x,
const Sacado::ScalarParameterVector p,
Epetra_Vector f 
)

Compute global residual.

Set xdot to NULL for steady-state problems

Definition at line 248 of file FEApp_Application.cpp.

void FEApp::Application::computeGlobalJacobian ( double  alpha,
double  beta,
const Epetra_Vector xdot,
const Epetra_Vector x,
const Sacado::ScalarParameterVector p,
Epetra_Vector f,
Epetra_Operator jac 
)

Compute global Jacobian.

Set xdot to NULL for steady-state problems

Definition at line 296 of file FEApp_Application.cpp.

void FEApp::Application::computeGlobalPreconditioner ( double  alpha,
double  beta,
const Epetra_Vector xdot,
const Epetra_Vector x,
const Sacado::ScalarParameterVector p,
Epetra_Vector f,
Epetra_Operator jac 
)

Compute global Preconditioner.

Set xdot to NULL for steady-state problems

Definition at line 365 of file FEApp_Application.cpp.

void FEApp::Application::computeGlobalTangent ( double  alpha,
double  beta,
bool  sum_derivs,
const Epetra_Vector xdot,
const Epetra_Vector x,
Sacado::ScalarParameterVector p,
const Epetra_MultiVector Vx,
const Teuchos::SerialDenseMatrix< int, double > *  Vp,
Epetra_Vector f,
Epetra_MultiVector JVx,
Epetra_MultiVector fVp 
)

Compute global Tangent.

Set xdot to NULL for steady-state problems

Definition at line 434 of file FEApp_Application.cpp.

void FEApp::Application::computeGlobalSGResidual ( const Epetra_Vector sg_xdot,
const Epetra_Vector sg_x,
const Sacado::ScalarParameterVector p,
Epetra_Vector sg_f 
)

Compute global residual for stochastic Galerkin problem.

Set xdot to NULL for steady-state problems

Definition at line 526 of file FEApp_Application.cpp.

void FEApp::Application::computeGlobalSGJacobian ( double  alpha,
double  beta,
const Epetra_Vector sg_xdot,
const Epetra_Vector sg_x,
const Sacado::ScalarParameterVector p,
Epetra_Vector sg_f,
Epetra_Operator sg_jac 
)

Compute global Jacobian for stochastic Galerkin problem.

Set xdot to NULL for steady-state problems

Definition at line 577 of file FEApp_Application.cpp.

void FEApp::Application::computeGlobalSGPreconditioner ( double  alpha,
double  beta,
const Epetra_Vector sg_xdot,
const Epetra_Vector sg_x,
const Sacado::ScalarParameterVector p,
Epetra_Vector sg_f,
Epetra_Operator sg_jac 
)

Compute global Preconditioner for stochastic Galerkin problem.

Set xdot to NULL for steady-state problems

Definition at line 701 of file FEApp_Application.cpp.

Application& FEApp::Application::operator= ( const Application  )  [private]

Private to prohibit copying.


Member Data Documentation

bool FEApp::Application::transient [protected]

Is problem transient.

Definition at line 190 of file FEApp_Application.hpp.

Teuchos::RCP<FEApp::AbstractDiscretization> FEApp::Application::disc [protected]

Element discretization.

Definition at line 193 of file FEApp_Application.hpp.

std::vector< Teuchos::RCP<FEApp::NodeBC> > FEApp::Application::bc [protected]

Boundary conditions.

Definition at line 196 of file FEApp_Application.hpp.

Teuchos::RCP<const FEApp::AbstractQuadrature> FEApp::Application::quad [protected]

Quadrature rule.

Definition at line 199 of file FEApp_Application.hpp.

FEApp::AbstractPDE_TemplateManager<ValidTypes> FEApp::Application::pdeTM [protected]

PDE equations.

Definition at line 202 of file FEApp_Application.hpp.

Teuchos::RCP<Epetra_Vector> FEApp::Application::initial_x [protected]

Initial solution vector.

Definition at line 205 of file FEApp_Application.hpp.

Teuchos::RCP<Epetra_Import> FEApp::Application::importer [protected]

Importer for overlapped data.

Definition at line 208 of file FEApp_Application.hpp.

Teuchos::RCP<Epetra_Export> FEApp::Application::exporter [protected]

Exporter for overlapped data.

Definition at line 211 of file FEApp_Application.hpp.

Teuchos::RCP<Epetra_Vector> FEApp::Application::overlapped_x [protected]

Overlapped solution vector.

Definition at line 214 of file FEApp_Application.hpp.

Teuchos::RCP<Epetra_Vector> FEApp::Application::overlapped_xdot [protected]

Overlapped time derivative vector.

Definition at line 217 of file FEApp_Application.hpp.

Teuchos::RCP<Epetra_Vector> FEApp::Application::overlapped_f [protected]

Overlapped residual vector.

Definition at line 220 of file FEApp_Application.hpp.

Teuchos::RCP<Epetra_CrsMatrix> FEApp::Application::overlapped_jac [protected]

Overlapped Jacobian matrix.

Definition at line 223 of file FEApp_Application.hpp.

Teuchos::RCP<Sacado::ScalarParameterLibrary> FEApp::Application::paramLib [protected]

Parameter library.

Definition at line 226 of file FEApp_Application.hpp.

bool FEApp::Application::enable_sg [protected]

Enable stochastic Galerkin discretization.

Definition at line 229 of file FEApp_Application.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:59:11 2010 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.4.7