CppNoddy  0.92
All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Modules Pages
Equation.cpp
Go to the documentation of this file.
1/// \file Equation.cpp
2/// Implementation for an equations class that can be inherited from
3/// to allow instantiation of ODE objects using the resulting class.
4
5#include <Equation.h>
7
8namespace CppNoddy {
9
10 template <typename _Type, typename _Xtype>
11 Equation<_Type, _Xtype>::Equation(const unsigned& order) :
12 Residual_with_coords<_Type, _Xtype>(order, 1) {
13 }
14
15 template <typename _Type, typename _Xtype>
17 }
18
19 // the required templated versions are:
20 template class Equation<double>
21 ;
22 template class Equation<std::complex<double> >
23 ;
24 template class Equation<std::complex<double>, std::complex<double> >
25 ;
27} // end namespace
A templated class for equations that can be inherited from to allow instantiation of ODE/PDE objects ...
A specification of a (double/complex) residual class that not only defines a vector residual of a vec...
An equation object base class used in the BVP/IVP classes.
Definition: Equation.h:22
Equation(const unsigned &order)
Constructor for equation class.
Definition: Equation.cpp:11
virtual ~Equation()
An empty destructor, virtual since we have virtual methods.
Definition: Equation.cpp:16
A base class to be inherited by objects that define residuals.
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechani...

© 2012

R.E. Hewitt