|
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 | |
| AlgebraType (const char *type) | |
| constructor for variable block size | |
| AlgebraType (const char *type, int blockSize) | |
| constructor for fix blocksize | |
| AlgebraType (Type type, int blockSize) | |
| constructor for fix blocksize | |
| int | blocksize () const |
| returns the blocksize | |
| int | type () const |
| returns the type | |
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::IApproximationSpace::dof_distribution_info_required(), ug::IApproximationSpace::init(), ug::bridge::InitUG(), ug::operator<<(), and ug::IApproximationSpace::print_statistic().
|
inline |
returns the type
References m_type.
Referenced by AlgebraType(), AlgebraType(), ug::bridge::InitUG(), and ug::operator<<().
|
protected |
Referenced by blocksize().
|
protected |
Referenced by AlgebraType(), AlgebraType(), and type().