#include <FEApp_Application.hpp>
Public Member Functions | |
| Application (const std::vector< double > &coords, const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, bool is_transient) | |
| Constructor. | |
| ~Application () | |
| Destructor. | |
| Teuchos::RCP< const Epetra_Map > | getMap () const |
| Get DOF map. | |
| Teuchos::RCP< const Epetra_CrsGraph > | getJacobianGraph () const |
| Get Jacobian graph. | |
| Teuchos::RCP< const Epetra_Vector > | getInitialSolution () const |
| Get initial solution. | |
| Teuchos::RCP< Sacado::ScalarParameterLibrary > | getParamLib () |
| 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::AbstractDiscretization > | disc |
| Element discretization. | |
| std::vector< Teuchos::RCP< FEApp::NodeBC > > | bc |
| Boundary conditions. | |
| Teuchos::RCP< const FEApp::AbstractQuadrature > | quad |
| Quadrature rule. | |
| FEApp::AbstractPDE_TemplateManager< ValidTypes > | pdeTM |
| PDE equations. | |
| Teuchos::RCP< Epetra_Vector > | initial_x |
| Initial solution vector. | |
| Teuchos::RCP< Epetra_Import > | importer |
| Importer for overlapped data. | |
| Teuchos::RCP< Epetra_Export > | exporter |
| Exporter for overlapped data. | |
| Teuchos::RCP< Epetra_Vector > | overlapped_x |
| Overlapped solution vector. | |
| Teuchos::RCP< Epetra_Vector > | overlapped_xdot |
| Overlapped time derivative vector. | |
| Teuchos::RCP< Epetra_Vector > | overlapped_f |
| Overlapped residual vector. | |
| Teuchos::RCP< Epetra_CrsMatrix > | overlapped_jac |
| Overlapped Jacobian matrix. | |
| Teuchos::RCP< Sacado::ScalarParameterLibrary > | paramLib |
| Parameter library. | |
Private Member Functions | |
| Application (const Application &) | |
| Private to prohibit copying. | |
| Application & | operator= (const Application &) |
| Private to prohibit copying. | |
Definition at line 57 of file FEApp_Application.hpp.
| FEApp::Application::Application | ( | const std::vector< double > & | coords, | |
| const Teuchos::RCP< const Epetra_Comm > & | comm, | |||
| const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
| bool | is_transient | |||
| ) |
| FEApp::Application::~Application | ( | ) |
| FEApp::Application::Application | ( | const Application & | ) | [private] |
Private to prohibit copying.
| Teuchos::RCP< const Epetra_Map > FEApp::Application::getMap | ( | ) | const |
| Teuchos::RCP< const Epetra_CrsGraph > FEApp::Application::getJacobianGraph | ( | ) | const |
| Teuchos::RCP< const Epetra_Vector > FEApp::Application::getInitialSolution | ( | ) | const |
| Teuchos::RCP< Sacado::ScalarParameterLibrary > FEApp::Application::getParamLib | ( | ) |
| bool FEApp::Application::isTransient | ( | ) | const |
| 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.
bool FEApp::Application::transient [protected] |
std::vector< Teuchos::RCP<FEApp::NodeBC> > FEApp::Application::bc [protected] |
Teuchos::RCP<const FEApp::AbstractQuadrature> FEApp::Application::quad [protected] |
Teuchos::RCP<Epetra_Vector> FEApp::Application::initial_x [protected] |
Teuchos::RCP<Epetra_Import> FEApp::Application::importer [protected] |
Teuchos::RCP<Epetra_Export> FEApp::Application::exporter [protected] |
Teuchos::RCP<Epetra_Vector> FEApp::Application::overlapped_x [protected] |
Teuchos::RCP<Epetra_Vector> FEApp::Application::overlapped_xdot [protected] |
Teuchos::RCP<Epetra_Vector> FEApp::Application::overlapped_f [protected] |
1.4.7