39 const dynamicCodeContext& context
43 dynCode.setFilterVariable(
"typeName", codeName());
47 word fieldType(pTraits<Type>::typeName);
50 dynCode.setFilterVariable(
"TemplateType", fieldType);
53 fieldType[0] = toupper(fieldType[0]);
54 dynCode.setFilterVariable(
"FieldType", fieldType +
"Field");
57 dynCode.addCompileFile(codeTemplateC);
60 dynCode.addCopyFile(codeTemplateH);
66 dynCode.setFilterVariable(
"verbose",
"true");
67 Info<<
"compile " << codeName() <<
" sha1: " 68 << context.sha1() <<
endl;
72 dynCode.setMakeOptions
75 "-I$(LIB_SRC)/finiteVolume/lnInclude \\\n" 77 +
"\n\nLIB_LIBS = \\\n" 79 +
" -lfiniteVolume \\\n" 89 redirectPatchFieldPtr_.
clear();
104 redirectPatchFieldPtr_()
119 redirectPatchFieldPtr_()
133 redirectPatchFieldPtr_()
147 redirectPatchFieldPtr_()
160 redirectPatchFieldPtr_()
170 if (!redirectPatchFieldPtr_.valid())
178 redirectPatchFieldPtr_.set
183 this->internalField(),
189 return redirectPatchFieldPtr_();
A list of keyword definitions, which are a keyword followed by any number of values (e...
codedFixedValuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
commsTypes
Types of communications.
A FixedValue boundary condition for pointField.
const pointPatchField< Type > & redirectPatchField() const
Get reference to the underlying patch.
Foam::pointPatchFieldMapper.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
Macros for easy insertion into run-time selection tables.
Abstract base class for point-mesh patch fields.
Constructs on-the-fly a new boundary condition (derived from fixedValuePointPatchField) which is then...
Pre-declare SubField and related Field type.
void clear()
Clear the list, i.e. set size to zero.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
virtual void write(Ostream &) const
Write.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Basic pointPatch represents a set of points from the mesh.
Input from memory buffer stream.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string str() const
Return the string.
Output to memory buffer stream.