OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Types | Static Public Member Functions | List of all members
DiscTypeBase Struct Reference

#include <DiscType.h>

Inheritance diagram for DiscTypeBase:
Inheritance graph
[legend]

Public Types

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

Static Public Member Functions

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

Detailed Description

Definition at line 32 of file DiscType.h.

Member Enumeration Documentation

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

Definition at line 34 of file DiscType.h.

Member Function Documentation

static int DiscTypeBase::appType ( const std::string &  s)
inlinestatic

Definition at line 76 of file DiscType.h.

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

static int DiscTypeBase::dim ( const std::string &  s)
inlinestatic

Definition at line 64 of file DiscType.h.

References Physics::c.

static int DiscTypeBase::scalarType ( const std::string &  s)
inlinestatic

Definition at line 38 of file DiscType.h.

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


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