A simple wrapper class which abstracts a matrix and a vector into a linear equation.
More...
#include <pde_assembler.hpp>
Public Member Functions |
| equation_wrapper (MatrixT &matrix, VectorT &vector) |
template<typename IndexT > |
VectorT::value_type & | operator() (IndexT i) |
template<typename IndexT , typename NumericT > |
void | add (IndexT col, IndexT row, NumericT value) |
Data Fields |
MatrixT & | matrix |
VectorT & | vector |
Detailed Description
template<typename MatrixT, typename VectorT>
struct viennafem::detail::equation_wrapper< MatrixT, VectorT >
A simple wrapper class which abstracts a matrix and a vector into a linear equation.
Constructor & Destructor Documentation
Member Function Documentation
void add |
( |
IndexT |
col, |
|
|
IndexT |
row, |
|
|
NumericT |
value | |
|
) |
| | [inline] |
VectorT::value_type& operator() |
( |
IndexT |
i |
) |
[inline] |
Field Documentation
The documentation for this struct was generated from the following file: