DUNE PDELab (git)

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
rowsThe 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
rowsThe row data as read from file.
matrixThe matrix whose data we set.

References Dune::BCRSMatrix< B, A >::begin(), and Dune::BCRSMatrix< B, A >::end().


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)