|
CppNoddy
0.92
|
Define a residual function using the boundary conditions for the Blasius profile. More...
Public Member Functions | |
| FS_residual () | |
| ~FS_residual () | |
| void | residual_fn (const DenseVector< double > &z, DenseVector< double > &f) const |
| implement a residual function. More... | |
Public Member Functions inherited from CppNoddy::Residual< double > | |
| Residual (const unsigned &order) | |
| Constructor for a 'square' residual object that is, N residuals for N unknowns. More... | |
| Residual (const unsigned &order, const unsigned &nvars) | |
| Constructor for a 'non-square' residual object that is, there are less residual constraints than unknowns. More... | |
| virtual | ~Residual () |
| An empty destructor, virtual since we have virtual methods. More... | |
| void | update (const DenseVector< double > &state) |
| Update the Residual object for the current set of state variables. More... | |
| const DenseVector< double > & | residual () const |
| Return a handle to the residuals corresponding to the last update state. More... | |
| const DenseMatrix< double > & | jacobian () const |
| Retrun a handle to the Jacobian of the residual corresponding to the last update state. More... | |
| double & | delta () |
| const double & | delta () const |
| unsigned | get_order () const |
| Get the order of the residual vector. More... | |
| unsigned | get_number_of_vars () const |
| Get the number of variables that this residual condition is defined for. More... | |
| virtual void | residual_fn (const DenseVector< double > &state, DenseVector< double > &f) const |
| A blank virtual residual function method. More... | |
Public Attributes | |
| ODE_IVP< double > * | ode |
| FS_eqn * | eqn |
Additional Inherited Members | |
Protected Member Functions inherited from CppNoddy::Residual< double > | |
| virtual void | jacobian (const DenseVector< double > &state, DenseMatrix< double > &jac) const |
| Because the residual evaluation at the current state is assumed to have already been done by the 'update' method, this routine is protected. More... | |
Protected Attributes inherited from CppNoddy::Residual< double > | |
| DenseMatrix< double > | JAC_AT_LAST_STATE |
| Jacobian for the last state vector. More... | |
| DenseVector< double > | FN_AT_LAST_STATE |
| Residual for the last state vector. More... | |
| DenseVector< double > | LAST_STATE |
| The last state vector. More... | |
| double | DELTA |
| A default step for FD computation of the Jacobian. More... | |
| unsigned | ORDER_OF_SYSTEM |
| The order of the system of equations. More... | |
| unsigned | NUMBER_OF_VARS |
| The number of elements in the state vector. More... | |
Define a residual function using the boundary conditions for the Blasius profile.
Definition at line 46 of file ArcShootFalknerSkan.cpp.
|
inline |
Definition at line 52 of file ArcShootFalknerSkan.cpp.
|
inline |
|
inlinevirtual |
implement a residual function.
Reimplemented from CppNoddy::Residual< double >.
Definition at line 66 of file ArcShootFalknerSkan.cpp.
References f, ode, u, and CppNoddy::Example::z().
| FS_eqn* CppNoddy::Example::FS_residual::eqn |
Definition at line 50 of file ArcShootFalknerSkan.cpp.
Referenced by FS_residual(), main(), and ~FS_residual().
| ODE_IVP<double>* CppNoddy::Example::FS_residual::ode |
Definition at line 49 of file ArcShootFalknerSkan.cpp.
Referenced by FS_residual(), residual_fn(), and ~FS_residual().
1.9.5
© 2012
R.E. Hewitt