76 "-I$(LIB_SRC)/finiteVolume/lnInclude \\\n" 77 "-I$(LIB_SRC)/meshTools/lnInclude \\\n" 78 "-I$(LIB_SRC)/sampling/lnInclude \\\n" 79 "-I$(LIB_SRC)/fvOptions/lnInclude \\\n" 81 +
"\n\nLIB_LIBS = \\\n" 85 +
" -lfiniteVolume \\\n" 94 return "fvOption:: " + name_;
101 redirectFvOptionPtr_.clear();
125 const word& modelType,
141 if (!redirectFvOptionPtr_.valid())
144 constructDict.
set(
"type", name_);
153 return redirectFvOptionPtr_();
166 <<
">::correct for source " << name_ <<
endl;
170 redirectFvOption().correct(field);
184 <<
">::addSup for source " << name_ <<
endl;
188 redirectFvOption().addSup(eqn, fieldi);
203 <<
">::addSup for source " << name_ <<
endl;
207 redirectFvOption().addSup(rho, eqn, fieldi);
221 <<
">::constrain for source " << name_ <<
endl;
225 redirectFvOption().constrain(eqn, fieldi);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void setMakeOptions(const std::string &content)
Define contents for Make/options.
virtual void correct(GeometricField< Type, fvPatchField, volMesh > &)
Correct field.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const dictionary & codeDict() const
Get the dictionary to initialize the codeContext.
Traits class for primitives.
virtual void clearRedirect() const
Clear any redirected objects.
Generic GeometricField class.
virtual void constrain(fvMatrix< Type > &eqn, const label fieldi)
Set value.
void addCompileFile(const fileName &name)
Add a file template name, which will be found and filtered.
virtual const wordList & codeKeys() const
Get the keywords associated with source code.
option & redirectFvOption() const
Dynamically compiled fvOption.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
virtual string description() const
Return a description (type + name) for the output.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
CodedSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
const string & libs() const
Return the code-libs.
Tools for handling dynamic code compilation.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Explicit and implicit matrix contributions.
Encapsulation of dynamic code dictionaries.
void setFilterVariable(const word &key, const std::string &value)
Define a filter variable.
const string & options() const
Return the code-options.
Mesh data needed to do the Finite Volume discretisation.
void addCopyFile(const fileName &name)
Add a file template name, which will be found and filtered.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
void set(entry *)
Assign a new entry, overwrite any existing entry.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
A class for handling character strings derived from std::string.
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...