CppNoddy
0.92
|
Solves the harmonic equation. More...
Go to the source code of this file.
Classes | |
class | CppNoddy::Example::Harmonic_equation< _Type, _Xtype > |
Define the harmonic equation by inheriting the Equation base class. More... | |
class | CppNoddy::Example::Harmonic_left_BC< _Type > |
class | CppNoddy::Example::Harmonic_right_BC< _Type > |
Namespaces | |
namespace | CppNoddy |
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechanics. | |
namespace | CppNoddy::Example |
Enumerations | |
enum | { f , fd , lambda } |
Functions | |
int | main () |
Solves the harmonic equation.
as a LOCAL eigenvalue problem for
Note: This approach (as it stands) is not as efficient as it could be since we include N extra degrees of freedom (where N is the number of mesh points) into the problem for only one eigenvalue. This retains the banded structure, but it would perhaps be better to solve using a sparse structure, or an appropriate multi-step algorithm for the for the banded matrix.
Definition in file EVPHarmonicLocal.cpp.
anonymous enum |
int main | ( | ) |
Definition at line 88 of file EVPHarmonicLocal.cpp.
References f, fd, lambda, CppNoddy::ODE_BVP< _Type, _Xtype >::set_monitor_det(), CppNoddy::ODE_BVP< _Type, _Xtype >::solution(), CppNoddy::ODE_BVP< _Type, _Xtype >::solve2(), and CppNoddy::Utility::uniform_node_vector().
© 2012
R.E. Hewitt