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

Class CodedSource

src/fvOptions/sources/general/codedSource/CodedSource.H:134–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133template<class Type>
134class CodedSource
135:
136 public cellSetOption,
137 public codedBase
138{
139
140protected:
141
142 // Protected data
143
144 word name_;
145
146 string codeCorrect_;
147 string codeAddSup_;
148 string codeSetValue_;
149
150 //- Underlying functionObject
151 mutable autoPtr<option> redirectFvOptionPtr_;
152
153
154 // Protected Member Functions
155
156 //- Get the loaded dynamic libraries
157 virtual dlLibraryTable& libs() const;
158
159 //- Adapt the context for the current object
160 virtual void prepare(dynamicCode&, const dynamicCodeContext&) const;
161
162 // Return a description (type + name) for the output
163 virtual string description() const;
164
165 // Clear any redirected objects
166 virtual void clearRedirect() const;
167
168 // Get the dictionary to initialize the codeContext
169 virtual const dictionary& codeDict() const;
170
171
172public:
173
174 //- Runtime type information
175 TypeName("coded");
176
177
178 // Constructors
179
180 //- Construct from components
181 CodedSource
182 (
183 const word& name,
184 const word& modelType,
185 const dictionary& dict,
186 const fvMesh& mesh
187 );
188
189
190 // Member Functions
191

Callers 1

CodedSource.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected