https://mooseframework.inl.gov
subchannel
include
utils
SubChannelEnums.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
13
enum class
EChannelType
14
{
15
CENTER
,
16
EDGE
,
17
CORNER
18
};
19
20
// Declare the operator<< overload for EChannelType as inline
21
inline
std::ostringstream &
22
operator<<
(std::ostringstream & oss,
const
EChannelType
& channelType)
23
{
24
// Convert EChannelType to string representation and stream it into oss
25
switch
(channelType)
26
{
27
case
EChannelType::CENTER
:
28
oss <<
"CENTER"
;
29
break
;
30
case
EChannelType::EDGE
:
31
oss <<
"EDGE"
;
32
break
;
33
case
EChannelType::CORNER
:
34
oss <<
"CORNER"
;
35
break
;
36
}
37
return
oss;
38
}
EChannelType::EDGE
operator<<
std::ostringstream & operator<<(std::ostringstream &oss, const EChannelType &channelType)
Definition:
SubChannelEnums.h:22
EChannelType::CORNER
EChannelType::CENTER
EChannelType
EChannelType
Enum for describing the center, edge and corner subchannels or gap types.
Definition:
SubChannelEnums.h:13
Generated on Fri Jul 18 2025 11:57:33 for https://mooseframework.inl.gov by
1.8.14