#include <GLpApp_GLpYUEpetraDataPool.hpp>
Inheritance diagram for GLpApp::GLpYUEpetraDataPool:

Public Member Functions | |
| GLpYUEpetraDataPool (Teuchos::RefCountPtr< const Epetra_Comm > const &commptr, const double beta, const double len_x, const double len_y, const int local_nx, const int local_ny, const char myfile[], const bool trace) | |
| void | computeAll (const GenSQP::Vector &x) |
| Calls functions to compute nonlinear quantities and the augmented system matrix. | |
| int | solveAugsys (const Teuchos::RefCountPtr< const Epetra_MultiVector > &rhsy, const Teuchos::RefCountPtr< const Epetra_MultiVector > &rhsu, const Teuchos::RefCountPtr< const Epetra_MultiVector > &rhsp, const Teuchos::RefCountPtr< Epetra_MultiVector > &y, const Teuchos::RefCountPtr< Epetra_MultiVector > &u, const Teuchos::RefCountPtr< Epetra_MultiVector > &p, double tol) |
| Solves augmented system. | |
| Teuchos::RefCountPtr< const Epetra_Comm > | getCommPtr () |
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > | getA () |
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > | getB () |
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > | getH () |
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > | getR () |
| Teuchos::RefCountPtr< Epetra_CrsMatrix > | getAugmat () |
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > | getNpy () |
| Teuchos::RefCountPtr< Epetra_FEVector > | getb () |
| Teuchos::RefCountPtr< Epetra_FEVector > | getq () |
| Teuchos::RefCountPtr< Epetra_FEVector > | getNy () |
| void | computeNy (const Teuchos::RefCountPtr< const Epetra_MultiVector > &y) |
| Calls the function that computes the nonlinear term. | |
| void | computeNpy (const Teuchos::RefCountPtr< const Epetra_MultiVector > &y) |
| Calls the function that computes the Jacobian of the nonlinear term. | |
| void | computeAugmat () |
| Assembles the augmented system (KKT-type) matrix. | |
| Teuchos::RefCountPtr< const Epetra_SerialDenseMatrix > | getipcoords () |
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseVector > | getipindx () |
| Teuchos::RefCountPtr< const Epetra_SerialDenseMatrix > | getpcoords () |
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseVector > | getpindx () |
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseMatrix > | gett () |
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseMatrix > | gete () |
| double | getbeta () |
| void | PrintVec (const Teuchos::RefCountPtr< const Epetra_Vector > &x) |
| Outputs the solution vector to files. | |
Definition at line 34 of file GLpApp_GLpYUEpetraDataPool.hpp.
| GLpApp::GLpYUEpetraDataPool::GLpYUEpetraDataPool | ( | Teuchos::RefCountPtr< const Epetra_Comm > const & | commptr, | |
| const double | beta, | |||
| const double | len_x, | |||
| const double | len_y, | |||
| const int | local_nx, | |||
| const int | local_ny, | |||
| const char | myfile[], | |||
| const bool | trace | |||
| ) |
Definition at line 182 of file GLpApp_GLpYUEpetraDataPool.cpp.
| void GLpApp::GLpYUEpetraDataPool::computeAll | ( | const GenSQP::Vector & | x | ) | [virtual] |
Calls functions to compute nonlinear quantities and the augmented system matrix.
These computations are performed after every update of the SQP iterate.
Implements GenSQP::DataPool.
Definition at line 234 of file GLpApp_GLpYUEpetraDataPool.cpp.
| int GLpApp::GLpYUEpetraDataPool::solveAugsys | ( | const Teuchos::RefCountPtr< const Epetra_MultiVector > & | rhsy, | |
| const Teuchos::RefCountPtr< const Epetra_MultiVector > & | rhsu, | |||
| const Teuchos::RefCountPtr< const Epetra_MultiVector > & | rhsp, | |||
| const Teuchos::RefCountPtr< Epetra_MultiVector > & | y, | |||
| const Teuchos::RefCountPtr< Epetra_MultiVector > & | u, | |||
| const Teuchos::RefCountPtr< Epetra_MultiVector > & | p, | |||
| double | tol | |||
| ) |
| Teuchos::RefCountPtr< const Epetra_Comm > GLpApp::GLpYUEpetraDataPool::getCommPtr | ( | ) |
Definition at line 452 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > GLpApp::GLpYUEpetraDataPool::getA | ( | ) |
Definition at line 454 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > GLpApp::GLpYUEpetraDataPool::getB | ( | ) |
Definition at line 456 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > GLpApp::GLpYUEpetraDataPool::getH | ( | ) |
Definition at line 458 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > GLpApp::GLpYUEpetraDataPool::getR | ( | ) |
Definition at line 460 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_CrsMatrix > GLpApp::GLpYUEpetraDataPool::getAugmat | ( | ) |
Definition at line 462 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FECrsMatrix > GLpApp::GLpYUEpetraDataPool::getNpy | ( | ) |
Definition at line 464 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FEVector > GLpApp::GLpYUEpetraDataPool::getb | ( | ) |
Definition at line 466 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FEVector > GLpApp::GLpYUEpetraDataPool::getq | ( | ) |
Definition at line 468 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< Epetra_FEVector > GLpApp::GLpYUEpetraDataPool::getNy | ( | ) |
Definition at line 470 of file GLpApp_GLpYUEpetraDataPool.cpp.
| void GLpApp::GLpYUEpetraDataPool::computeNy | ( | const Teuchos::RefCountPtr< const Epetra_MultiVector > & | y | ) |
Calls the function that computes the nonlinear term.
Definition at line 487 of file GLpApp_GLpYUEpetraDataPool.cpp.
| void GLpApp::GLpYUEpetraDataPool::computeNpy | ( | const Teuchos::RefCountPtr< const Epetra_MultiVector > & | y | ) |
Calls the function that computes the Jacobian of the nonlinear term.
Definition at line 498 of file GLpApp_GLpYUEpetraDataPool.cpp.
| void GLpApp::GLpYUEpetraDataPool::computeAugmat | ( | ) |
Assembles the augmented system (KKT-type) matrix.
Definition at line 509 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< const Epetra_SerialDenseMatrix > GLpApp::GLpYUEpetraDataPool::getipcoords | ( | ) |
Definition at line 474 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseVector > GLpApp::GLpYUEpetraDataPool::getipindx | ( | ) |
Definition at line 476 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< const Epetra_SerialDenseMatrix > GLpApp::GLpYUEpetraDataPool::getpcoords | ( | ) |
Definition at line 478 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseVector > GLpApp::GLpYUEpetraDataPool::getpindx | ( | ) |
Definition at line 480 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseMatrix > GLpApp::GLpYUEpetraDataPool::gett | ( | ) |
Definition at line 482 of file GLpApp_GLpYUEpetraDataPool.cpp.
| Teuchos::RefCountPtr< const Epetra_IntSerialDenseMatrix > GLpApp::GLpYUEpetraDataPool::gete | ( | ) |
Definition at line 484 of file GLpApp_GLpYUEpetraDataPool.cpp.
| double GLpApp::GLpYUEpetraDataPool::getbeta | ( | ) |
Definition at line 472 of file GLpApp_GLpYUEpetraDataPool.cpp.
| void GLpApp::GLpYUEpetraDataPool::PrintVec | ( | const Teuchos::RefCountPtr< const Epetra_Vector > & | x | ) |
Outputs the solution vector to files.
Definition at line 640 of file GLpApp_GLpYUEpetraDataPool.cpp.
1.4.7