CppNoddy
0.92
|
Define a residual function using the boundary conditions for the biharmonic_equation. More...
Public Member Functions | |
Biharmonic_residual () | |
~Biharmonic_residual () | |
void | residual_fn (const DenseVector< D_complex > &unknown, DenseVector< D_complex > &BC) const |
implement a residual function. 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< D_complex > &state) |
Update the Residual object for the current set of state variables. More... | |
const DenseVector< D_complex > & | residual () const |
Return a handle to the residuals corresponding to the last update state. More... | |
const DenseMatrix< D_complex > & | jacobian () const |
Retrun a handle to the Jacobian of the residual corresponding to the last update state. More... | |
D_complex & | delta () |
const D_complex & | 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< D_complex > &state, DenseVector< D_complex > &f) const |
A blank virtual residual function method. More... | |
Public Attributes | |
ODE_IVP< D_complex > * | ode |
Additional Inherited Members | |
![]() | |
virtual void | jacobian (const DenseVector< D_complex > &state, DenseMatrix< D_complex > &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< D_complex > | JAC_AT_LAST_STATE |
Jacobian for the last state vector. More... | |
DenseVector< D_complex > | FN_AT_LAST_STATE |
Residual for the last state vector. More... | |
DenseVector< D_complex > | LAST_STATE |
The last state vector. More... | |
D_complex | 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 biharmonic_equation.
Definition at line 44 of file EVPShootBiharmonic.cpp.
|
inline |
Definition at line 49 of file EVPShootBiharmonic.cpp.
References ode.
|
inline |
Definition at line 57 of file EVPShootBiharmonic.cpp.
References ode.
|
inlinevirtual |
implement a residual function.
Reimplemented from CppNoddy::Residual< D_complex >.
Definition at line 64 of file EVPShootBiharmonic.cpp.
Definition at line 47 of file EVPShootBiharmonic.cpp.
Referenced by Biharmonic_residual(), main(), residual_fn(), and ~Biharmonic_residual().
© 2012
R.E. Hewitt