MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
mfem::MesquiteMesh::MeshTags::TagData Class Reference

#include <mesquite.hpp>

Collaboration diagram for mfem::MesquiteMesh::MeshTags::TagData:

Public Member Functions

 TagData (const std::string &name, Mesh::TagType type, unsigned length, void *default_val=0)
 Construct tag. More...
 TagData (const MfemTagDescription &descr)
 Construct tag. More...
 ~TagData ()

Public Attributes

const MfemTagDescription desc
 tag meta data More...
void * elementData
 per-element data, or NULL if none has been set. More...
size_t elementCount
 number of entries in elementData More...
void * vertexData
 per-vertex data, or NULL if none has been set. More...
size_t vertexCount
 number of entries in vertexData More...
void * defaultValue
 Default value for tag. More...

Detailed Description

Store data for a single tag

Definition at line 70 of file mesquite.hpp.

Constructor & Destructor Documentation

mfem::MesquiteMesh::MeshTags::TagData::TagData ( const std::string &  name,
Mesh::TagType  type,
unsigned  length,
void *  default_val = 0 

Construct tag.

nameTag name
typeTag data type
lengthTag array length (1 for scalar/non-array)
default_valDefault value for tag

Definition at line 97 of file mesquite.hpp.

mfem::MesquiteMesh::MeshTags::TagData::TagData ( const MfemTagDescription &  descr)

Construct tag.

descrTag description object

Definition at line 108 of file mesquite.hpp.

mfem::MesquiteMesh::MeshTags::TagData::~TagData ( )

Definition at line 24 of file mesquite.cpp.

Member Data Documentation

void* mfem::MesquiteMesh::MeshTags::TagData::defaultValue

Default value for tag.

Definition at line 89 of file mesquite.hpp.

const MfemTagDescription mfem::MesquiteMesh::MeshTags::TagData::desc

tag meta data

Definition at line 74 of file mesquite.hpp.

size_t mfem::MesquiteMesh::MeshTags::TagData::elementCount

number of entries in elementData

Definition at line 80 of file mesquite.hpp.

void* mfem::MesquiteMesh::MeshTags::TagData::elementData

per-element data, or NULL if none has been set.

Definition at line 77 of file mesquite.hpp.

size_t mfem::MesquiteMesh::MeshTags::TagData::vertexCount

number of entries in vertexData

Definition at line 86 of file mesquite.hpp.

void* mfem::MesquiteMesh::MeshTags::TagData::vertexData

per-vertex data, or NULL if none has been set.

Definition at line 83 of file mesquite.hpp.

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