ObjectiveDaeDynamic Class Reference
ObjectiveDae derivate to encode the DAE set for the dynamic resolution of a flowsheet. More...
#include <ObjectiveDaeDynamic.h>
Inheritance diagram for ObjectiveDaeDynamic:

Public Member Functions | |
| bool | operator() (double time, const std::vector< double > &x, const std::vector< double > &xdot, std::vector< double > &y) |
| bool | jacColumn (int j, double time, const std::vector< double > &x, const std::vector< double > &xdot, std::vector< double > &y, double cj, double *JC) |
| ObjectiveDaeDynamic (FlowSheet *flop) | |
| void | init (std::vector< double > &x, std::vector< double > &xdot) |
| initialize the unknown vectors with the current solution, assumed at unsteady state More... | |
| bool | jacColumnFADOO (int j, double time, const std::vector< double > &x, const std::vector< double > &xdot, std::vector< double > &y, double cj, double *JC) |
| #227 try approximating jac for FlashDrumBase1_dyn with FADOO More... | |
| bool | jacColumnPD (int j, double time, const std::vector< double > &x, const std::vector< double > &xdot, std::vector< double > &y, double cj, double *JC) |
| #227 eo resolution of p-driven stuff, very slow More... | |
Public Member Functions inherited from ObjectiveDae | |
| ObjectiveDae (void) | |
| virtual bool | operator() (double time, const std::vector< double > &x, const std::vector< double > &xdot, std::vector< double > &y)=0 |
| virtual bool | jacColumn (int j, double time, const std::vector< double > &x, const std::vector< double > &xdot, std::vector< double > &y, double cj, double *JC)=0 |
| bool | usejac (void) const |
Additional Inherited Members | |
Public Attributes inherited from ObjectiveDae | |
| int | verbosityLocal |
Protected Attributes inherited from ObjectiveDae | |
| bool | usejac_ |
Detailed Description
ObjectiveDae derivate to encode the DAE set for the dynamic resolution of a flowsheet.
#include <libpf/core/ObjectiveDaeDynamic.h>
- Remarks
- Warning
- Thread safe:
- Extendable:
- Platform dependencies:
Constructor & Destructor Documentation
◆ ObjectiveDaeDynamic()
|
explicit |
Member Function Documentation
◆ init()
| void ObjectiveDaeDynamic::init | ( | std::vector< double > & | x, |
| std::vector< double > & | xdot | ||
| ) |
initialize the unknown vectors with the current solution, assumed at unsteady state
◆ jacColumn()
|
virtual |
Jacobian column returns the j-th column of the Jacobian into the colum vector JC
Implements ObjectiveDae.
◆ jacColumnFADOO()
| bool ObjectiveDaeDynamic::jacColumnFADOO | ( | int | j, |
| double | time, | ||
| const std::vector< double > & | x, | ||
| const std::vector< double > & | xdot, | ||
| std::vector< double > & | y, | ||
| double | cj, | ||
| double * | JC | ||
| ) |
#227 try approximating jac for FlashDrumBase1_dyn with FADOO
◆ jacColumnPD()
| bool ObjectiveDaeDynamic::jacColumnPD | ( | int | j, |
| double | time, | ||
| const std::vector< double > & | x, | ||
| const std::vector< double > & | xdot, | ||
| std::vector< double > & | y, | ||
| double | cj, | ||
| double * | JC | ||
| ) |
#227 eo resolution of p-driven stuff, very slow
◆ operator()()
|
virtual |
residual function returns the Boolean value true if the function residual encountered an error in the input values or false otherwise
- Parameters
-
time where we are in the integration x vector of algebraic and differential unknowns xdot vector of derivatives of differential unknowns y y = f(xdot,x,t) is the residual to be brought to 0
Implements ObjectiveDae.
The documentation for this class was generated from the following file:
Public Member Functions inherited from