QMCPACK
ParticleTags Struct Reference

Define the tags for the data types and attributes of particle classes. More...

+ Inheritance diagram for ParticleTags:
+ Collaboration diagram for ParticleTags:

Public Types

enum  {
  PA_IndexType = 0, PA_ScalarType, PA_StringType, PA_PositionType,
  PA_TensorType, PA_UnkownType
}
 enumeraton for datatypes for particle attributes More...
 

Static Public Attributes

static std::string null_tag = "null"
 type names of particle attributes, e.g., posArray More...
 
static std::string indextype_tag = "indexArray"
 the datatype tag for the index-type attribute More...
 
static std::string scalartype_tag = "scalarArray"
 the datatype tag for the scalar-type attribute More...
 
static std::string stringtype_tag = "stringArray"
 the datatype tag for the string-type attribute More...
 
static std::string postype_tag = "posArray"
 the datatype tag for the pos-type attribute More...
 
static std::string gradtype_tag = "gradArray"
 the datatype tag for the gradient-type attribute More...
 
static std::string laptype_tag = "lapArray"
 the datatype tag for the laplacian-type attribute More...
 
static std::string tensortype_tag = "tensorArray"
 the datatype tag for the tensor-type attribute More...
 
static std::string xmoltype_tag = "xmolArray"
 the datatype tag for the xmol-type attribute More...
 
static std::string position_tag = "position"
 names of particle attributes, e.g., position More...
 
static std::string spins_tag = "spins"
 the name for spins attribute More...
 
static std::string id_tag = "id"
 the name for id attribute More...
 
static std::string ionid_tag = "ionid"
 the name for ionid attribute More...
 
static std::string trajectory_tag = "trajectory"
 the name for trajectory attribute More...
 
static std::string force_tag = "f"
 the name for force attribute More...
 
static std::string velocity_tag = "v"
 the name for velocity attribute More...
 
static std::string energy_tag = "e"
 the name for energy attribute More...
 
static std::string sumbc_tag = "sumbc"
 the name for sumbc (accumulative boundary crossings) attribute More...
 
static std::string root_tag = "particleset"
 xml element names More...
 
static std::string attrib_tag = "attrib"
 the name of particle attribute node More...
 
static std::string name_tag = "name"
 the attribute name of name More...
 
static std::string datatype_tag = "datatype"
 the attribute name of datatype More...
 
static std::string condition_tag = "condition"
 the attribute name of condition More...
 
static std::string size_tag = "size"
 the attribute name of size More...
 
static std::string format_tag = "format"
 the attribute name of format More...
 
static std::string role_tag = "role"
 the attribute name of role More...
 

Detailed Description

Define the tags for the data types and attributes of particle classes.

The tags are grouped into

  • the data type of an attribute (type name)
  • the name of an attribute (object name)
  • xml node and attribute names

Definition at line 30 of file ParticleTags.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

enumeraton for datatypes for particle attributes

Each attribute of type T is stored in a container ParticleAttrib<T>. ParticleBase::AttribTypeMap is used to map the std::string and the enumeration.

Enumerator
PA_IndexType 

index (int) type

PA_ScalarType 

scalar (float|double) type

PA_StringType 

std::string type

PA_PositionType 

position (D-dim vector) type

PA_TensorType 

tensor type

PA_UnkownType 

not known type

Definition at line 37 of file ParticleTags.h.

38  {
39  PA_IndexType = 0, /*!< index (int) type */
40  PA_ScalarType, /*!< scalar (float|double) type */
41  PA_StringType, /*!< std::string type */
42  PA_PositionType, /*!< position (D-dim vector) type */
43  PA_TensorType, /*!< tensor type */
44  PA_UnkownType /*!< not known type */
45  };

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