OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
DiscType< T > Struct Template Reference

#include <DiscType.h>

Inheritance diagram for DiscType< T >:
Collaboration diagram for DiscType< T >:

Public Types

enum  {
  CHAR , SHORT , INT , LONG ,
  FLOAT , DOUBLE , DCOMPLEX , FCOMPLEX ,
  SCALAR , VEKTOR , TENZOR , SYMTENZOR ,
  ANTISYMTENZOR , UNKNOWN
}

Static Public Member Functions

static std::string str ()
static int scalarType (const std::string &s)
static int dim (const std::string &s)
static int appType (const std::string &s)

Detailed Description

template<class T>
struct DiscType< T >

Definition at line 97 of file DiscType.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
CHAR 
SHORT 
INT 
LONG 
FLOAT 
DOUBLE 
DCOMPLEX 
FCOMPLEX 
SCALAR 
VEKTOR 
TENZOR 
SYMTENZOR 
ANTISYMTENZOR 
UNKNOWN 

Definition at line 31 of file DiscType.h.

Member Function Documentation

◆ appType()

int DiscTypeBase::appType ( const std::string & s)
inlinestaticinherited

Definition at line 73 of file DiscType.h.

References ANTISYMTENZOR, c, SCALAR, SYMTENZOR, TENZOR, UNKNOWN, and VEKTOR.

◆ dim()

int DiscTypeBase::dim ( const std::string & s)
inlinestaticinherited

Definition at line 61 of file DiscType.h.

References c.

◆ scalarType()

int DiscTypeBase::scalarType ( const std::string & s)
inlinestaticinherited

Definition at line 35 of file DiscType.h.

References c, CHAR, DCOMPLEX, DOUBLE, FCOMPLEX, FLOAT, INT, LONG, SHORT, and UNKNOWN.

◆ str()

template<class T>
std::string DiscType< T >::str ( )
inlinestatic

Definition at line 98 of file DiscType.h.


The documentation for this struct was generated from the following file: