hyper.deal
Loading...
Searching...
No Matches
hyperdeal::TensorID Struct Reference

#include <id.h>

Public Types

enum class  SpaceType { XV , X , V }
 

Public Member Functions

 TensorID (const unsigned int x, const unsigned int v, const unsigned int macro, const SpaceType type=SpaceType::XV)
 

Public Attributes

const unsigned int x
 
const unsigned int v
 
const unsigned int macro
 
const SpaceType type
 

Detailed Description

ID describing cells and faces uniquely in phase space.

Member Enumeration Documentation

◆ SpaceType

enum class hyperdeal::TensorID::SpaceType
strong

Type of face in phase space.

Constructor & Destructor Documentation

◆ TensorID()

hyperdeal::TensorID::TensorID ( const unsigned int x,
const unsigned int v,
const unsigned int macro,
const SpaceType type = SpaceType::XV )
inline

Constructor.

Member Data Documentation

◆ macro

const unsigned int hyperdeal::TensorID::macro

Macro-cell/face ID in phase-space.

◆ type

const SpaceType hyperdeal::TensorID::type

Type of face in phase space.

◆ v

const unsigned int hyperdeal::TensorID::v

Macro-cell/face ID in v-space.

◆ x

const unsigned int hyperdeal::TensorID::x

Macro-cell/face ID in x-space.


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