9#ifndef RESIDUAL_WITH_COORDS_H
10#define RESIDUAL_WITH_COORDS_H
18 template <
typename _Type,
typename _Xtype =
double >
39 _Xtype&
coord(
const unsigned& i);
43 const _Xtype&
coord(
const unsigned& i)
const;
53 template <
typename _Type,
typename _Xtype>
61 template <
typename _Type,
typename _Xtype>
A matrix class that constructs a DENSE matrix as an STL Vector of DenseVectors.
Specification for a templated DenseVector class – a dense, dynamic, vector object.
A specification of a (double/complex) VECTOR residual class.
A base class to be inherited by objects that define residuals.
const _Xtype & coord(const unsigned &i) const
General handle access to the coordinates.
virtual ~Residual_with_coords()
An empty destructor.
std::vector< _Xtype > coords
The coordinates stored for this residual.
_Xtype & coord(const unsigned &i)
General handle access to the coordinates.
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...