Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Member Functions | Public Attributes | List of all members
serac::SignedIndex Struct Reference

this type explicitly stores sign (typically used conveying edge/face orientation) and index values More...

#include <dof_numbering.hpp>

Public Member Functions

 operator uint32_t ()
 the implicit conversion to int extracts only the index
 

Public Attributes

uint32_t index_
 the actual index of some quantity
 
int sign_
 whether or not the value associated with this index is positive or negative
 

Detailed Description

this type explicitly stores sign (typically used conveying edge/face orientation) and index values

TODO: investigate implementation via bitfield (should have smaller memory footprint, better readability than mfem's {sign, index} int32_t encoding)

Definition at line 61 of file dof_numbering.hpp.


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