|
CppNoddy
0.92
|
A templated object for real/complex vector system of unsteady equations. More...
#include <PDE_double_IBVP.h>
Public Member Functions | |
| PDE_double_IBVP (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... | |
| ~PDE_double_IBVP () | |
| 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... | |
| 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 44 of file PDE_double_IBVP.h.
| CppNoddy::PDE_double_IBVP< _Type >::PDE_double_IBVP | ( | 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 18 of file PDE_double_IBVP.cpp.
| CppNoddy::PDE_double_IBVP< _Type >::~PDE_double_IBVP |
Destructor.
Definition at line 46 of file PDE_double_IBVP.cpp.
|
inline |
Definition at line 123 of file PDE_double_IBVP.h.
Referenced by main().
| void CppNoddy::PDE_double_IBVP< _Type >::step2 | ( | const double & | dt | ) |
A Crank-Nicolson 'time' stepper.
Definition at line 57 of file PDE_double_IBVP.cpp.
References CppNoddy::DenseVector< _Type >::inf_norm(), and CppNoddy::BandedLinearSystem< _Type >::solve().
Referenced by main().
|
inline |
Return a reference to the current value of the 'timelike' coordinate.
Definition at line 128 of file PDE_double_IBVP.h.
Referenced by main().
|
inline |
Return a reference to the convergence tolerance.
Definition at line 76 of file PDE_double_IBVP.h.
|
inline |
Copy the current solution to the previous solution.
Definition at line 63 of file PDE_double_IBVP.h.
Referenced by main().
1.9.5
© 2012
R.E. Hewitt