ug4
multi_index.h File Reference
#include <vector>
#include <iostream>
#include <assert.h>
#include "common/common.h"
#include "lib_algebra/small_algebra/blocks.h"

Go to the source code of this file.

Classes

class  ug::MultiIndex< N, TSingleIndexType >
 
class  ug::MultiIndex< 1, size_t >
 
class  ug::MultiIndex< 2, size_t >
 
class  ug::MultiIndex< 3, size_t >
 

Namespaces

 ug
 the ug namespace
 

Typedefs

typedef MultiIndex< 2 > ug::DoFIndex
 type of DoF-Index used to identify an DoF in the Algebra More...
 

Functions

template<typename TMatrix >
const numberug::DoFRef (const TMatrix &mat, const DoFIndex &iInd, const DoFIndex &jInd)
 
template<typename TVector >
const numberug::DoFRef (const TVector &vec, const DoFIndex &ind)
 
template<typename TMatrix >
numberug::DoFRef (TMatrix &mat, const DoFIndex &iInd, const DoFIndex &jInd)
 
template<typename TVector >
numberug::DoFRef (TVector &vec, const DoFIndex &ind)
 
template<int N>
std::ostream & ug::operator<< (std::ostream &outStream, const ug::MultiIndex< N > &v)
 
template<typename TMatrix >
void ug::SetDirichletRow (TMatrix &mat, const DoFIndex &ind)
 
template<typename TMatrix >
void ug::SetRow (TMatrix &mat, const DoFIndex &ind, number val=0.0)