OGS
NumLib::detail::Line Struct Reference

Detailed Description

Definition at line 30 of file ComponentGlobalIndexDict.h.

#include <ComponentGlobalIndexDict.h>

Collaboration diagram for NumLib::detail::Line:
[legend]

Public Member Functions

 Line (MeshLib::Location l, int c, GlobalIndexType i)
 
 Line (MeshLib::Location l, int c)
 
 Line (MeshLib::Location l)
 

Public Attributes

MeshLib::Location location
 
int comp_id
 
GlobalIndexType global_index
 

Friends

std::ostream & operator<< (std::ostream &os, Line const &l)
 

Constructor & Destructor Documentation

◆ Line() [1/3]

NumLib::detail::Line::Line ( MeshLib::Location l,
int c,
GlobalIndexType i )
inline

Definition at line 40 of file ComponentGlobalIndexDict.h.

41 : location(std::move(l)), comp_id(c), global_index(i)
42 {
43 }

◆ Line() [2/3]

NumLib::detail::Line::Line ( MeshLib::Location l,
int c )
inline

Definition at line 45 of file ComponentGlobalIndexDict.h.

46 : location(std::move(l)),
47 comp_id(c),
48 global_index(std::numeric_limits<GlobalIndexType>::max())
49 {
50 }

◆ Line() [3/3]

NumLib::detail::Line::Line ( MeshLib::Location l)
inlineexplicit

Definition at line 52 of file ComponentGlobalIndexDict.h.

53 : location(std::move(l)),
54 comp_id(std::numeric_limits<int>::max()),
55 global_index(std::numeric_limits<GlobalIndexType>::max())
56 {
57 }

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
Line const & l )
friend

Definition at line 59 of file ComponentGlobalIndexDict.h.

60 {
61 return os << l.location << ", " << l.comp_id << ", " << l.global_index;
62 }

Member Data Documentation

◆ comp_id

int NumLib::detail::Line::comp_id

◆ global_index

GlobalIndexType NumLib::detail::Line::global_index

◆ location


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