OGS
MeshLib::Location Struct Reference

Detailed Description

Spatial location description.

The spatial location is given by a mesh by its mesh_id, item's type (face, cell, etc. see MeshItemType), and item's number by its item_id.

Definition at line 39 of file Location.h.

#include <Location.h>

Public Member Functions

 Location (std::size_t meshid, MeshItemType itemtype, std::size_t itemid)
 

Public Attributes

std::size_t mesh_id
 
MeshItemType item_type
 
std::size_t item_id
 

Constructor & Destructor Documentation

◆ Location()

MeshLib::Location::Location ( std::size_t meshid,
MeshItemType itemtype,
std::size_t itemid )
inline

Definition at line 45 of file Location.h.

46 : mesh_id(meshid), item_type(itemtype), item_id(itemid){}
std::size_t item_id
Definition Location.h:43
std::size_t mesh_id
Definition Location.h:41
MeshItemType item_type
Definition Location.h:42

Member Data Documentation

◆ item_id

std::size_t MeshLib::Location::item_id

Definition at line 43 of file Location.h.

Referenced by MeshLib::operator<(), and MeshLib::operator<<().

◆ item_type

MeshItemType MeshLib::Location::item_type

Definition at line 42 of file Location.h.

Referenced by MeshLib::operator<(), and MeshLib::operator<<().

◆ mesh_id

std::size_t MeshLib::Location::mesh_id

Definition at line 41 of file Location.h.

Referenced by MeshLib::operator<(), and MeshLib::operator<<().


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