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

Class faceToCell

src/meshTools/sets/cellSources/faceToCell/faceToCell.H:50–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

FaceCellWave.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected