dune-istl 2.9.0
Public Member Functions | List of all members
Dune::MatrixMarketImpl::MatrixValuesSetter< D, brows, bcols > Struct Template Reference

Functor to the data values of the matrix. More...

#include <dune/istl/matrixmarket.hh>

Public Member Functions

template<typename T >
void operator() (const std::vector< std::set< IndexData< D > > > &rows, BCRSMatrix< T > &matrix)
 Sets the matrix values. More...
 
template<typename T >
void operator() (const std::vector< std::set< IndexData< D > > > &rows, BCRSMatrix< FieldMatrix< T, brows, bcols > > &matrix)
 Sets the matrix values. More...
 

Detailed Description

template<typename D, int brows, int bcols>
struct Dune::MatrixMarketImpl::MatrixValuesSetter< D, brows, bcols >

Functor to the data values of the matrix.

This is specialized for PatternDummy. The specialization does not set anything.

Member Function Documentation

◆ operator()() [1/2]

template<typename D , int brows, int bcols>
template<typename T >
void Dune::MatrixMarketImpl::MatrixValuesSetter< D, brows, bcols >::operator() ( const std::vector< std::set< IndexData< D > > > &  rows,
BCRSMatrix< FieldMatrix< T, brows, bcols > > &  matrix 
)
inline

Sets the matrix values.

Parameters
rowThe row data as read from file.
matrixThe matrix whose data we set.

◆ operator()() [2/2]

template<typename D , int brows, int bcols>
template<typename T >
void Dune::MatrixMarketImpl::MatrixValuesSetter< D, brows, bcols >::operator() ( const std::vector< std::set< IndexData< D > > > &  rows,
BCRSMatrix< T > &  matrix 
)
inline

Sets the matrix values.

Parameters
rowThe row data as read from file.
matrixThe matrix whose data we set.

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