https://mooseframework.inl.gov
Enumerations | Functions
SubChannelEnums.h File Reference

Go to the source code of this file.

Enumerations

enum  EChannelType { EChannelType::CENTER, EChannelType::EDGE, EChannelType::CORNER }
 Enum for describing the center, edge and corner subchannels or gap types. More...
 

Functions

std::ostringstream & operator<< (std::ostringstream &oss, const EChannelType &channelType)
 

Enumeration Type Documentation

◆ EChannelType

enum EChannelType
strong

Enum for describing the center, edge and corner subchannels or gap types.

Enumerator
CENTER 
EDGE 
CORNER 

Definition at line 13 of file SubChannelEnums.h.

Function Documentation

◆ operator<<()

std::ostringstream& operator<< ( std::ostringstream &  oss,
const EChannelType channelType 
)
inline

Definition at line 22 of file SubChannelEnums.h.

23 {
24  // Convert EChannelType to string representation and stream it into oss
25  switch (channelType)
26  {
28  oss << "CENTER";
29  break;
30  case EChannelType::EDGE:
31  oss << "EDGE";
32  break;
34  oss << "CORNER";
35  break;
36  }
37  return oss;
38 }