MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / cellToFace

Class cellToFace

src/meshTools/sets/faceSources/cellToFace/cellToFace.H:54–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52\*---------------------------------------------------------------------------*/
53
54class cellToFace
55:
56 public topoSetSource
57{
58public:
59 //- Enumeration defining the valid options
60 enum cellAction
61 {
62 ALL,
63 BOTH
64 };
65
66
67private:
68
69 //- Add usage string
70 static addToUsageTable usage_;
71
72 static const NamedEnum<cellAction, 2> cellActionNames_;
73
74 //- Name of set to use
75 word setName_;
76
77 //- Option
78 cellAction option_;
79
80
81 // Private Member Functions
82
83 //- Depending on face to cell option add to or delete from cellSet.
84 void combine(topoSet& set, const bool add) const;
85
86
87public:
88
89 //- Runtime type information
90 TypeName("cellToFace");
91
92 // Constructors
93
94 //- Construct from components
95 cellToFace
96 (
97 const polyMesh& mesh,
98 const word& setName,
99 const cellAction option
100 );
101
102 //- Construct from dictionary
103 cellToFace
104 (
105 const polyMesh& mesh,
106 const dictionary& dict
107 );
108
109 //- Construct from Istream
110 cellToFace
111 (

Callers 2

hexRef8.CFile · 0.85
FaceCellWave.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected