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.
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_CrsMatrix &jac)
 Compute global Jacobian.
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.

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.

Private Member Functions

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


Detailed Description

Definition at line 57 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 39 of file FEApp_Application.cpp.

FEApp::Application::~Application (  ) 

Destructor.

Definition at line 99 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 104 of file FEApp_Application.cpp.

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

Get Jacobian graph.

Definition at line 110 of file FEApp_Application.cpp.

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

Get initial solution.

Definition at line 116 of file FEApp_Application.cpp.

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

Get parameter library.

Definition at line 122 of file FEApp_Application.cpp.

bool FEApp::Application::isTransient (  )  const

Return whether problem is transient.

Definition at line 128 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 134 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_CrsMatrix jac 
)

Compute global Jacobian.

Set xdot to NULL for steady-state problems

Definition at line 177 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 238 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 130 of file FEApp_Application.hpp.

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

Element discretization.

Definition at line 133 of file FEApp_Application.hpp.

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

Boundary conditions.

Definition at line 136 of file FEApp_Application.hpp.

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

Quadrature rule.

Definition at line 139 of file FEApp_Application.hpp.

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

PDE equations.

Definition at line 142 of file FEApp_Application.hpp.

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

Initial solution vector.

Definition at line 145 of file FEApp_Application.hpp.

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

Importer for overlapped data.

Definition at line 148 of file FEApp_Application.hpp.

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

Exporter for overlapped data.

Definition at line 151 of file FEApp_Application.hpp.

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

Overlapped solution vector.

Definition at line 154 of file FEApp_Application.hpp.

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

Overlapped time derivative vector.

Definition at line 157 of file FEApp_Application.hpp.

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

Overlapped residual vector.

Definition at line 160 of file FEApp_Application.hpp.

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

Overlapped Jacobian matrix.

Definition at line 163 of file FEApp_Application.hpp.

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

Parameter library.

Definition at line 166 of file FEApp_Application.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:55:12 2009 for Sacado Package Browser (Single Doxygen Collection) by doxygen 1.4.7