CppNoddy
0.92
|
Public Member Functions | |
Neutral_residual (const unsigned &initial_N) | |
~Neutral_residual () | |
void | residual_fn (const DenseVector< double > &z, DenseVector< double > &f) const |
A blank virtual residual function method. More... | |
![]() | |
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_BVP< D_complex > * | ode_local |
OS_bvp_equation * | bvp |
OS_bvp_left_BC * | BC_left |
OS_bvp_right_BC * | BC_right |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
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... | |
Definition at line 155 of file EVPOrrSommerfeldNeutralCurve_lapack.cpp.
|
inline |
Definition at line 160 of file EVPOrrSommerfeldNeutralCurve_lapack.cpp.
References CppNoddy::ODE_EVP< _Type >::add_tagged_to_mesh(), BC_left, BC_right, bvp, CppNoddy::ODE_EVP< _Type >::eigensolve(), CppNoddy::ODE_EVP< _Type >::get_mesh(), CppNoddy::Example::MAX_REFINE(), ode_local, CppNoddy::ODE_EVP< _Type >::p_eigensystem(), and CppNoddy::Utility::uniform_node_vector().
|
inline |
|
inlinevirtual |
A blank virtual residual function method.
state | The unknown variable. |
f | The residual function f(x). |
Reimplemented from CppNoddy::Residual< double >.
Definition at line 222 of file EVPOrrSommerfeldNeutralCurve_lapack.cpp.
References eval, f, ode_local, CppNoddy::Example::Re, CppNoddy::Example::wave_speed, and CppNoddy::Example::z().
OS_bvp_left_BC* CppNoddy::Example::Neutral_residual::BC_left |
Definition at line 234 of file EVPOrrSommerfeldNeutralCurve_lapack.cpp.
Referenced by Neutral_residual(), and ~Neutral_residual().
OS_bvp_right_BC* CppNoddy::Example::Neutral_residual::BC_right |
Definition at line 235 of file EVPOrrSommerfeldNeutralCurve_lapack.cpp.
Referenced by Neutral_residual(), and ~Neutral_residual().
OS_bvp_equation* CppNoddy::Example::Neutral_residual::bvp |
Definition at line 233 of file EVPOrrSommerfeldNeutralCurve_lapack.cpp.
Referenced by Neutral_residual(), and ~Neutral_residual().
Definition at line 232 of file EVPOrrSommerfeldNeutralCurve_lapack.cpp.
Referenced by Neutral_residual(), residual_fn(), and ~Neutral_residual().
© 2012
R.E. Hewitt