OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
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 30 of file DiscType.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 32 of file DiscType.h.

Member Function Documentation

◆ appType()

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

Definition at line 74 of file DiscType.h.

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

◆ dim()

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

Definition at line 62 of file DiscType.h.

References Physics::c.

◆ scalarType()

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

Definition at line 36 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: