CppNoddy
0.92
|
A templated object for real/complex vector system of unsteady equations. More...
#include <reversed_BL.h>
Public Member Functions | |
reversed_BL (Equation_3matrix< _Type > *equation_ptr, const DenseVector< double > &xnodes, const DenseVector< double > &ynodes, Residual_with_coords< _Type > *ptr_to_bottom_residual, Residual_with_coords< _Type > *ptr_to_top_residual) | |
The class is defined by a vector function for the system. More... | |
~reversed_BL () | |
Destructor. More... | |
void | update_previous_solution () |
Copy the current solution to the previous solution. More... | |
void | step2 (const double &dt) |
A Crank-Nicolson 'time' stepper. More... | |
void | bidirectional_step2 (const double &dt) |
A Crank-Nicolson 'time' stepper. More... | |
double & | t () |
Return a reference to the current value of the 'timelike' coordinate. More... | |
double & | tolerance () |
Return a reference to the convergence tolerance. More... | |
TwoD_Node_Mesh< _Type > & | solution () |
A templated object for real/complex vector system of unsteady equations.
Definition at line 24 of file reversed_BL.h.
CppNoddy::reversed_BL< _Type >::reversed_BL | ( | Equation_3matrix< _Type > * | equation_ptr, |
const DenseVector< double > & | xnodes, | ||
const DenseVector< double > & | ynodes, | ||
Residual_with_coords< _Type > * | ptr_to_bottom_residual, | ||
Residual_with_coords< _Type > * | ptr_to_top_residual | ||
) |
The class is defined by a vector function for the system.
equation_ptr | A pointer to an inherited Equation object. |
xnodes | A vector that defines the nodal x-positions. |
ynodes | A vector that defines the nodal y-positions. |
ptr_to_bottom_residual | A pointer to a residual object that defines the y=y1 boundary conditions. |
ptr_to_top_residual | A pointer to a residual object that defines the y=y2 boundary conditions. |
Definition at line 17 of file reversed_BL.cpp.
CppNoddy::reversed_BL< _Type >::~reversed_BL |
Destructor.
Definition at line 44 of file reversed_BL.cpp.
void CppNoddy::reversed_BL< _Type >::bidirectional_step2 | ( | const double & | dt | ) |
A Crank-Nicolson 'time' stepper.
Definition at line 141 of file reversed_BL.cpp.
References CppNoddy::DenseVector< _Type >::inf_norm(), and CppNoddy::BandedLinearSystem< _Type >::solve().
|
inline |
Definition at line 113 of file reversed_BL.h.
void CppNoddy::reversed_BL< _Type >::step2 | ( | const double & | dt | ) |
A Crank-Nicolson 'time' stepper.
Definition at line 55 of file reversed_BL.cpp.
References CppNoddy::DenseVector< _Type >::inf_norm(), and CppNoddy::BandedLinearSystem< _Type >::solve().
|
inline |
Return a reference to the current value of the 'timelike' coordinate.
Definition at line 118 of file reversed_BL.h.
|
inline |
Return a reference to the convergence tolerance.
Definition at line 59 of file reversed_BL.h.
|
inline |
Copy the current solution to the previous solution.
Definition at line 43 of file reversed_BL.h.
© 2012
R.E. Hewitt