Public Member Functions | Data Fields

equation_wrapper< MatrixT, VectorT > Struct Template Reference

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

equation_wrapper ( MatrixT &  matrix,
VectorT &  vector 
) [inline]

Member Function Documentation

void add ( IndexT  col,
IndexT  row,
NumericT  value 
) [inline]
VectorT::value_type& operator() ( IndexT  i  )  [inline]

Field Documentation

MatrixT& matrix
VectorT& vector

The documentation for this struct was generated from the following file: