ug4
|
class describing the type of an algebra More...
#include <algebra_type.h>
Public Types | |
enum | { VariableBlockSize = -1 } |
indicating variable block size More... | |
enum | Type { CPU = 0 , GPU = 1 } |
types of algebra More... | |
Public Member Functions | |
AlgebraType () | |
empty constructor More... | |
AlgebraType (const char *type) | |
constructor for variable block size More... | |
AlgebraType (const char *type, int blockSize) | |
constructor for fix blocksize More... | |
AlgebraType (Type type, int blockSize) | |
constructor for fix blocksize More... | |
int | blocksize () const |
returns the blocksize More... | |
int | type () const |
returns the type More... | |
Protected Attributes | |
int | m_blockSize |
int | m_type |
class describing the type of an algebra
ug::AlgebraType::AlgebraType | ( | ) |
empty constructor
ug::AlgebraType::AlgebraType | ( | Type | type, |
int | blockSize | ||
) |
constructor for fix blocksize
References UG_THROW, and VariableBlockSize.
ug::AlgebraType::AlgebraType | ( | const char * | type, |
int | blockSize | ||
) |
ug::AlgebraType::AlgebraType | ( | const char * | type | ) |
|
inline |
returns the blocksize
References m_blockSize.
Referenced by ug::bridge::InitUG(), and ug::operator<<().
|
inline |
returns the type
References m_type.
Referenced by AlgebraType(), ug::bridge::InitUG(), and ug::operator<<().
|
protected |
Referenced by blocksize().
|
protected |
Referenced by AlgebraType(), and type().