68 "-I$(LIB_SRC)/finiteVolume/lnInclude \\\n" 69 "-I$(LIB_SRC)/meshTools/lnInclude \\\n" 70 "-I$(LIB_SRC)/sampling/lnInclude \\\n" 72 +
"\n\nLIB_LIBS = \\\n" 76 +
" -lfiniteVolume \\\n" 85 return const_cast<Time&
>(mesh_.time()).libs();
92 return "fvOption:: " + name_;
99 redirectFvOptionPtr_.clear();
116 const word& modelType,
132 if (!redirectFvOptionPtr_.valid())
135 constructDict.
set(
"type", name_);
144 return redirectFvOptionPtr_();
157 <<
">::correct for source " << name_ <<
endl;
160 updateLibrary(name_);
161 redirectFvOption().correct(field);
175 <<
">::addSup for source " << name_ <<
endl;
178 updateLibrary(name_);
179 redirectFvOption().addSup(eqn, fieldi);
194 <<
">::addSup for source " << name_ <<
endl;
197 updateLibrary(name_);
198 redirectFvOption().addSup(rho, eqn, fieldi);
212 <<
">::constrain for source " << name_ <<
endl;
215 updateLibrary(name_);
216 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.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
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.
const string & libs() const
Return the code-libs.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Traits class for primitives.
Generic GeometricField class.
virtual string description() const
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.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
const string & options() const
Return the code-options.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual void clearRedirect() const
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 dlLibraryTable & libs() const
Get the loaded dynamic libraries.
A table of dynamically loaded libraries.
CodedSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
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.
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 abtract base class. Provides a base set of controls, e.g.:
A class for handling character strings derived from std::string.
virtual const dictionary & codeDict() const
option & redirectFvOption() const
Dynamically compiled fvOption.
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...