https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Enumerations | Functions
SubChannelEnums.h File Reference

Go to the source code of this file.

Enumerations

enum class  EChannelType { CENTER , EDGE , 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 class 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 21 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;
31 oss << "EDGE";
32 break;
34 oss << "CORNER";
35 break;
36 }
37 return oss;
38}