33 #ifndef __H__UG__LIB_ALGEBRA__ALGEBRA_TYPE__
34 #define __H__UG__LIB_ALGEBRA__ALGEBRA_TYPE__
class describing the type of an algebra
Definition: algebra_type.h:49
AlgebraType()
empty constructor
Definition: algebra_type.cpp:38
@ VariableBlockSize
Definition: algebra_type.h:59
int blocksize() const
returns the blocksize
Definition: algebra_type.h:78
int m_type
Definition: algebra_type.h:81
int m_blockSize
Definition: algebra_type.h:82
Type
types of algebra
Definition: algebra_type.h:53
@ CPU
Definition: algebra_type.h:54
@ GPU
Definition: algebra_type.h:55
int type() const
returns the type
Definition: algebra_type.h:75
Singleton, providing the current default algebra.
Definition: algebra_type.h:91
static AlgebraType get()
Definition: algebra_type.h:93
static void set(const AlgebraType &defaultType)
Definition: algebra_type.h:94
static AlgebraType m_default
Definition: algebra_type.h:97
std::ostream & operator<<(std::ostream &outStream, const ug::MathMatrix< 2, 2 > &m)
Definition: math_matrix.cpp:38